Updated X10 generated structs
This commit is contained in:
@@ -33,7 +33,14 @@ constexpr uint32_t LAYOUT_REFRESH = 1000 / 2; // 2 Hz
|
||||
|
||||
class BitmapBuffer;
|
||||
|
||||
#if !defined(YAML_GENERATOR)
|
||||
typedef WidgetsContainerPersistentData<MAX_LAYOUT_ZONES,MAX_LAYOUT_OPTIONS> LayoutPersistentData;
|
||||
#else
|
||||
struct LayoutPersistentData {
|
||||
ZonePersistentData zones[MAX_LAYOUT_ZONES];
|
||||
ZoneOptionValueTyped options[MAX_LAYOUT_OPTIONS];
|
||||
};
|
||||
#endif
|
||||
|
||||
class LayoutFactory
|
||||
{
|
||||
|
||||
@@ -67,7 +67,14 @@ struct WidgetsContainerPersistentData {
|
||||
ZoneOptionValueTyped options[O];
|
||||
};
|
||||
|
||||
#if !defined(YAML_GENERATOR)
|
||||
typedef WidgetsContainerPersistentData<MAX_TOPBAR_ZONES, MAX_TOPBAR_OPTIONS> TopBarPersistentData;
|
||||
#else
|
||||
struct TopBarPersistentData {
|
||||
ZonePersistentData zones[MAX_TOPBAR_ZONES];
|
||||
ZoneOptionValueTyped options[MAX_TOPBAR_OPTIONS];
|
||||
};
|
||||
#endif
|
||||
|
||||
class WidgetsContainer: public FormGroup
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user