Kazhnuz
|
ded24ede27
|
core/menusystem: put the view update in its own function
|
2019-02-13 18:04:27 +01:00 |
|
Kazhnuz
|
0a4d57e46b
|
core/menusystem: make cursor position relative to first element
|
2019-02-13 17:51:05 +01:00 |
|
Kazhnuz
|
f2b520e2b3
|
core/menusystem: improve view variables names
|
2019-02-13 17:44:59 +01:00 |
|
Kazhnuz
|
d352987aca
|
scenes/test: test menu overflow
|
2019-02-13 17:13:54 +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
|
997a66e901
|
core/menusystem: don't draw cursor and allow selection when it overflow
|
2019-02-12 18:58:26 +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
|
434b5e6865
|
core/menusystem: place the cursor drawing script in a separate file
|
2019-02-12 18:35:52 +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
|
c4ce0f5c5d
|
core/menusystem: don't update cursor position when hovering no widget
|
2019-02-12 18:15:17 +01:00 |
|
Kazhnuz
|
902dfa0d95
|
scenes/test: test a second menu
|
2019-02-12 18:05:50 +01:00 |
|
Kazhnuz
|
242c877592
|
core/menusystem: rename all instance of focus to haveFocus
|
2019-02-11 23:04:25 +01:00 |
|
Kazhnuz
|
a8965a8945
|
scenes/test: floor the second counter
|
2019-02-11 22:41:19 +01:00 |
|
Kazhnuz
|
96e095759b
|
scenes/test: use a more neutral and readable color for background
|
2019-02-11 22:40:44 +01:00 |
|
Kazhnuz
|
28beee9c41
|
core/menusystem: only count click if menu is currently active
|
2019-02-11 22:39:18 +01:00 |
|
Kazhnuz
|
205de52345
|
core/menusystem: rework default Widget
|
2019-02-11 22:37:48 +01:00 |
|
Kazhnuz
|
5c2792c9f4
|
core/menusystem: remove canvas use from menu itself
|
2019-02-11 22:37:20 +01:00 |
|
Kazhnuz
|
327448d22f
|
core: draw automaticall the menusystem over the scene
|
2019-02-11 22:36:34 +01:00 |
|
Kazhnuz
|
7bdc31450b
|
scenes/test: test the menu system
|
2019-02-11 22:36:04 +01:00 |
|
Kazhnuz
|
c8c0304849
|
scenes/boost: basic update of the pause menu to the new menusystem
|
2019-02-11 20:34:25 +01:00 |
|
Kazhnuz
|
44bf09aa88
|
core/menusystem: declare slots variables before calling the parent new()
|
2019-02-11 20:04:24 +01:00 |
|
Kazhnuz
|
e3cc372340
|
core/menusystem: fix same glitch in floxbox and listbox
|
2019-02-11 19:59:13 +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
|
dbfe4747f9
|
core/menusystem: use the right function name
|
2019-02-11 19:44:23 +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
|
1dfb2a1f70
|
core/menusystem: make widget register themselves
|
2019-02-10 21:12:33 +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
|
648ede5874
|
scene/boost: reactivate the pause menu
|
2019-02-10 20:00:37 +01:00 |
|
Kazhnuz
|
723806510b
|
core: integrate the menu system to the scene manager
|
2019-02-10 14:54:43 +01:00 |
|
Kazhnuz
|
8553188a3e
|
src/main: call core:mousepressed in love.mousepressed
|
2019-02-10 14:52:38 +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
|
05c8691c56
|
core/menusystem: port everything to new widget var names
|
2019-02-10 14:28:08 +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 |
|
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 |
|
Kazhnuz
|
8dda622021
|
locations: rename Graphit Base to Graphit Mechanics
|
2019-02-10 11:41:30 +01:00 |
|
Kazhnuz
|
90538d5a01
|
scenes/boost: some styling fix
|
2019-02-06 07:51:20 +01:00 |
|
Kazhnuz
|
f7582fbe16
|
scenes/boost: rework entirely the relative position system
|
2019-02-05 22:37:10 +01:00 |
|
Kazhnuz
|
1506701559
|
scenes/boost: better dashCam timer
|
2019-02-04 23:23:49 +01:00 |
|
Kazhnuz
|
0172f131de
|
scenes/boost: add a jump dash
|
2019-02-04 23:19:13 +01:00 |
|