update text color descriptions

This commit is contained in:
PeachyPeachSM64 2026-03-31 18:51:13 +02:00
parent 0df426fdd3
commit 22975165b0
3 changed files with 18 additions and 18 deletions

View file

@ -3837,7 +3837,7 @@ function djui_hud_set_font(fontType)
end
--- @return DjuiColor
--- Gets the current DJUI HUD color
--- Gets the current DJUI HUD global color
function djui_hud_get_color()
-- ...
end
@ -3846,18 +3846,18 @@ end
--- @param g integer
--- @param b integer
--- @param a integer
--- Sets the current DJUI HUD color
--- Sets the current DJUI HUD global color
function djui_hud_set_color(r, g, b, a)
-- ...
end
--- Resets the current DJUI HUD color
--- Resets the current DJUI HUD global color
function djui_hud_reset_color()
-- ...
end
--- @return DjuiColor
--- Gets the current DJUI HUD text default color
--- Gets the current DJUI HUD text default color. This color is overridden by color codes
function djui_hud_get_text_color()
-- ...
end
@ -3866,12 +3866,12 @@ end
--- @param g integer
--- @param b integer
--- @param a integer
--- Sets the current DJUI HUD text default color
--- Sets the current DJUI HUD text default color. This color is overridden by color codes
function djui_hud_set_text_color(r, g, b, a)
-- ...
end
--- Resets the current DJUI HUD text default color
--- Resets the current DJUI HUD text default color. This color is overridden by color codes
function djui_hud_reset_text_color()
-- ...
end

View file

@ -2858,7 +2858,7 @@ Sets the current DJUI HUD font
## [djui_hud_get_color](#djui_hud_get_color)
### Description
Gets the current DJUI HUD color
Gets the current DJUI HUD global color
### Lua Example
`local djuiColorValue = djui_hud_get_color()`
@ -2879,7 +2879,7 @@ Gets the current DJUI HUD color
## [djui_hud_set_color](#djui_hud_set_color)
### Description
Sets the current DJUI HUD color
Sets the current DJUI HUD global color
### Lua Example
`djui_hud_set_color(r, g, b, a)`
@ -2905,7 +2905,7 @@ Sets the current DJUI HUD color
## [djui_hud_reset_color](#djui_hud_reset_color)
### Description
Resets the current DJUI HUD color
Resets the current DJUI HUD global color
### Lua Example
`djui_hud_reset_color()`
@ -2926,7 +2926,7 @@ Resets the current DJUI HUD color
## [djui_hud_get_text_color](#djui_hud_get_text_color)
### Description
Gets the current DJUI HUD text default color
Gets the current DJUI HUD text default color. This color is overridden by color codes
### Lua Example
`local djuiColorValue = djui_hud_get_text_color()`
@ -2947,7 +2947,7 @@ Gets the current DJUI HUD text default color
## [djui_hud_set_text_color](#djui_hud_set_text_color)
### Description
Sets the current DJUI HUD text default color
Sets the current DJUI HUD text default color. This color is overridden by color codes
### Lua Example
`djui_hud_set_text_color(r, g, b, a)`
@ -2973,7 +2973,7 @@ Sets the current DJUI HUD text default color
## [djui_hud_reset_text_color](#djui_hud_reset_text_color)
### Description
Resets the current DJUI HUD text default color
Resets the current DJUI HUD text default color. This color is overridden by color codes
### Lua Example
`djui_hud_reset_text_color()`

View file

@ -76,17 +76,17 @@ void djui_hud_set_filter(enum HudUtilsFilter filterType);
s8 djui_hud_get_font(void);
/* |description|Sets the current DJUI HUD font|descriptionEnd| */
void djui_hud_set_font(s8 fontType);
/* |description|Gets the current DJUI HUD color|descriptionEnd| */
/* |description|Gets the current DJUI HUD global color|descriptionEnd| */
struct DjuiColor* djui_hud_get_color(void);
/* |description|Sets the current DJUI HUD color|descriptionEnd| */
/* |description|Sets the current DJUI HUD global color|descriptionEnd| */
void djui_hud_set_color(u8 r, u8 g, u8 b, u8 a);
/* |description|Resets the current DJUI HUD color|descriptionEnd| */
/* |description|Resets the current DJUI HUD global color|descriptionEnd| */
void djui_hud_reset_color(void);
/* |description|Gets the current DJUI HUD text default color|descriptionEnd| */
/* |description|Gets the current DJUI HUD text default color. This color is overridden by color codes|descriptionEnd| */
struct DjuiColor* djui_hud_get_text_color(void);
/* |description|Sets the current DJUI HUD text default color|descriptionEnd| */
/* |description|Sets the current DJUI HUD text default color. This color is overridden by color codes|descriptionEnd| */
void djui_hud_set_text_color(u8 r, u8 g, u8 b, u8 a);
/* |description|Resets the current DJUI HUD text default color|descriptionEnd| */
/* |description|Resets the current DJUI HUD text default color. This color is overridden by color codes|descriptionEnd| */
void djui_hud_reset_text_color(void);
/* |description|Gets the current DJUI HUD rotation|descriptionEnd| */
void djui_hud_get_rotation(RET s16 *rotation, RET f32 *pivotX, RET f32 *pivotY);