mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Document djui_panel_menu.h (65.17%)
This commit is contained in:
parent
faceaa684a
commit
116d9808d2
3 changed files with 5 additions and 0 deletions
|
|
@ -3946,6 +3946,7 @@ end
|
||||||
|
|
||||||
--- @param color DjuiRainbowColor
|
--- @param color DjuiRainbowColor
|
||||||
--- @return string
|
--- @return string
|
||||||
|
--- Gets the header hex color code from a `DJUI_RAINBOW_COLOR_*` constant
|
||||||
function djui_menu_get_rainbow_string_color(color)
|
function djui_menu_get_rainbow_string_color(color)
|
||||||
-- ...
|
-- ...
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -3368,6 +3368,9 @@ Gets a language `key` from a `section`
|
||||||
|
|
||||||
## [djui_menu_get_rainbow_string_color](#djui_menu_get_rainbow_string_color)
|
## [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
|
### Lua Example
|
||||||
`local stringValue = djui_menu_get_rainbow_string_color(color)`
|
`local stringValue = djui_menu_get_rainbow_string_color(color)`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ enum DjuiRainbowColor {
|
||||||
DJUI_RAINBOW_COLOR_YELLOW
|
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);
|
char* djui_menu_get_rainbow_string_color(enum DjuiRainbowColor color);
|
||||||
void djui_panel_menu_back(struct DjuiBase* base);
|
void djui_panel_menu_back(struct DjuiBase* base);
|
||||||
struct DjuiThreePanel* djui_panel_menu_create(char* headerText, bool forcedLeftSide);
|
struct DjuiThreePanel* djui_panel_menu_create(char* headerText, bool forcedLeftSide);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue