Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
raygui.h File Reference
#include "raylib.h"
+ Include dependency graph for raygui.h:

Go to the source code of this file.

Classes

struct  GuiStyleProp
 

Macros

#define RAYGUI_VERSION   "3.0"
 raygui v3.0 - A simple and easy-to-use immediate-mode gui library More...
 
#define RAYGUIAPI
 
#define RAYGUI_MALLOC(sz)   malloc(sz)
 
#define RAYGUI_CALLOC(n, sz)   calloc(n,sz)
 
#define RAYGUI_FREE(p)   free(p)
 
#define TRACELOG(level, ...)   (void)0
 

Typedefs

typedef struct GuiStyleProp GuiStyleProp
 

Enumerations

enum  GuiControlState { GUI_STATE_NORMAL = 0 , GUI_STATE_FOCUSED , GUI_STATE_PRESSED , GUI_STATE_DISABLED }
 
enum  GuiTextAlignment { GUI_TEXT_ALIGN_LEFT = 0 , GUI_TEXT_ALIGN_CENTER , GUI_TEXT_ALIGN_RIGHT }
 
enum  GuiControl {
  DEFAULT = 0 , LABEL , BUTTON , TOGGLE ,
  SLIDER , PROGRESSBAR , CHECKBOX , COMBOBOX ,
  DROPDOWNBOX , TEXTBOX , VALUEBOX , SPINNER ,
  LISTVIEW , COLORPICKER , SCROLLBAR , STATUSBAR
}
 
enum  GuiControlProperty {
  BORDER_COLOR_NORMAL = 0 , BASE_COLOR_NORMAL , TEXT_COLOR_NORMAL , BORDER_COLOR_FOCUSED ,
  BASE_COLOR_FOCUSED , TEXT_COLOR_FOCUSED , BORDER_COLOR_PRESSED , BASE_COLOR_PRESSED ,
  TEXT_COLOR_PRESSED , BORDER_COLOR_DISABLED , BASE_COLOR_DISABLED , TEXT_COLOR_DISABLED ,
  BORDER_WIDTH , TEXT_PADDING , TEXT_ALIGNMENT , RESERVED
}
 
enum  GuiDefaultProperty { TEXT_SIZE = 16 , TEXT_SPACING , LINE_COLOR , BACKGROUND_COLOR }
 
enum  GuiToggleProperty { GROUP_PADDING = 16 }
 
enum  GuiSliderProperty { SLIDER_WIDTH = 16 , SLIDER_PADDING }
 
enum  GuiProgressBarProperty { PROGRESS_PADDING = 16 }
 
enum  GuiCheckBoxProperty { CHECK_PADDING = 16 }
 
enum  GuiComboBoxProperty { COMBO_BUTTON_WIDTH = 16 , COMBO_BUTTON_PADDING }
 
enum  GuiDropdownBoxProperty { ARROW_PADDING = 16 , DROPDOWN_ITEMS_PADDING }
 
enum  GuiTextBoxProperty { TEXT_INNER_PADDING = 16 , TEXT_LINES_PADDING , COLOR_SELECTED_FG , COLOR_SELECTED_BG }
 
enum  GuiSpinnerProperty { SPIN_BUTTON_WIDTH = 16 , SPIN_BUTTON_PADDING }
 
enum  GuiScrollBarProperty {
  ARROWS_SIZE = 16 , ARROWS_VISIBLE , SCROLL_SLIDER_PADDING , SCROLL_SLIDER_SIZE ,
  SCROLL_PADDING , SCROLL_SPEED
}
 
enum  GuiScrollBarSide { SCROLLBAR_LEFT_SIDE = 0 , SCROLLBAR_RIGHT_SIDE }
 
enum  GuiListViewProperty { LIST_ITEMS_HEIGHT = 16 , LIST_ITEMS_PADDING , SCROLLBAR_WIDTH , SCROLLBAR_SIDE }
 
enum  GuiColorPickerProperty {
  COLOR_SELECTOR_SIZE = 16 , HUEBAR_WIDTH , HUEBAR_PADDING , HUEBAR_SELECTOR_HEIGHT ,
  HUEBAR_SELECTOR_OVERFLOW
}
 

Functions

