bindbc.raylib.bind.gui

Undocumented in source.

Members

Aliases

pGuiButton
alias pGuiButton = bool function(Rectangle bounds, const(char)* text)

Button control, returns true when clicked

pGuiCheckBox
alias pGuiCheckBox = bool function(Rectangle bounds, const(char)* text, bool checked)

Check Box control, returns true when active

pGuiCheckIconPixel
alias pGuiCheckIconPixel = bool function(int iconId, int x, int y)

Check icon pixel value

pGuiClearIconPixel
alias pGuiClearIconPixel = void function(int iconId, int x, int y)

Clear icon pixel value

pGuiColorBarAlpha
alias pGuiColorBarAlpha = float function(Rectangle bounds, float alpha)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
pGuiColorPicker
alias pGuiColorPicker = Color function(Rectangle bounds, Color color)

Color Picker control

pGuiComboBox
alias pGuiComboBox = int function(Rectangle bounds, const(char)* text, int active)

Combo Box control, returns selected item index

pGuiDisable
alias pGuiDisable = void function()

Disable gui controls (global state)

pGuiDrawIcon
alias pGuiDrawIcon = void function(int iconId, Vector2 position, int pixelSize, Color color)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
pGuiDropdownBox
alias pGuiDropdownBox = bool function(Rectangle bounds, const(char)* text, int* active, bool editMode)

Dropdown Box control, returns selected item

pGuiDummyRec
alias pGuiDummyRec = void function(Rectangle bounds, const(char)* text)

Dummy control for placeholders

pGuiEnable
alias pGuiEnable = void function()

Enable gui controls (global state)

pGuiFade
alias pGuiFade = void function(float alpha)

Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f

pGuiGetFont
alias pGuiGetFont = Font function()

Get gui custom font (global state)

pGuiGetIconData
alias pGuiGetIconData = uint* function(int iconId)

Get icon bit data

pGuiGetIcons
alias pGuiGetIcons = uint* function()

Get full icons data pointer

pGuiGetState
alias pGuiGetState = int function()

Get gui state (global state)

pGuiGetStyle
alias pGuiGetStyle = int function(int control, int property)

Get one style property

pGuiGrid
alias pGuiGrid = Vector2 function(Rectangle bounds, float spacing, int subdivs)

Grid control

pGuiGroupBox
alias pGuiGroupBox = void function(Rectangle bounds, const(char)* text)

Group Box control with text name

pGuiIconText
alias pGuiIconText = const(char)* function(int iconId, const(char)* text)

Get text with icon id prepended (if supported)

pGuiImageButton
alias pGuiImageButton = bool function(Rectangle bounds, const(char)* text, Texture2D texture)

Image button control, returns true when clicked

pGuiImageButtonEx
alias pGuiImageButtonEx = bool function(Rectangle bounds, const(char)* text, Texture2D texture, Rectangle texSource)

Image button extended control, returns true when clicked

pGuiLabel
alias pGuiLabel = void function(Rectangle bounds, const(char)* text)

Label control, shows text

pGuiLabelButton
alias pGuiLabelButton = bool function(Rectangle bounds, const(char)* text)

Label button control, show true when clicked

pGuiLine
alias pGuiLine = void function(Rectangle bounds, const(char)* text)

Line separator control, could contain text

pGuiListView
alias pGuiListView = int function(Rectangle bounds, const(char)* text, int* scrollIndex, int active)

List View control, returns selected list item index

pGuiListViewEx
alias pGuiListViewEx = int function(Rectangle bounds, const(char)** text, int count, int* focus, int* scrollIndex, int active)

List View with extended parameters

pGuiLoadStyle
alias pGuiLoadStyle = void function(const(char)* fileName)

Load style file (.rgs)

pGuiLoadStyleDefault
alias pGuiLoadStyleDefault = void function()

Load style default over global style

pGuiLock
alias pGuiLock = void function()

Lock gui controls (global state)

pGuiMessageBox
alias pGuiMessageBox = int function(Rectangle bounds, const(char)* title, const(char)* message, const(char)* buttons)

