- ConvertHSVtoRGB
Vector3 ConvertHSVtoRGB(Vector3 hsv)
Undocumented in source.
- ConvertHSVtoRGB
Vector3 ConvertHSVtoRGB(Vector3 hsv)
Undocumented in source.
- ConvertRGBtoHSV
Vector3 ConvertRGBtoHSV(Vector3 rgb)
Undocumented in source.
- ConvertRGBtoHSV
Vector3 ConvertRGBtoHSV(Vector3 rgb)
Undocumented in source.
- GetTextIcon
string GetTextIcon(string text, int iconId)
Get text icon if provided and move text cursor
- GuiButton
bool GuiButton(Rectangle bounds, string text)
Button control, returns true when clicked
- GuiCheckBox
bool GuiCheckBox(Rectangle bounds, string text, bool checked)
Check Box control, returns true when active
- GuiColorBarAlpha
float GuiColorBarAlpha(Rectangle bounds, float alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
- GuiColorBarHue
float GuiColorBarHue(Rectangle bounds, float hue)
Undocumented in source. Be warned that the author may not have intended to support it.
- GuiColorPanel
Color GuiColorPanel(Rectangle bounds, Color color)
Undocumented in source.
- GuiColorPicker
Color GuiColorPicker(Rectangle bounds, Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
- GuiComboBox
int GuiComboBox(Rectangle bounds, string text, int active)
Combo Box control, returns selected item index
- GuiDisable
void GuiDisable()
- GuiDrawText
void GuiDrawText(string text, Rectangle bounds, int alignment, Color tint)
Gui draw text using default font
- GuiDropdownBox
bool GuiDropdownBox(Rectangle bounds, string text, int active, bool editMode)
Dropdown Box control, returns selected item
- GuiDummyRec
void GuiDummyRec(Rectangle bounds, string text)
Dummy rectangle control, intended for placeholding
- GuiEnable
void GuiEnable()
- GuiFade
void GuiFade(float alpha)
Set gui controls alpha global state
- GuiFont
void GuiFont(Font font)
- GuiGetStyle
int GuiGetStyle(int control, int property)
Get control style property value
- GuiGrid
Vector2 GuiGrid(Rectangle bounds, float spacing, int subdivs)
- GuiGroupBox
void GuiGroupBox(Rectangle bounds, string text)
/ Group Box control with title name
- GuiIconText
string GuiIconText(int iconId, string text)
Get text with icon id prepended
NOTE: Useful to add icons by name id (enum) instead of
a number that can change between ricon versions
- GuiImageButton
bool GuiImageButton(Rectangle bounds, Texture2D texture)
Image button control, returns true when clicked
- GuiImageButtonEx
bool GuiImageButtonEx(Rectangle bounds, Texture2D texture, Rectangle texSource, string text)
Image button control, returns true when clicked
- GuiLabel
void GuiLabel(Rectangle bounds, string text)
- GuiLabelButton
bool GuiLabelButton(Rectangle bounds, string text)
- GuiLine
void GuiLine(Rectangle bounds, string text)
- GuiListElement
bool GuiListElement(Rectangle bounds, string text, bool active, bool editMode)
List Element control, returns element state
- GuiListView
bool GuiListView(Rectangle bounds, string text, int active, int scrollIndex, bool editMode)
- GuiListViewEx
bool GuiListViewEx(Rectangle bounds, string[] text, int count, int enabled, int active, int focus, int scrollIndex, bool editMode)
List View control extended parameters
NOTE: Elements could be disabled individually and focused element could be obtained:
int *enabled defines an array with enabled elements inside the list
int *focus returns focused element (may be not pressed)
- GuiLoadStyle
void GuiLoadStyle(string fileName)
Load raygui style file (.rgs)
TEXT ONLY FOR NOW.
- GuiLoadStyleDefault
void GuiLoadStyleDefault()
Load style default over global style
- GuiLoadStyleProps
void GuiLoadStyleProps(int[] props, int count)
Load style from a palette values array
- GuiLock
void GuiLock()
- GuiMessageBox
int GuiMessageBox(Rectangle bounds, string windowTitle, string message, string buttons)
- GuiPanel
void GuiPanel(Rectangle bounds)
- GuiProgressBar
float GuiProgressBar(Rectangle bounds, string text, float value, float minValue, float maxValue, bool showValue)
Progress Bar control extended, shows current progress value
- GuiScrollBar
int GuiScrollBar(Rectangle bounds, int value, int minValue, int maxValue)
- GuiScrollPanel
Rectangle GuiScrollPanel(Rectangle bounds, Rectangle content, Vector2 scroll)
- GuiSetStyle
void GuiSetStyle(int control, int property, int value)
Set control style property value
- GuiSlider
float GuiSlider(Rectangle bounds, string text, float value, float minValue, float maxValue, bool showValue)
Slider control extended, returns selected value and has text
- GuiSliderBar
float GuiSliderBar(Rectangle bounds, string text, float value, float minValue, float maxValue, bool showValue)
Slider Bar control extended, returns selected value
- GuiSliderPro
float GuiSliderPro(Rectangle bounds, string text, float value, float minValue, float maxValue, int sliderWidth, bool showValue)
Slider control with pro parameters
NOTE: Other GuiSlider*() controls use this one
- GuiSpinner
bool GuiSpinner(Rectangle bounds, int value, int minValue, int maxValue, bool editMode)
Spinner control, returns selected value
- GuiState
void GuiState(int state)
Set gui state (global state)
- GuiStatusBar
void GuiStatusBar(Rectangle bounds, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
- GuiTextBox
bool GuiTextBox(Rectangle bounds, string text, int textSize, bool editMode)
Text Box control, updates input text
- GuiTextBoxMulti
bool GuiTextBoxMulti(Rectangle bounds, string text, int textSize, bool editMode)
Text Box control with multiple lines
- GuiTextInputBox
int GuiTextInputBox(Rectangle bounds, string windowTitle, string message, string text, string buttons)
Text Input Box control, ask for text
- GuiToggle
bool GuiToggle(Rectangle bounds, string text, bool active)
Toggle Button control, returns true when active
- GuiToggleGroup
int GuiToggleGroup(Rectangle bounds, string text, int active)
Toggle Group control, returns toggled button index
- GuiUnlock
void GuiUnlock()
- GuiUpdateStyleComplete
void GuiUpdateStyleComplete()
Updates controls style with default values
- GuiValueBox
bool GuiValueBox(Rectangle bounds, int value, int minValue, int maxValue, bool editMode)
Value Box control, updates input text with numbers
- GuiWindowBox
bool GuiWindowBox(Rectangle bounds, string text)
- VALIGN_OFFSET
auto VALIGN_OFFSET(T h)
Vertical alignment for pixel perfect