RAYGUIAPI void GuiEnable (void)
 
RAYGUIAPI void GuiDisable (void)
 
RAYGUIAPI void GuiLock (void)
 
RAYGUIAPI void GuiUnlock (void)
 
RAYGUIAPI bool GuiIsLocked (void)
 
RAYGUIAPI void GuiFade (float alpha)
 
RAYGUIAPI void GuiSetState (int state)
 
RAYGUIAPI int GuiGetState (void)
 
RAYGUIAPI void GuiSetFont (Font font)
 
RAYGUIAPI Font GuiGetFont (void)
 
RAYGUIAPI void GuiSetStyle (int control, int property, int value)
 
RAYGUIAPI int GuiGetStyle (int control, int property)
 
RAYGUIAPI bool GuiWindowBox (Rectangle bounds, const char *title)
 
RAYGUIAPI void GuiGroupBox (Rectangle bounds, const char *text)
 
RAYGUIAPI void GuiLine (Rectangle bounds, const char *text)
 
RAYGUIAPI void GuiPanel (Rectangle bounds)
 
RAYGUIAPI Rectangle GuiScrollPanel (Rectangle bounds, Rectangle content, Vector2 *scroll)
 
RAYGUIAPI void GuiLabel (Rectangle bounds, const char *text)
 
RAYGUIAPI bool GuiButton (Rectangle bounds, const char *text)
 
RAYGUIAPI bool GuiLabelButton (Rectangle bounds, const char *text)
 
RAYGUIAPI bool GuiToggle (Rectangle bounds, const char *text, bool active)
 
RAYGUIAPI int GuiToggleGroup (Rectangle bounds, const char *text, int active)
 
RAYGUIAPI bool GuiCheckBox (Rectangle bounds, const char *text, bool checked)
 
RAYGUIAPI int GuiComboBox (Rectangle bounds, const char *text, int active)
 
RAYGUIAPI bool GuiDropdownBox (Rectangle bounds, const char *text, int *active, bool editMode)
 
RAYGUIAPI bool GuiSpinner (Rectangle bounds, const char *text, int *value, int minValue, int maxValue, bool editMode)
 
RAYGUIAPI bool GuiValueBox (Rectangle bounds, const char *text, int *value, int minValue, int maxValue, bool editMode)
 
RAYGUIAPI bool GuiTextBox (Rectangle bounds, char *text, int textSize, bool editMode)
 
RAYGUIAPI bool GuiTextBoxMulti (Rectangle bounds, char *text, int textSize, bool editMode)
 
RAYGUIAPI float GuiSlider (Rectangle bounds, const char *textLeft, const char *textRight, float value, float minValue, float maxValue)
 
RAYGUIAPI float GuiSliderBar (Rectangle bounds, const char *textLeft, const char *textRight, float value, float minValue, float maxValue)
 
RAYGUIAPI float GuiProgressBar (Rectangle bounds, const char *textLeft, const char *textRight, float value, float minValue, float maxValue)
 
RAYGUIAPI void GuiStatusBar (Rectangle bounds, const char *text)
 
RAYGUIAPI void GuiDummyRec (Rectangle bounds, const char *text)
 
RAYGUIAPI int GuiScrollBar (Rectangle bounds, int value, int minValue, int maxValue)
 
RAYGUIAPI Vector2 GuiGrid (Rectangle bounds, float spacing, int subdivs)
 
RAYGUIAPI int GuiListView (Rectangle bounds, const char *text, int *scrollIndex, int active)
 
RAYGUIAPI int GuiListViewEx (Rectangle bounds, const char **text, int count, int *focus, int *scrollIndex, int active)
 
RAYGUIAPI int GuiMessageBox (Rectangle bounds, const char *title, const char *message, const char *buttons)
 
RAYGUIAPI int GuiTextInputBox (Rectangle bounds, const char *title, const char *message, const char *buttons, char *text)
 
RAYGUIAPI Color GuiColorPicker (Rectangle bounds, Color color)
 
RAYGUIAPI Color GuiColorPanel (Rectangle bounds, Color color)
 
RAYGUIAPI float GuiColorBarAlpha (Rectangle bounds, float alpha)
 
RAYGUIAPI float GuiColorBarHue (Rectangle bounds, float value)
 