Message Box control, displays a message

pGuiPanel
alias pGuiPanel = void function(Rectangle bounds)

Panel control, useful to group controls

pGuiProgressBar
alias pGuiProgressBar = float function(Rectangle bounds, const(char)* textLeft, const(char)* textRight, float value, float minValue, float maxValue)

Progress Bar control, shows current progress value

pGuiScrollBar
alias pGuiScrollBar = int function(Rectangle bounds, int value, int minValue, int maxValue)

Scroll Bar control

pGuiScrollPanel
alias pGuiScrollPanel = Rectangle function(Rectangle bounds, Rectangle content, Vector2* scroll)

Scroll Panel control

pGuiSetFont
alias pGuiSetFont = void function(Font font)

Set gui custom font (global state)

pGuiSetIconData
alias pGuiSetIconData = void function(int iconId, uint* data)

Set icon bit data

pGuiSetIconPixel
alias pGuiSetIconPixel = void function(int iconId, int x, int y)

Set icon pixel value

pGuiSetState
alias pGuiSetState = void function(int state)

Set gui state (global state)

pGuiSetStyle
alias pGuiSetStyle = void function(int control, int property, int value)

Set one style property

pGuiSlider
alias pGuiSlider = float function(Rectangle bounds, const(char)* textLeft, const(char)* textRight, float value, float minValue, float maxValue)

Slider control, returns selected value

pGuiSliderBar
alias pGuiSliderBar = float function(Rectangle bounds, const(char)* textLeft, const(char)* textRight, float value, float minValue, float maxValue)

Slider Bar control, returns selected value

pGuiSpinner
alias pGuiSpinner = bool function(Rectangle bounds, const(char)* text, int* value, int minValue, int maxValue, bool editMode)

Spinner control, returns selected value

pGuiStatusBar
alias pGuiStatusBar = void function(Rectangle bounds, const(char)* text)

Status Bar control, shows info text

pGuiTextBox
alias pGuiTextBox = bool function(Rectangle bounds, char* text, int textSize, bool editMode)

Text Box control, updates input text

pGuiTextBoxMulti
alias pGuiTextBoxMulti = bool function(Rectangle bounds, char* text, int textSize, bool editMode)

Text Box control with multiple lines

pGuiTextInputBox
alias pGuiTextInputBox = int function(Rectangle bounds, const(char)* title, const(char)* message, const(char)* buttons, char* text)

Text Input Box control, ask for text

pGuiToggle
alias pGuiToggle = bool function(Rectangle bounds, const(char)* text, bool active)

Toggle Button control, returns true when active

pGuiToggleGroup
alias pGuiToggleGroup = int function(Rectangle bounds, const(char)* text, int active)

Toggle Group control, returns active toggle index

pGuiUnlock
alias pGuiUnlock = void function()

Unlock gui controls (global state)

pGuiValueBox
alias pGuiValueBox = bool function(Rectangle bounds, const(char)* text, int* value, int minValue, int maxValue, bool editMode)

Value Box control, updates input text with numbers

pGuiWindowBox
alias pGuiWindowBox = bool function(Rectangle bounds, const(char)* title)

Window Box control, shows a window that can be closed

Static variables

