Commit graph

23 commits

Author SHA1 Message Date
Kazhnuz
0c3f4a10f0 core/menusystem: make the grid system use free widget placement
It'll make it way more easy to use and maintain compared to the old 
"parent/children" system, and will be more flexible.
2019-02-14 18:32:52 +01:00
Kazhnuz
fed4f6f598 core/menusystem: initial work on cursor moving 2019-02-13 22:11:04 +01:00
Kazhnuz
92bea8c2cd core/menusystem: add cursor in gridbox 2019-02-13 19:47:00 +01:00
Kazhnuz
864c1c31a3 core/menusystem: fix widget size in gridbox 2019-02-13 19:07:44 +01:00
Kazhnuz
70853353bb core/menusystem: fix a crash 2019-02-13 18:51:10 +01:00
Kazhnuz
88701f5e44 core/menusystem: add the view table to GridBox 2019-02-13 18:50:06 +01:00
Kazhnuz
6fb00518bb core/menusystem: add the getWidgetSize function to GridBox 2019-02-13 18:35:13 +01:00
Kazhnuz
8c53f69663 core/menusystem: use a more logical naming scheme for variables in grids 2019-02-13 18:25:41 +01:00
Kazhnuz
80bd57c4fe core/menusystem: rename isSlave to isChild 2019-02-13 17:10:57 +01:00
Kazhnuz
2aac02c223 core/menusystem: fix namespacing errors 2019-02-12 19:27:02 +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
44bf09aa88 core/menusystem: declare slots variables before calling the parent new() 2019-02-11 20:04:24 +01:00
Kazhnuz
caa0e86e12 core/menusystem: fix a glitch in GridBox 2019-02-11 19:56:36 +01:00
Kazhnuz
db74b15d78 core/menusystem: don't use the variable "controller" for menus 2019-02-11 19:53:34 +01:00
Kazhnuz
2e0503f75a core/menusystem: add a forgotten comma 2019-02-11 19:43:49 +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
bf77a06741 core/menusystem: new size variable for widget handling 2019-02-10 14:34:04 +01:00
Kazhnuz
05c8691c56 core/menusystem: port everything to new widget var names 2019-02-10 14:28:08 +01:00
Kazhnuz
679abb46ec core/menusystem: rename the parent menu file 2019-02-10 12:00:02 +01:00
Kazhnuz
6e7d75f09a core/menusystem: add initial version based on my old menusystem 2019-02-10 11:56:45 +01:00