RAYGUIAPI void GuiLoadStyle (const char *fileName)
 
RAYGUIAPI void GuiLoadStyleDefault (void)
 
RAYGUIAPI const char * GuiIconText (int iconId, const char *text)
 
RAYGUIAPI void GuiDrawIcon (int iconId, int posX, int posY, int pixelSize, Color color)
 
RAYGUIAPI unsigned int * GuiGetIcons (void)
 
RAYGUIAPI unsigned int * GuiGetIconData (int iconId)
 
RAYGUIAPI void GuiSetIconData (int iconId, unsigned int *data)
 
RAYGUIAPI void GuiSetIconPixel (int iconId, int x, int y)
 
RAYGUIAPI void GuiClearIconPixel (int iconId, int x, int y)
 
RAYGUIAPI bool GuiCheckIconPixel (int iconId, int x, int y)
 

Macro Definition Documentation

◆ RAYGUI_CALLOC

#define RAYGUI_CALLOC (   n,
  sz 
)    calloc(n,sz)

Definition at line 215 of file raygui.h.

◆ RAYGUI_FREE

#define RAYGUI_FREE (   p)    free(p)

Definition at line 218 of file raygui.h.

◆ RAYGUI_MALLOC

#define RAYGUI_MALLOC (   sz)    malloc(sz)

Definition at line 212 of file raygui.h.

◆ RAYGUI_VERSION

#define RAYGUI_VERSION   "3.0"

raygui v3.0 - A simple and easy-to-use immediate-mode gui library

DESCRIPTION:

raygui is a tools-dev-focused immediate-mode-gui library based on raylib but also available as a standalone library, as long as input and drawing functions are provided.

Controls provided:

Container/separators Controls

  • WindowBox
  • GroupBox
  • Line
  • Panel

Basic Controls

  • Label
  • Button
  • LabelButton --> Label
  • Toggle
  • ToggleGroup --> Toggle
  • CheckBox
  • ComboBox
  • DropdownBox
  • TextBox
  • TextBoxMulti
  • ValueBox --> TextBox
  • Spinner --> Button, ValueBox
  • Slider
  • SliderBar --> Slider
  • ProgressBar
  • StatusBar
  • ScrollBar
  • ScrollPanel
  • DummyRec
  • Grid

Advance Controls

  • ListView
  • ColorPicker --> ColorPanel, ColorBarHue
  • MessageBox --> Window, Label, Button
  • TextInputBox --> Window, Label, TextBox, Button

It also provides a set of functions for styling the controls based on its properties (size, color).

GUI STYLE (guiStyle):

raygui uses a global data array for all gui style properties (allocated on data segment by default), when a new style is loaded, it is loaded over the global style... but a default gui style could always be recovered with GuiLoadStyleDefault() function, that overwrites the current style to the default one

The global style array size is fixed and depends on the number of controls and properties:

static unsigned int guiStyle[RAYGUI_MAX_CONTROLS*(RAYGUI_MAX_PROPS_BASE + RAYGUI_MAX_PROPS_EXTENDED)];

guiStyle size is by default: 16*(16 + 8) = 384*4 = 1536 bytes = 1.5 KB

Note that the first set of BASE properties (by default guiStyle[0..15]) belong to the generic style used for all controls, when any of those base values is set, it is automatically populated to all controls, so, specific control values overwriting generic style should be set after base values.

After the first BASE set we have the EXTENDED properties (by default guiStyle[16..23]), those properties are actually common to all controls and can not be overwritten individually (like BASE ones) Some of those properties are: TEXT_SIZE, TEXT_SPACING, LINE_COLOR, BACKGROUND_COLOR

Custom control properties can be defined using the EXTENDED properties for each independent control.

TOOL: rGuiStyler is a visual tool to customize raygui style.

GUI ICONS (guiIcons):

raygui could use a global array containing icons data (allocated on data segment by default), a custom icons set could be loaded over this array using GuiLoadIcons(), but loaded icons set must be same RICON_SIZE and no more than RICON_MAX_ICONS will be loaded

Every icon is codified in binary form, using 1 bit per pixel, so, every 16x16 icon requires 8 integers (16*16/32) to be stored in memory.

