diff options
author | Darkvater <Darkvater@openttd.org> | 2005-04-07 00:59:54 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2005-04-07 00:59:54 +0000 |
commit | 34811a332e940d1f214de76141f69f72dcbf5af0 (patch) | |
tree | e0db387aa35ff5dee722b1621502fa8ed7b85a00 /window.c | |
parent | 39c4c70c68c510f4de293880fbda0ceac2fcbcef (diff) | |
download | openttd-34811a332e940d1f214de76141f69f72dcbf5af0.tar.xz |
(svn r2161) - Fix: When resizing a window, the button is also visibly depressed
- CodeChange: Use images as arrows in the scenario-date scroller, looks better
- Feature: Clicked buttons with images/text now visibly depress their contents when pressed (eg it really seems like the button is moving)
- Fix: Fix sprite offsets of the arrow sprites in openttd.grf
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1005,6 +1005,7 @@ static bool HandleWindowDragging(void) /* Stop the sizing if the left mouse button was released */ if (!_left_button_down) { w->flags4 &= ~WF_SIZING; + SetWindowDirty(w); break; } @@ -1111,6 +1112,7 @@ Window *StartWindowSizing(Window *w) w = BringWindowToFront(w); DeleteWindowById(WC_DROPDOWN_MENU, 0); + SetWindowDirty(w); return w; } |