Commit graph

11 commits

Author SHA1 Message Date
Kazhnuz
b18c95455c core/menusystem: let the menu handle cursor drawing 2019-02-12 18:52:38 +01:00
Kazhnuz
b3febf0fb3 core/menusystem: rework focus system
Don't let every menus handle themselves if they have focus, it should be 
the menu system role to handle that
2019-02-12 18:31:32 +01:00
Kazhnuz
242c877592 core/menusystem: rename all instance of focus to haveFocus 2019-02-11 23:04:25 +01:00
Kazhnuz
28beee9c41 core/menusystem: only count click if menu is currently active 2019-02-11 22:39:18 +01:00
Kazhnuz
5920fc18dd core/menusystem: use name index instead of numeral index for menus
It makes more sense and avoid having to keep and update id of menus
2019-02-11 19:22:13 +01:00
Kazhnuz
723806510b core: integrate the menu system to the scene manager 2019-02-10 14:54:43 +01:00
Kazhnuz
c7c7e3d0a8 core/menusystem: improve wording for clearing functions 2019-02-10 14:44:04 +01:00
Kazhnuz
b1cf66add0 core/menusystem: rework "system" flags for menu 2019-02-10 14:41:27 +01:00
Kazhnuz
679abb46ec core/menusystem: rename the parent menu file 2019-02-10 12:00:02 +01:00
Kazhnuz
3cbb7a1373 core/menusystem: fuse MenuSystem and MenuController 2019-02-10 11:58:39 +01:00
Kazhnuz
6e7d75f09a core/menusystem: add initial version based on my old menusystem 2019-02-10 11:56:45 +01:00