When the icon is draw, actually one quad per pixel is drawn if the bit for that pixel is set.

The global icons array size is fixed and depends on the number of icons and size:

static unsigned int guiIcons[RICON_MAX_ICONS*RICON_DATA_ELEMENTS];

guiIcons size is by default: 256*(16*16/32) = 2048*4 = 8192 bytes = 8 KB

TOOL: rGuiIcons is a visual tool to customize raygui icons.

CONFIGURATION:

#define RAYGUI_IMPLEMENTATION Generates the implementation of the library into the included file. If not defined, the library is in header only mode and can be included in other headers or source files without problems. But only ONE file should hold the implementation.

#define RAYGUI_STANDALONE Avoid raylib.h header inclusion in this file. Data types defined on raylib are defined internally in the library and input management and drawing functions must be provided by the user (check library implementation for further details).

#define RAYGUI_NO_RICONS Avoid including embedded ricons data (256 icons, 16x16 pixels, 1-bit per pixel, 2KB)

#define RAYGUI_CUSTOM_RICONS Includes custom ricons.h header defining a set of custom icons, this file can be generated using rGuiIcons tool

VERSIONS HISTORY:

3.0 (xx-Sep-2021) Integrated ricons data to avoid external file
                  REDESIGNED: GuiTextBoxMulti()
                  REMOVED: GuiImageButton*()
                  Multiple minor tweaks and bugs corrected
2.9 (17-Mar-2021) REMOVED: Tooltip API
2.8 (03-May-2020) Centralized rectangles drawing to GuiDrawRectangle()
2.7 (20-Feb-2020) ADDED: Possible tooltips API
2.6 (09-Sep-2019) ADDED: GuiTextInputBox()
                  REDESIGNED: GuiListView*(), GuiDropdownBox(), GuiSlider*(), GuiProgressBar(), GuiMessageBox()
                  REVIEWED: GuiTextBox(), GuiSpinner(), GuiValueBox(), GuiLoadStyle()
                  Replaced property INNER_PADDING by TEXT_PADDING, renamed some properties
                  ADDED: 8 new custom styles ready to use
                  Multiple minor tweaks and bugs corrected
2.5 (28-May-2019) Implemented extended GuiTextBox(), GuiValueBox(), GuiSpinner()
2.3 (29-Apr-2019) ADDED: rIcons auxiliar library and support for it, multiple controls reviewed
                  Refactor all controls drawing mechanism to use control state
2.2 (05-Feb-2019) ADDED: GuiScrollBar(), GuiScrollPanel(), reviewed GuiListView(), removed Gui*Ex() controls
2.1 (26-Dec-2018) REDESIGNED: GuiCheckBox(), GuiComboBox(), GuiDropdownBox(), GuiToggleGroup() > Use combined text string
                  REDESIGNED: Style system (breaking change)
2.0 (08-Nov-2018) ADDED: Support controls guiLock and custom fonts
                  REVIEWED: GuiComboBox(), GuiListView()...
1.9 (09-Oct-2018) REVIEWED: GuiGrid(), GuiTextBox(), GuiTextBoxMulti(), GuiValueBox()...
1.8 (01-May-2018) Lot of rework and redesign to align with rGuiStyler and rGuiLayout
1.5 (21-Jun-2017) Working in an improved styles system
1.4 (15-Jun-2017) Rewritten all GUI functions (removed useless ones)
1.3 (12-Jun-2017) Complete redesign of style system
1.1 (01-Jun-2017) Complete review of the library
1.0 (07-Jun-2016) Converted to header-only by Ramon Santamaria.
0.9 (07-Mar-2016) Reviewed and tested by Albert Martos, Ian Eito, Sergio Martinez and Ramon Santamaria.
0.8 (27-Aug-2015) Initial release. Implemented by Kevin Gato, Daniel Nicolás and Ramon Santamaria.

CONTRIBUTORS:

Ramon Santamaria:   Supervision, review, redesign, update and maintenance
Vlad Adrian:        Complete rewrite of GuiTextBox() to support extended features (2019)
Sergio Martinez:    Review, testing (2015) and redesign of multiple controls (2018)
Adria Arranz:       Testing and Implementation of additional controls (2018)
Jordi Jorba:        Testing and Implementation of additional controls (2018)
Albert Martos:      Review and testing of the library (2015)
Ian Eito:           Review and testing of the library (2015)
Kevin Gato:         Initial implementation of basic components (2014)
Daniel Nicolas:     Initial implementation of basic components (2014)

