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

@@ -14,6 +14,7 @@ bool someone_awake();
void handle_menu_spell(short spell_picked,short spell_type) ;
void initiate_outdoor_combat(short i);
bool handle_keystroke(sf::Event& event);
bool handle_scroll(sf::Event& event);
void do_load();
void post_load();
void do_save(short mode);