wheybags / freeablo

[ARCHIVED] Modern reimplementation of the Diablo 1 game engine
GNU General Public License v3.0
2.16k stars 195 forks source link

Unify mouse and arrow menus #389

Open wheybags opened 5 years ago

wheybags commented 5 years ago

There is a class (https://github.com/wheybags/freeablo/blob/master/apps/freeablo/fagui/mouseandclickmenu.cpp) for menus where you can click and arrow-key through menu items. It is currently used for npc dialogue. A similar mechanism exists in otehr places, with a separate implementation (eg main menu, pause menu). These should be unified somehow.