Commit Graph

642 Commits

Author SHA1 Message Date
Martin Preuss
b927bfdab6 gui: added dialog signals DIALOG_SIGNAL_MKCONTENT and DIALOG_SIGNAL_RMCONTENT. 2026-05-11 11:52:23 +02:00
Martin Preuss
39b3d4d174 gui: adapt to latest changes.
need to work on other MainWindow derivates next.
2026-05-11 00:42:42 +02:00
Martin Preuss
0ec290e29c gui: allow setting OPTS from r16.
this is used by the caller to specify whether standard dialog buttons are
to be added.
2026-05-11 00:42:05 +02:00
Martin Preuss
fc28a57b05 gui: define signals for dialog class, create to-be-shared code. 2026-05-11 00:41:16 +02:00
Martin Preuss
cd0d74d491 MainWindow: no longer auto-create content widget
will be called later by deriving classes upon SHOW signal to save on
SDRAM.
2026-05-11 00:40:28 +02:00
Martin Preuss
800b6d316e widget: save Z 2026-05-11 00:39:19 +02:00
Martin Preuss
85a837d9ef avr: re-enable heapCoalecseUp 2026-05-10 17:03:13 +02:00
Martin Preuss
6787b4f527 avr: use Heap_AllocAndZero 2026-05-10 17:02:53 +02:00
Martin Preuss
455b81d8eb avr: minor formatting. 2026-05-10 17:02:41 +02:00
Martin Preuss
41c947a486 DEBUG: temporarily disable heapCoalecseUp. 2026-05-09 02:03:31 +02:00
Martin Preuss
2dec641f04 gui: added comment. 2026-05-09 02:02:08 +02:00
Martin Preuss
184195ba9f gui: fixed apidoc. 2026-05-09 02:01:55 +02:00
Martin Preuss
bb753b6009 gui: comment-out code 2026-05-09 02:01:39 +02:00
Martin Preuss
d55c9b0cb7 gui: fixed some problems. 2026-05-09 02:01:11 +02:00
Martin Preuss
dad807e7ad gui: add routine to destroy objects outside event loop. 2026-05-09 02:00:41 +02:00
Martin Preuss
c165432c1c gui: fixed a bug (missing ret). 2026-05-09 02:00:06 +02:00
Martin Preuss
21b6a992ff gui: fixed ValueLabel to also use WIDGET_VALUE_CURRENTVALUE 2026-05-09 01:59:47 +02:00
Martin Preuss
35a45e5cb2 gui: fixed some bugs.
calling a dialog from another basically works now.
2026-05-09 01:58:38 +02:00
Martin Preuss
941948fc11 Revert "gui, heap: modified how the heap works."
This reverts commit abe0bef99a.
2026-05-08 22:08:58 +02:00
Martin Preuss
abe0bef99a gui, heap: modified how the heap works.
not well enough tested, yet.
2026-05-08 22:08:47 +02:00
Martin Preuss
22b3b14dfb gui: started working on connections page for light settings. 2026-05-08 22:08:06 +02:00
Martin Preuss
33c750bb34 minor reformatting. 2026-05-08 22:06:13 +02:00
Martin Preuss
781478d2d2 gui: emit signal when dialog button clicked. 2026-05-08 12:31:53 +02:00
Martin Preuss
db97cf9644 gui: removed unused code. 2026-05-08 12:21:55 +02:00
Martin Preuss
d149c5667f gui: more work on dialogs. 2026-05-08 12:20:43 +02:00
Martin Preuss
b0d9c46d87 gui: allow for style setting in parent of configured widgets. 2026-05-08 10:15:46 +02:00
Martin Preuss
67e084b856 gui: introduced base class for dialogs. 2026-05-08 10:04:25 +02:00
Martin Preuss
c746abcc0f gui: added value WIDGET_VALUE_STYLE 2026-05-08 10:03:51 +02:00
Martin Preuss
f154146b14 gui: improved style handling. 2026-05-08 10:02:34 +02:00
Martin Preuss
245181112a gui: started with dialog NodeValueId
- lets you input a node address and a value id
- needed e.g. for light settings
2026-05-08 00:31:31 +02:00
Martin Preuss
5513878b24 gui: removed CWidget_GetChildBySelector (use OBJ_GetChildBySelector). 2026-05-08 00:30:10 +02:00
Martin Preuss
31dca13123 gui: fixed HSpinner (wasn't propagating values to ValueLabel). 2026-05-08 00:29:26 +02:00
Martin Preuss
d713e774ee gui: added Widget_GetCurrentValue, Widget_GetMinValue, Widget_GetMaxValue 2026-05-08 00:29:00 +02:00
Martin Preuss
c48423b4c1 gui: added OBJ_GetChildBySelector 2026-05-08 00:28:31 +02:00
Martin Preuss
80ac3cbebd gui: added DESTROY flag. 2026-05-07 22:10:45 +02:00
Martin Preuss
8c077d2931 gui: more documentation. 2026-05-07 22:10:16 +02:00
Martin Preuss
12a701014a gui: use CWidget. 2026-05-07 22:09:55 +02:00
Martin Preuss
d1c823c11e gui: more generic approach to generating widgets from config. 2026-05-07 22:09:25 +02:00
Martin Preuss
5300e50440 gui: add routine CDialog_CreateWidgets (to be used outside CDIALOG). 2026-05-06 23:57:57 +02:00
Martin Preuss
dfeedecf22 gui: move some value definitions to WIDGET class (need to do the same for VALUE_LABEL!) 2026-05-06 23:44:04 +02:00
Martin Preuss
ce1fd901e7 gui: added configuration-based dialog
creates a dialog with widgets from a configuration stored as sequence of
bytes in flash.
2026-05-06 23:43:15 +02:00
Martin Preuss
10496a67ef gui: use TextButtons for HSpinner. 2026-05-06 17:16:50 +02:00
Martin Preuss
538bb48968 gui: added documentation 2026-05-06 17:15:48 +02:00
Martin Preuss
c7de06f812 gui: added textButton 2026-05-06 17:15:28 +02:00
Martin Preuss
4d57f15dad gui: started working on keypads. 2026-05-06 00:26:08 +02:00
Martin Preuss
636d6ce643 gui: fixed a bug. 2026-05-05 21:15:29 +02:00
Martin Preuss
8a41b156aa gui: added routines
- Widget_DrawRect
- Widget_DrawCharAt
- Widget_GetNormalColors
- Widget_GetActivatedColors
2026-05-05 21:15:03 +02:00
Martin Preuss
f98e591ca8 avr: improved apidoc. 2026-05-04 22:51:20 +02:00
Martin Preuss
596def6e10 avr: added missing build files. 2026-05-04 21:50:26 +02:00
Martin Preuss
99aae535e7 avr: added modules spi_sw, 23LC512, 25LC256 2026-05-04 21:44:55 +02:00