Document djui_panel_menu.h (65.17%)

This commit is contained in:
Agent X 2024-12-16 20:26:43 -05:00
parent faceaa684a
commit 116d9808d2
3 changed files with 5 additions and 0 deletions

View file

@ -3946,6 +3946,7 @@ end
--- @param color DjuiRainbowColor
--- @return string
--- Gets the header hex color code from a `DJUI_RAINBOW_COLOR_*` constant
function djui_menu_get_rainbow_string_color(color)
-- ...
end

View file

@ -3368,6 +3368,9 @@ Gets a language `key` from a `section`
## [djui_menu_get_rainbow_string_color](#djui_menu_get_rainbow_string_color)
### Description
Gets the header hex color code from a `DJUI_RAINBOW_COLOR_*` constant
### Lua Example
`local stringValue = djui_menu_get_rainbow_string_color(color)`

View file

@ -8,6 +8,7 @@ enum DjuiRainbowColor {
DJUI_RAINBOW_COLOR_YELLOW
};
/* |description|Gets the header hex color code from a `DJUI_RAINBOW_COLOR_*` constant|descriptionEnd| */
char* djui_menu_get_rainbow_string_color(enum DjuiRainbowColor color);
void djui_panel_menu_back(struct DjuiBase* base);
struct DjuiThreePanel* djui_panel_menu_create(char* headerText, bool forcedLeftSide);