- Added Solder Guides to the Housing

- Did some minor adjustments for better fitting
 - Added Select Value screen and initializes the infrastructure
This commit is contained in:
2025-09-19 17:16:35 +02:00
parent c8f14373d3
commit 90bca063e6
9 changed files with 258 additions and 47 deletions

View File

@@ -23,9 +23,9 @@
// ============================================================================================
// Forward declarations
typedef struct Menu_Item_S Menu_Item;
typedef struct Menu_List_S Menu_List;
typedef struct Hierarchical_Menu_S Hierarchical_Menu;
typedef struct Menu_Item_s Menu_Item;
typedef struct Menu_List_s Menu_List;
typedef struct Hierarchical_Menu_s Hierarchical_Menu;
// ============================================================================================
@@ -33,10 +33,18 @@ typedef struct Hierarchical_Menu_S Hierarchical_Menu;
typedef enum {
NONE,
BOOL,
RGB
RGB,
VALUE
} Variable_Type;
typedef struct Menu_Item_S {
typedef struct {
int32_t Min;
int32_t Max;
char* Format;
} Menu_Configuration_Select_Value;
typedef struct Menu_Item_s {
const char* Text;
const Menu_List* List;
const bool Is_Back;
@@ -45,9 +53,10 @@ typedef struct Menu_Item_S {
const Variable_Type Type;
const char* Variable_Title;
const void* Variable;
const void* Configuration;
} Menu_Item;
typedef struct Menu_List_S {
typedef struct Menu_List_s {
const char* Title;
const Menu_Item* Items;
const uint32_t Item_Count;
@@ -55,7 +64,7 @@ typedef struct Menu_List_S {
const Hierarchical_Menu* Root;
} Menu_List;
typedef struct Hierarchical_Menu_S {
typedef struct Hierarchical_Menu_s {
const Menu_List* List;
const void (*Parent_Function)(Screen_Transition_Direction, Screen_Transition_Direction, Easing, uint32_t, int32_t);
const int32_t Parent_Selected_Setting;