LICENSE: zlib/libpng

Copyright (c) 2014-2021 Ramon Santamaria (@raysan5)

This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Definition at line 185 of file raygui.h.

◆ RAYGUIAPI

#define RAYGUIAPI

Definition at line 203 of file raygui.h.

◆ TRACELOG

#define TRACELOG (   level,
  ... 
)    (void)0

Definition at line 222 of file raygui.h.

Typedef Documentation

◆ GuiStyleProp

typedef struct GuiStyleProp GuiStyleProp

Enumeration Type Documentation

◆ GuiCheckBoxProperty

Enumerator
CHECK_PADDING 

Definition at line 393 of file raygui.h.

◆ GuiColorPickerProperty

Enumerator
COLOR_SELECTOR_SIZE 
HUEBAR_WIDTH 
HUEBAR_PADDING 
HUEBAR_SELECTOR_HEIGHT 
HUEBAR_SELECTOR_OVERFLOW 

Definition at line 448 of file raygui.h.

◆ GuiComboBoxProperty

Enumerator
COMBO_BUTTON_WIDTH 
COMBO_BUTTON_PADDING 

Definition at line 398 of file raygui.h.

◆ GuiControl

enum GuiControl
Enumerator
DEFAULT 
LABEL 
BUTTON 
TOGGLE 
SLIDER 
PROGRESSBAR 
CHECKBOX 
COMBOBOX 
DROPDOWNBOX 
TEXTBOX 
VALUEBOX 
SPINNER 
LISTVIEW 
COLORPICKER 
SCROLLBAR 
STATUSBAR 

Definition at line 318 of file raygui.h.

◆ GuiControlProperty

Enumerator
BORDER_COLOR_NORMAL 
BASE_COLOR_NORMAL 
TEXT_COLOR_NORMAL 
BORDER_COLOR_FOCUSED 
BASE_COLOR_FOCUSED 
TEXT_COLOR_FOCUSED 
BORDER_COLOR_PRESSED 
BASE_COLOR_PRESSED 
TEXT_COLOR_PRESSED 
BORDER_COLOR_DISABLED 
BASE_COLOR_DISABLED 
TEXT_COLOR_DISABLED 
BORDER_WIDTH 
TEXT_PADDING 
TEXT_ALIGNMENT 
RESERVED 

Definition at line 339 of file raygui.h.

◆ GuiControlState

Enumerator
GUI_STATE_NORMAL 
GUI_STATE_FOCUSED 
GUI_STATE_PRESSED 
GUI_STATE_DISABLED 

Definition at line 303 of file raygui.h.

◆ GuiDefaultProperty

Enumerator
TEXT_SIZE 
TEXT_SPACING 
LINE_COLOR 
BACKGROUND_COLOR 

Definition at line 363 of file raygui.h.

◆ GuiDropdownBoxProperty

Enumerator
ARROW_PADDING 
DROPDOWN_ITEMS_PADDING 

Definition at line 404 of file raygui.h.

◆ GuiListViewProperty

Enumerator
LIST_ITEMS_HEIGHT 
LIST_ITEMS_PADDING 
SCROLLBAR_WIDTH 
SCROLLBAR_SIDE 

Definition at line 440 of file raygui.h.

◆ GuiProgressBarProperty

Enumerator
PROGRESS_PADDING 

Definition at line 388 of file raygui.h.

◆ GuiScrollBarProperty

Enumerator
ARROWS_SIZE 
ARROWS_VISIBLE 
SCROLL_SLIDER_PADDING 
SCROLL_SLIDER_SIZE 
SCROLL_PADDING 
SCROLL_SPEED 

Definition at line 424 of file raygui.h.

◆ GuiScrollBarSide

Enumerator
SCROLLBAR_LEFT_SIDE 
SCROLLBAR_RIGHT_SIDE 

Definition at line 434 of file raygui.h.

◆ GuiSliderProperty

