Commit graph

17 commits

Author SHA1 Message Date
Kazhnuz
cad0cbc071 core/menusystem: update widgets id each time a new widget is added 2019-02-13 18:41:16 +01:00
Kazhnuz
b18c95455c core/menusystem: let the menu handle cursor drawing 2019-02-12 18:52:38 +01:00
Kazhnuz
a1f7995b13 core/menusystem: stop inverting w and h when returning widget size 2019-02-12 18:48:51 +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
5c2792c9f4 core/menusystem: remove canvas use from menu itself 2019-02-11 22:37:20 +01:00
Kazhnuz
db74b15d78 core/menusystem: don't use the variable "controller" for menus 2019-02-11 19:53:34 +01:00
Kazhnuz
dbfe4747f9 core/menusystem: use the right function name 2019-02-11 19:44:23 +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
464a1309c2 core/menusystem: make menu register themselves 2019-02-10 21:14:31 +01:00
Kazhnuz
e9d01d1e65 core/menusystem: add a function to update widget size 2019-02-10 21:05:31 +01:00
Kazhnuz
b417eb5c6a core/menusystem: fix a crash 2019-02-10 20:00:48 +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
bf77a06741 core/menusystem: new size variable for widget handling 2019-02-10 14:34:04 +01:00
Kazhnuz
9d413db186 core/menusystem: remove unused variable 2019-02-10 12:11:24 +01:00
Kazhnuz
db1a219336 core/menusystem: rename widget variables in the parent 2019-02-10 12:10:46 +01:00
Kazhnuz
679abb46ec core/menusystem: rename the parent menu file 2019-02-10 12:00:02 +01:00
Renamed from sonic-boost.love/core/modules/menusystem/menu.lua (Browse further)