lib Raygui

Overview

Defined in:

raylib-cr/raygui.cr

Constant Summary

SCROLLBAR_LEFT_SIDE = 0
SCROLLBAR_RIGHT_SIDE = 1
VERSION = "4.0"

Function Summary

Function Detail

fun button = GuiButton(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun check_box = GuiCheckBox(bounds : Raylib::Rectangle, text : Pointer(UInt8), checked : Pointer(Bool)) : LibC::Int #

[View source]
fun color_bar_alpha = GuiColorBarAlpha(bounds : Raylib::Rectangle, text : Pointer(UInt8), alpha : Pointer(Float32)) : LibC::Int #

[View source]
fun color_bar_hue = GuiColorBarHue(bounds : Raylib::Rectangle, text : Pointer(UInt8), value : Pointer(Float32)) : LibC::Int #

[View source]
fun color_panel = GuiColorPanel(bounds : Raylib::Rectangle, text : Pointer(UInt8), color : Pointer(Raylib::Color)) : LibC::Int #

[View source]
fun color_panel_hsv = GuiColorPanelHSV(bounds : Raylib::Rectangle, text : Pointer(UInt8), color_hsv : Pointer(Raylib::Vector3)) : LibC::Int #

[View source]
fun color_picker = GuiColorPicker(bounds : Raylib::Rectangle, text : Pointer(UInt8), color : Pointer(Raylib::Color)) : LibC::Int #

[View source]
fun color_picker_hsv = GuiColorPickerHSV(bounds : Raylib::Rectangle, text : Pointer(UInt8), color_hsv : Pointer(Raylib::Vector3)) : LibC::Int #

[View source]
fun combo_box = GuiComboBox(bounds : Raylib::Rectangle, text : Pointer(UInt8), active : Pointer(Int32)) : LibC::Int #

[View source]
fun disable = GuiEnable #

[View source]
fun disable_tooltip = GuiDisableTooltip #

[View source]
fun draw_icon = GuiDrawIcon(icon_id : Int32, x : Int32, y : Int32, pixel_size : Int32, color : Raylib::Color) #

[View source]
fun dropdown_box = GuiDropdownBox(bounds : Raylib::Rectangle, text : Pointer(UInt8), active : Pointer(Int32), edit_mode : Bool) : LibC::Int #

[View source]
fun dummy_rec = GuiDummyRec(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun enable = GuiEnable #

[View source]
fun enable_tooltip = GuiEnableTooltip #

[View source]
fun get_font = GuiGetFont : Raylib::Font #

[View source]
fun get_icons = GuiGetIcons : Pointer(LibC::UInt) #

[View source]
fun get_state = GuiGetState : LibC::Int #

[View source]
fun get_style = GuiGetStyle(control : Int32, property : Int32) : LibC::Int #

[View source]
fun grid = GuiGrid(bounds : Raylib::Rectangle, text : Pointer(UInt8), spacing : Float32, subdivs : Int32, mouse_cell : Pointer(Raylib::Vector2)) : LibC::Int #

[View source]
fun group_box = GuiGroupBox(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun icon_text = GuiIconText(icon_id : Int32, text : Pointer(UInt8)) : Pointer(LibC::Char) #

[View source]
fun is_locked? = GuiIsLocked : Bool #

[View source]
fun label = GuiLabel(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun label_button = GuiLabelButton(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun line = GuiLine(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun list_view = GuiListView(bounds : Raylib::Rectangle, text : Pointer(UInt8), scroll_index : Pointer(Int32), active : Pointer(Int32)) : LibC::Int #

[View source]
fun list_view_ex = GuiListViewEx(bounds : Raylib::Rectangle, text : Pointer(Pointer(UInt8)), count : Int32, scroll_index : Pointer(Int32), active : Pointer(Int32), focus : Pointer(Int32)) : LibC::Int #

[View source]
fun load_icons = GuiLoadIcons(filename : Pointer(UInt8), load_icons_name : Bool) : Pointer(Pointer(LibC::Char)) #

[View source]
fun load_style = GuiLoadStyle(filename : Pointer(UInt8)) #

[View source]
fun load_style_default = GuiLoadStyleDefault #

[View source]
fun lock = GuiLock #

[View source]
fun message_box = GuiMessageBox(bounds : Raylib::Rectangle, title : Pointer(UInt8), message : Pointer(UInt8), buttons : Pointer(UInt8)) : LibC::Int #

[View source]
fun panel = GuiPanel(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun progress_bar = GuiProgressBar(bounds : Raylib::Rectangle, text_left : Pointer(UInt8), text_right : Pointer(UInt8), value : Pointer(Float32), min_value : Float32, max_value : Float32) : LibC::Int #

[View source]
fun scroll_panel = GuiScrollPanel(bounds : Raylib::Rectangle, text : Pointer(UInt8), content : Raylib::Rectangle, scroll : Pointer(Raylib::Vector2), view : Pointer(Raylib::Rectangle)) : LibC::Int #

[View source]
fun set_alpha = GuiSetAlpha(alpha : Float32) #

[View source]
fun set_font = GuiSetFont(font : Raylib::Font) #

[View source]
fun set_icon_scale = GuiSetIconScale(scale : Int32) #

[View source]
fun set_state = GuiSetState(state : Int32) #

[View source]
fun set_style = GuiSetStyle(control : Int32, property : Int32, value : Int32) #

[View source]
fun set_tooltip = GuiSetTooltip(tooltip : Pointer(UInt8)) #

[View source]
fun slider = GuiSlider(bounds : Raylib::Rectangle, text_left : Pointer(UInt8), text_right : Pointer(UInt8), value : Pointer(Float32), min_value : Float32, max_value : Float32) : LibC::Int #

[View source]
fun slider_bar = GuiSliderBar(bounds : Raylib::Rectangle, text_left : Pointer(UInt8), text_right : Pointer(UInt8), value : Pointer(Float32), min_value : Float32, max_value : Float32) : LibC::Int #

[View source]
fun spinner = GuiSpinner(bounds : Raylib::Rectangle, text : Pointer(UInt8), value : Pointer(Int32), min_value : Int32, max_value : Int32, edit_mode : Bool) : LibC::Int #

[View source]
fun status_bar = GuiStatusBar(bounds : Raylib::Rectangle, text : Pointer(UInt8)) : LibC::Int #

[View source]
fun tab_bar = GuiTabBar(bounds : Raylib::Rectangle, text : Pointer(Pointer(UInt8)), count : Int32, active : Pointer(Int32)) : LibC::Int #

[View source]
fun text_box = GuiTextBox(bounds : Raylib::Rectangle, text : Pointer(UInt8), text_size : Int32, edit_mode : Bool) : LibC::Int #

[View source]
fun text_input_box = GuiTextInputBox(bounds : Raylib::Rectangle, title : Pointer(UInt8), message : Pointer(UInt8), buttons : Pointer(UInt8), text : Pointer(UInt8), text_max_size : Int32, secret_view_active : Pointer(Bool)) : LibC::Int #

[View source]
fun toggle = GuiToggle(bounds : Raylib::Rectangle, text : Pointer(UInt8), active : Pointer(Bool)) : LibC::Int #

[View source]
fun toggle_group = GuiToggleGroup(bounds : Raylib::Rectangle, text : Pointer(UInt8), active : Pointer(Int32)) : LibC::Int #

[View source]
fun toggle_slider = GuiToggleSlider(bounds : Raylib::Rectangle, text : Pointer(UInt8), active : Pointer(Int32)) : LibC::Int #

[View source]
fun unlock = GuiUnlock #

[View source]
fun value_box = GuiValueBox(bounds : Raylib::Rectangle, text : Pointer(UInt8), value : Pointer(Int32), min_value : Int32, max_value : Int32, edit_mode : Bool) : LibC::Int #

[View source]
fun window_box = GuiWindowBox(bounds : Raylib::Rectangle, title : Pointer(UInt8)) : LibC::Int #

[View source]