Enumerator
SLIDER_WIDTH 
SLIDER_PADDING 

Definition at line 382 of file raygui.h.

◆ GuiSpinnerProperty

Enumerator
SPIN_BUTTON_WIDTH 
SPIN_BUTTON_PADDING 

Definition at line 418 of file raygui.h.

◆ GuiTextAlignment

Enumerator
GUI_TEXT_ALIGN_LEFT 
GUI_TEXT_ALIGN_CENTER 
GUI_TEXT_ALIGN_RIGHT 

Definition at line 311 of file raygui.h.

◆ GuiTextBoxProperty

Enumerator
TEXT_INNER_PADDING 
TEXT_LINES_PADDING 
COLOR_SELECTED_FG 
COLOR_SELECTED_BG 

Definition at line 410 of file raygui.h.

◆ GuiToggleProperty

Enumerator
GROUP_PADDING 

Definition at line 377 of file raygui.h.

Function Documentation

◆ GuiButton()

RAYGUIAPI bool GuiButton ( Rectangle  bounds,
const char *  text 
)

◆ GuiCheckBox()

RAYGUIAPI bool GuiCheckBox ( Rectangle  bounds,
const char *  text,
bool  checked 
)

◆ GuiCheckIconPixel()

RAYGUIAPI bool GuiCheckIconPixel ( int  iconId,
int  x,
int  y 
)

◆ GuiClearIconPixel()

RAYGUIAPI void GuiClearIconPixel ( int  iconId,
int  x,
int  y 
)

◆ GuiColorBarAlpha()

RAYGUIAPI float GuiColorBarAlpha ( Rectangle  bounds,
float  alpha 
)

◆ GuiColorBarHue()

RAYGUIAPI float GuiColorBarHue ( Rectangle  bounds,
float  value 
)

◆ GuiColorPanel()

RAYGUIAPI Color GuiColorPanel ( Rectangle  bounds,
Color  color 
)

◆ GuiColorPicker()

RAYGUIAPI Color GuiColorPicker ( Rectangle  bounds,
Color  color 
)

◆ GuiComboBox()

RAYGUIAPI int GuiComboBox ( Rectangle  bounds,
const char *  text,
int  active 
)

◆ GuiDisable()

RAYGUIAPI void GuiDisable ( void  )

◆ GuiDrawIcon()

RAYGUIAPI void GuiDrawIcon ( int  iconId,
int  posX,
int  posY,
int  pixelSize,
Color  color 
)

◆ GuiDropdownBox()

RAYGUIAPI bool GuiDropdownBox ( Rectangle  bounds,
const char *  text,
int *  active,
bool  editMode 
)

◆ GuiDummyRec()

RAYGUIAPI void GuiDummyRec ( Rectangle  bounds,
const char *  text 
)

◆ GuiEnable()

RAYGUIAPI void GuiEnable ( void  )

◆ GuiFade()

RAYGUIAPI void GuiFade ( float  alpha)

◆ GuiGetFont()

RAYGUIAPI Font GuiGetFont ( void  )

◆ GuiGetIconData()

RAYGUIAPI unsigned int * GuiGetIconData ( int  iconId)

◆ GuiGetIcons()

RAYGUIAPI unsigned int * GuiGetIcons ( void  )

◆ GuiGetState()

RAYGUIAPI int GuiGetState ( void  )

◆ GuiGetStyle()

RAYGUIAPI int GuiGetStyle ( int  control,
int  property 
)

◆ GuiGrid()

RAYGUIAPI Vector2 GuiGrid ( Rectangle  bounds,
float  spacing,
int  subdivs 
)

◆ GuiGroupBox()

RAYGUIAPI void GuiGroupBox ( Rectangle  bounds,
const char *  text 
)

◆ GuiIconText()

RAYGUIAPI const char * GuiIconText ( int  iconId,
const char *  text 
)

◆ GuiIsLocked()

RAYGUIAPI bool GuiIsLocked ( void  )

◆ GuiLabel()

RAYGUIAPI void GuiLabel ( Rectangle  bounds,
const char *  text 
)

◆ GuiLabelButton()

RAYGUIAPI bool GuiLabelButton ( Rectangle  bounds,
const char *  text 
)

◆ GuiLine()