GuiButton
pGuiButton GuiButton;
Undocumented in source.
GuiCheckBox
pGuiCheckBox GuiCheckBox;
Undocumented in source.
GuiCheckIconPixel
pGuiCheckIconPixel GuiCheckIconPixel;
Undocumented in source.
GuiClearIconPixel
pGuiClearIconPixel GuiClearIconPixel;
Undocumented in source.
GuiColorBarAlpha
pGuiColorBarAlpha GuiColorBarAlpha;
Undocumented in source.
GuiColorPicker
pGuiColorPicker GuiColorPicker;
Undocumented in source.
GuiComboBox
pGuiComboBox GuiComboBox;
Undocumented in source.
GuiDisable
pGuiDisable GuiDisable;
Undocumented in source.
GuiDrawIcon
pGuiDrawIcon GuiDrawIcon;
Undocumented in source.
GuiDropdownBox
pGuiDropdownBox GuiDropdownBox;
Undocumented in source.
GuiDummyRec
pGuiDummyRec GuiDummyRec;
Undocumented in source.
GuiEnable
pGuiEnable GuiEnable;
Undocumented in source.
GuiFade
pGuiFade GuiFade;
Undocumented in source.
GuiGetFont
pGuiGetFont GuiGetFont;
Undocumented in source.
GuiGetIconData
pGuiGetIconData GuiGetIconData;
Undocumented in source.
GuiGetIcons
pGuiGetIcons GuiGetIcons;
Undocumented in source.
GuiGetState
pGuiGetState GuiGetState;
Undocumented in source.
GuiGetStyle
pGuiGetStyle GuiGetStyle;
Undocumented in source.
GuiGrid
pGuiGrid GuiGrid;
Undocumented in source.
GuiGroupBox
pGuiGroupBox GuiGroupBox;
Undocumented in source.
GuiIconText
pGuiIconText GuiIconText;
Undocumented in source.
GuiImageButton
pGuiImageButton GuiImageButton;
Undocumented in source.
GuiImageButtonEx
pGuiImageButtonEx GuiImageButtonEx;
Undocumented in source.
GuiLabel
pGuiLabel GuiLabel;
Undocumented in source.
GuiLabelButton
pGuiLabelButton GuiLabelButton;
Undocumented in source.
GuiLine
pGuiLine GuiLine;
Undocumented in source.
GuiListView
pGuiListView GuiListView;
Undocumented in source.
GuiListViewEx
pGuiListViewEx GuiListViewEx;
Undocumented in source.
GuiLoadStyle
pGuiLoadStyle GuiLoadStyle;
Undocumented in source.
GuiLoadStyleDefault
pGuiLoadStyleDefault GuiLoadStyleDefault;
Undocumented in source.
GuiLock
pGuiLock GuiLock;
Undocumented in source.
GuiMessageBox
pGuiMessageBox GuiMessageBox;
Undocumented in source.
GuiPanel
pGuiPanel GuiPanel;
Undocumented in source.
GuiProgressBar
pGuiProgressBar GuiProgressBar;
Undocumented in source.
GuiScrollBar
pGuiScrollBar GuiScrollBar;
Undocumented in source.
GuiScrollPanel
pGuiScrollPanel GuiScrollPanel;
Undocumented in source.
GuiSetFont
pGuiSetFont GuiSetFont;
Undocumented in source.
GuiSetIconData
pGuiSetIconData GuiSetIconData;
Undocumented in source.
GuiSetIconPixel
pGuiSetIconPixel GuiSetIconPixel;
Undocumented in source.
GuiSetState
pGuiSetState GuiSetState;
Undocumented in source.
GuiSetStyle
pGuiSetStyle GuiSetStyle;
Undocumented in source.
GuiSlider
pGuiSlider GuiSlider;
Undocumented in source.
GuiSliderBar
pGuiSliderBar GuiSliderBar;
Undocumented in source.
GuiSpinner
pGuiSpinner GuiSpinner;
Undocumented in source.
GuiStatusBar
pGuiStatusBar GuiStatusBar;
Undocumented in source.
GuiTextBox
pGuiTextBox GuiTextBox;
Undocumented in source.
GuiTextBoxMulti
pGuiTextBoxMulti GuiTextBoxMulti;
Undocumented in source.
GuiTextInputBox
pGuiTextInputBox GuiTextInputBox;
Undocumented in source.
GuiToggle
pGuiToggle GuiToggle;
Undocumented in source.
GuiToggleGroup
pGuiToggleGroup GuiToggleGroup;
Undocumented in source.
GuiUnlock
pGuiUnlock GuiUnlock;
Undocumented in source.
GuiValueBox
pGuiValueBox GuiValueBox;
Undocumented in source.
GuiWindowBox
pGuiWindowBox GuiWindowBox;
Undocumented in source.

Meta