Commit Graph

16 Commits

Author SHA1 Message Date
4b7e5723ca
Fixed small issue in an old call to time.sleep() which has been replaced by sleep() since a long time 2024-11-15 22:28:35 +01:00
fdef354be9
Updated the error message changed previously 2024-11-13 20:33:24 +01:00
a45cd6e90d
Made error messages clearer 2024-11-13 18:30:23 +01:00
64ce12f78b
Added quitting a menu functionality (actually quitting the run()'s infinite internal loop) 2024-11-12 22:15:15 +01:00
974229f4b2
Added a small check for empty menu item lists (which make no sense) 2024-11-12 21:52:05 +01:00
10562d6410
Fixed small bug of lcdMenu not resuming to the menu after execution of a item in case of no return (of the callback) 2024-11-12 21:28:11 +01:00
81fb57e2bf
Finally fully implemented the vertical scrolling; also, added more comments to the program for better understandability 2024-11-12 21:26:34 +01:00
fa97cc022b Fixed small issue in the execution process (no refresh of display after callback function return) 2024-11-01 21:12:14 +00:00
da4b738b45 [__init__.py] Made a comment better understandable 2024-11-01 20:54:54 +00:00
c5b66e707b [__init__.py] Implemented the first part of show_selection for vertical scrolling
Views for all selections [with vertical scrolling] have been implemented, where enough items come after the current selection to fill all lines available for menu items. The other parts remains a ToDo for now
2024-11-01 20:51:49 +00:00
2c1f0c34f6 Fixed small issue in the selection start message; implemented show_selection for horizontal scrollin 2024-11-01 16:38:37 +00:00
4ad714fa83 Implemented the execute_selection and the run method, along with a new loop method
The new loop method allows for more advanced usages (e.g. when you want to use the cpu core for more than just the stupid while True, listen for btn presses procedure but also invoke other commands from time to time - then you can implement your 'own' run procedure!)
2024-11-01 16:30:41 +00:00
76cd7afa8b Added implementation of previous_selection and next_selection handlers 2024-10-31 21:03:48 +00:00
ecd7218230 Added the methods and raw structure of the class to __init__.py 2024-10-31 20:11:12 +00:00
df318da444 Update __init__.py 2024-10-31 17:24:46 +00:00
b23da85b7d Added __init__.py with boilerplate things done 2024-10-31 17:23:28 +00:00