RAYGUIAPI void GuiLine ( Rectangle  bounds,
const char *  text 
)

◆ GuiListView()

RAYGUIAPI int GuiListView ( Rectangle  bounds,
const char *  text,
int *  scrollIndex,
int  active 
)

◆ GuiListViewEx()

RAYGUIAPI int GuiListViewEx ( Rectangle  bounds,
const char **  text,
int  count,
int *  focus,
int *  scrollIndex,
int  active 
)

◆ GuiLoadStyle()

RAYGUIAPI void GuiLoadStyle ( const char *  fileName)

◆ GuiLoadStyleDefault()

RAYGUIAPI void GuiLoadStyleDefault ( void  )

◆ GuiLock()

RAYGUIAPI void GuiLock ( void  )

◆ GuiMessageBox()

RAYGUIAPI int GuiMessageBox ( Rectangle  bounds,
const char *  title,
const char *  message,
const char *  buttons 
)

◆ GuiPanel()

RAYGUIAPI void GuiPanel ( Rectangle  bounds)

◆ GuiProgressBar()

RAYGUIAPI float GuiProgressBar ( Rectangle  bounds,
const char *  textLeft,
const char *  textRight,
float  value,
float  minValue,
float  maxValue 
)

◆ GuiScrollBar()

RAYGUIAPI int GuiScrollBar ( Rectangle  bounds,
int  value,
int  minValue,
int  maxValue 
)

◆ GuiScrollPanel()

RAYGUIAPI Rectangle GuiScrollPanel ( Rectangle  bounds,
Rectangle  content,
Vector2 scroll 
)

◆ GuiSetFont()

RAYGUIAPI void GuiSetFont ( Font  font)

◆ GuiSetIconData()

RAYGUIAPI void GuiSetIconData ( int  iconId,
unsigned int *  data 
)

◆ GuiSetIconPixel()

RAYGUIAPI void GuiSetIconPixel ( int  iconId,
int  x,
int  y 
)

◆ GuiSetState()

RAYGUIAPI void GuiSetState ( int  state)

◆ GuiSetStyle()

RAYGUIAPI void GuiSetStyle ( int  control,
int  property,
int  value 
)

◆ GuiSlider()

RAYGUIAPI float GuiSlider ( Rectangle  bounds,
const char *  textLeft,
const char *  textRight,
float  value,
float  minValue,
float  maxValue 
)

◆ GuiSliderBar()

RAYGUIAPI float GuiSliderBar ( Rectangle  bounds,
const char *  textLeft,
const char *  textRight,
float  value,
float  minValue,
float  maxValue 
)

◆ GuiSpinner()

RAYGUIAPI bool GuiSpinner ( Rectangle  bounds,
const char *  text,
int *  value,
int  minValue,
int  maxValue,
bool  editMode 
)

◆ GuiStatusBar()

RAYGUIAPI void GuiStatusBar ( Rectangle  bounds,
const char *  text 
)

◆ GuiTextBox()

RAYGUIAPI bool GuiTextBox ( Rectangle  bounds,
char *  text,
int  textSize,
bool  editMode 
)

◆ GuiTextBoxMulti()

RAYGUIAPI bool GuiTextBoxMulti ( Rectangle  bounds,
char *  text,
int  textSize,
bool  editMode 
)

◆ GuiTextInputBox()

RAYGUIAPI int GuiTextInputBox ( Rectangle  bounds,
const char *  title,
const char *  message,
const char *  buttons,
char *  text 
)

◆ GuiToggle()

RAYGUIAPI bool GuiToggle ( Rectangle  bounds,
const char *  text,
bool  active 
)

◆ GuiToggleGroup()

RAYGUIAPI int GuiToggleGroup ( Rectangle  bounds,
const char *  text,
int  active 
)

◆ GuiUnlock()

RAYGUIAPI void GuiUnlock ( void  )

◆ GuiValueBox()

RAYGUIAPI bool GuiValueBox ( Rectangle  bounds,
const char *  text,
int *  value,
int  minValue,
int  maxValue,
bool  editMode 
)

◆ GuiWindowBox()

RAYGUIAPI bool GuiWindowBox ( Rectangle  bounds,
const char *  title 
)