Scroll wheel support

- All areas with scroll wheels can be scrolled using the scroll wheel if the mouse is in the area
- In addition, the terrain view is scrollable with the scroll wheel (hold Control for horizontal scrolling)
- The above applies in the game too, whenever the scroll arrows are visible
This commit is contained in:
2015-06-04 23:51:44 -04:00
parent 80f95ba9ae
commit dd589001c6
12 changed files with 77 additions and 10 deletions

View File

@@ -16,7 +16,6 @@ extern rectangle right_sbar_rect;
rectangle left_button[NLS];
extern rectangle right_buttons[NRSONPAGE];
rectangle right_scrollbar_rect;
rectangle right_area_rect;
extern short current_rs_top;
bool left_buttons_active = 1,right_buttons_active = 0;