Commit Graph

18 Commits

Author SHA1 Message Date
Hersi 1c82b44e34 continue refactoring 2024-02-02 02:27:05 +01:00
Hersi a221620125 refactor titlescreen directory structure 2022-07-12 01:43:14 +02:00
Hersi 6749cb2a1c introduced PageManager
which made it pretty to get page instances (ewww '.__name')
from now page implementations use the PageManager to get page instances
SplashPage fading improvements
TitlePage implementation
replace viewHandler calls from page implementations with 'self:onInvalidation()'
fixed ListField focus implementation
fixed SelfTestField crash
MainMenuPage and subpages implementation
2022-06-29 00:35:52 +02:00
Hersi 4feb6a8645 page management code refactor 2022-04-27 12:29:54 +02:00
Hersi 9937f56a4d new() doesn't need to be a class method 2022-04-27 02:40:22 +02:00
Hersi f44ba3743b tldr; bootpage initial implementation, fixes for page management code
added supporting functions for BootPage
removed init() from classes, it was stupid to begin with
handleButtonInput() and handleKnobInput no longer optional
added callback member to SelfTestField
placement position value fixes
use gfx.Translate instead of explicitly setting off-origin x,y values
added MARGIN and PADDING calculations to fields
removed unnecessary gfx.BeginPath() calls
2022-04-15 04:54:47 +02:00
Hersi 556bb9048d help me, god, why have you forsaken me
renamed linkfield to servicelinkdfield to differentiate between the two
modified Inherit() to accept multiple base classes
applied code format (oh god, oh f*ck, all the changed lines)
handleScreenResponse now doesn't crash when nil is passed
added boot screen module to titlescreen.lua
added a utility function to cycle indexes
added a containerfield (biggest brain addition)
refactored how class construction is implemented (declare it a class at the end of the constructor, this way the default values are correctly imparted)
added init() to the Field class
added a getParentPage() to the Field class, for easy nav handling
added offsets and bounding box size variables to the Field class
the Field class will now scissor itself into it's bounding box
LinkField now has clearer logs
added init() to the Page class
added skeleton field classes for boot page
2022-04-11 18:47:26 +02:00
Hersi 2f034c99c1 add page getter to PageView
removed unnecessary comments from service.lua
2022-04-05 23:55:50 +02:00
Hersi d3853485f8 fix module paths 2022-04-05 17:31:02 +02:00
Hersi c366753c36 refactored directory structure 2022-04-05 17:17:25 +02:00
Hersi 6e42ccafc6 Added MainMenuPage
Added LinkField and LinkServiceField
Added state handling functions to Field
Added Page refreshFields to ServicePage
2022-04-03 19:51:56 +02:00
Hersi 515d3aa54a added InputCheckPage
added ServiceField class and derived classes
removed redundant function from Field
added a replace method to pageview
2022-04-03 04:59:43 +02:00
Hersi b1649fa80f BEEEG "reimplementation" of service screen
new pager/page management library
2022-04-03 01:35:41 +02:00
Hersi 9dffa1332a start revamping service screen structure
implemented some generic drawing functions
also removed that god damned ";" endings from everywhere, this is lua, not C
2022-03-29 04:29:28 +02:00
Hersi edcb7b8407 auto-formatting 2022-03-12 15:18:41 +01:00
Hersi af71838493 added skipIntro skin setting
moved json.lua into common
renamed common.lua to util.lua
moved stopMusic() into common/sound.lua
moved numbers.lua into components
removed unused shared directory
removed unused settingswheel.lua
2022-03-04 04:06:19 +01:00
FajsiEx f7b6a0c0e9 + better dummy service menu items & + children, color and 'back' type support 2021-12-20 01:34:41 +01:00
FajsiEx bd967aeef1 + service menu 2021-12-20 00:39:38 +01:00