equal
deleted
inserted
replaced
214 RedrawScreenRect(left, top + height + yo, width+left, top + height); |
214 RedrawScreenRect(left, top + height + yo, width+left, top + height); |
215 } |
215 } |
216 } |
216 } |
217 } |
217 } |
218 |
218 |
219 void SetViewportPosition(Window *w, int x, int y) |
219 static void SetViewportPosition(Window* w, int x, int y) |
220 { |
220 { |
221 ViewPort *vp = w->viewport; |
221 ViewPort *vp = w->viewport; |
222 int old_left = vp->virtual_left; |
222 int old_left = vp->virtual_left; |
223 int old_top = vp->virtual_top; |
223 int old_top = vp->virtual_top; |
224 int i; |
224 int i; |
1937 _thd.selstart.x = TileX(from) * 16; |
1937 _thd.selstart.x = TileX(from) * 16; |
1938 _thd.selstart.y = TileY(from) * 16; |
1938 _thd.selstart.y = TileY(from) * 16; |
1939 _thd.next_drawstyle = HT_RECT; |
1939 _thd.next_drawstyle = HT_RECT; |
1940 } |
1940 } |
1941 |
1941 |
1942 void VpStartPreSizing(void) |
1942 static void VpStartPreSizing(void) |
1943 { |
1943 { |
1944 _thd.selend.x = -1; |
1944 _thd.selend.x = -1; |
1945 _special_mouse_mode = WSM_PRESIZE; |
1945 _special_mouse_mode = WSM_PRESIZE; |
1946 } |
1946 } |
1947 |
1947 |