Corrette porquerolles viswin: bottoni doppi al resize e errore in <page left>

git-svn-id: svn://10.65.10.50/trunk@56 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1994-08-24 10:13:24 +00:00
parent 687ba39c52
commit b40c8d6820

View File

@ -730,8 +730,7 @@ void TViswin::paint_selection ()
} }
} }
void TViswin :: void TViswin::paint_waitbar (bool xor)
paint_waitbar (bool xor)
{ {
#if XVT_OS == XVT_OS_WIN #if XVT_OS == XVT_OS_WIN
static int pic; static int pic;
@ -1189,7 +1188,7 @@ void TViswin::handler (WINDOW win, EVENT * ep)
origin ().x - _textcolumns + 1 : 0; origin ().x - _textcolumns + 1 : 0;
_point.x = new_origin + kdiff; _point.x = new_origin + kdiff;
check_link (); check_link ();
update_thumb (new_origin, _point.x); update_thumb(new_origin, _point.y);
_need_update = TRUE; _need_update = TRUE;
update (); // AAAARGH! update (); // AAAARGH!
@ -1456,7 +1455,7 @@ on_key (KEY key)
_curbut--; _curbut--;
break; break;
case K_SPACE: case K_SPACE:
case K_SHIFT_ENTER: case K_CTRL_ENTER:
if (_linkID != -1) if (_linkID != -1)
{ {
LINKHANDLER pl = MainApp ()->printer ().getlinkhandler (); LINKHANDLER pl = MainApp ()->printer ().getlinkhandler ();
@ -1534,28 +1533,28 @@ on_key (KEY key)
switch (key) switch (key)
{ {
case K_PREV: case K_PREV:
dispatch_e_scroll (win (), K_PREV); dispatch_e_scroll (win(), K_PREV);
break; break;
case K_NEXT: case K_NEXT:
dispatch_e_scroll (win (), K_NEXT); dispatch_e_scroll (win(), K_NEXT);
break; break;
case K_WRIGHT: case K_WRIGHT:
dispatch_e_scroll (win (), K_BTAB); dispatch_e_scroll (win(), K_BTAB);
break; break;
case K_WLEFT: case K_WLEFT:
dispatch_e_scroll (win (), K_TAB); dispatch_e_scroll (win(), K_TAB);
break; break;
case K_CTRL_UP: case K_CTRL_UP:
dispatch_e_scroll (win (), K_UP); dispatch_e_scroll (win(), K_UP);
break; break;
case K_CTRL_DOWN: case K_CTRL_DOWN:
dispatch_e_scroll (win (), K_DOWN); dispatch_e_scroll (win(), K_DOWN);
break; break;
case K_ALT_LEFT: case K_ALT_LEFT:
dispatch_e_scroll (win (), K_LEFT); dispatch_e_scroll (win(), K_LEFT);
break; break;
case K_ALT_RIGHT: case K_ALT_RIGHT:
dispatch_e_scroll (win (), K_RIGHT); dispatch_e_scroll (win(), K_RIGHT);
break; break;
case K_UP: case K_UP:
case K_SHIFT_UP: case K_SHIFT_UP: