From b40c8d6820845d9f671383952800946fb887d9d9 Mon Sep 17 00:00:00 2001 From: villa Date: Wed, 24 Aug 1994 10:13:24 +0000 Subject: [PATCH] Corrette porquerolles viswin: bottoni doppi al resize e errore in git-svn-id: svn://10.65.10.50/trunk@56 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/viswin.cpp | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/include/viswin.cpp b/include/viswin.cpp index 358d9155e..b72a6ab21 100755 --- a/include/viswin.cpp +++ b/include/viswin.cpp @@ -730,8 +730,7 @@ void TViswin::paint_selection () } } -void TViswin :: -paint_waitbar (bool xor) +void TViswin::paint_waitbar (bool xor) { #if XVT_OS == XVT_OS_WIN static int pic; @@ -1189,7 +1188,7 @@ void TViswin::handler (WINDOW win, EVENT * ep) origin ().x - _textcolumns + 1 : 0; _point.x = new_origin + kdiff; check_link (); - update_thumb (new_origin, _point.x); + update_thumb(new_origin, _point.y); _need_update = TRUE; update (); // AAAARGH! @@ -1456,7 +1455,7 @@ on_key (KEY key) _curbut--; break; case K_SPACE: - case K_SHIFT_ENTER: + case K_CTRL_ENTER: if (_linkID != -1) { LINKHANDLER pl = MainApp ()->printer ().getlinkhandler (); @@ -1534,28 +1533,28 @@ on_key (KEY key) switch (key) { case K_PREV: - dispatch_e_scroll (win (), K_PREV); + dispatch_e_scroll (win(), K_PREV); break; case K_NEXT: - dispatch_e_scroll (win (), K_NEXT); + dispatch_e_scroll (win(), K_NEXT); break; case K_WRIGHT: - dispatch_e_scroll (win (), K_BTAB); + dispatch_e_scroll (win(), K_BTAB); break; case K_WLEFT: - dispatch_e_scroll (win (), K_TAB); + dispatch_e_scroll (win(), K_TAB); break; case K_CTRL_UP: - dispatch_e_scroll (win (), K_UP); + dispatch_e_scroll (win(), K_UP); break; case K_CTRL_DOWN: - dispatch_e_scroll (win (), K_DOWN); + dispatch_e_scroll (win(), K_DOWN); break; case K_ALT_LEFT: - dispatch_e_scroll (win (), K_LEFT); + dispatch_e_scroll (win(), K_LEFT); break; case K_ALT_RIGHT: - dispatch_e_scroll (win (), K_RIGHT); + dispatch_e_scroll (win(), K_RIGHT); break; case K_UP: case K_SHIFT_UP: