Ridotta di 1 pizzel barra righello superiore per evitare trasporti
in scrolling git-svn-id: svn://10.65.10.50/trunk@2499 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b073fd9a0a
commit
fa2a5752f0
@ -534,7 +534,7 @@ void TViswin::shift_screen(scroll dir)
|
|||||||
{
|
{
|
||||||
case up:
|
case up:
|
||||||
case down:
|
case down:
|
||||||
xvt_rect_set(&r, 0, taby(Y_OFFSET)/*+2*/,
|
xvt_rect_set(&r, 0, taby(Y_OFFSET)/*+1*/,
|
||||||
tabx(int(_textcolumns) + X_OFFSET), taby(int(_textrows) + Y_OFFSET));
|
tabx(int(_textcolumns) + X_OFFSET), taby(int(_textrows) + Y_OFFSET));
|
||||||
xvt_dwin_scroll_rect (win(), &r, 0, dir == down ? taby(1) : -taby(1));
|
xvt_dwin_scroll_rect (win(), &r, 0, dir == down ? taby(1) : -taby(1));
|
||||||
paint_row (dir == up ? origin ().y + _textrows - 1 : origin ().y);
|
paint_row (dir == up ? origin ().y + _textrows - 1 : origin ().y);
|
||||||
@ -1107,7 +1107,7 @@ void TViswin::paint_header ()
|
|||||||
{
|
{
|
||||||
htmpst.format ("%d", i);
|
htmpst.format ("%d", i);
|
||||||
htmpst.right_just (10, '.');
|
htmpst.right_just (10, '.');
|
||||||
xvt_dwin_draw_text(win(), tabx(i*10 - 4 - int(origin().x)), BASEY,
|
xvt_dwin_draw_text(win(), tabx(i*10 - 4 - int(origin().x)), BASEY-1,
|
||||||
(char*)(const char*)htmpst, 10);
|
(char*)(const char*)htmpst, 10);
|
||||||
}
|
}
|
||||||
autoscroll (FALSE);
|
autoscroll (FALSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user