raylib 5.5.0.3rc1__cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of raylib might be problematic. Click here for more details.

@@ -0,0 +1,865 @@
1
+ /*******************************************************************************************
2
+ *
3
+ * raygui v4.5-dev - A simple and easy-to-use immediate-mode gui library
4
+ *
5
+ * DESCRIPTION:
6
+ * raygui is a tools-dev-focused immediate-mode-gui library based on raylib but also
7
+ * available as a standalone library, as long as input and drawing functions are provided.
8
+ *
9
+ * FEATURES:
10
+ * - Immediate-mode gui, minimal retained data
11
+ * - +25 controls provided (basic and advanced)
12
+ * - Styling system for colors, font and metrics
13
+ * - Icons supported, embedded as a 1-bit icons pack
14
+ * - Standalone mode option (custom input/graphics backend)
15
+ * - Multiple support tools provided for raygui development
16
+ *
17
+ * POSSIBLE IMPROVEMENTS:
18
+ * - Better standalone mode API for easy plug of custom backends
19
+ * - Externalize required inputs, allow user easier customization
20
+ *
21
+ * LIMITATIONS:
22
+ * - No editable multi-line word-wraped text box supported
23
+ * - No auto-layout mechanism, up to the user to define controls position and size
24
+ * - Standalone mode requires library modification and some user work to plug another backend
25
+ *
26
+ * NOTES:
27
+ * - WARNING: GuiLoadStyle() and GuiLoadStyle{Custom}() functions, allocate memory for
28
+ * font atlas recs and glyphs, freeing that memory is (usually) up to the user,
29
+ * no unload function is explicitly provided... but note that GuiLoadStyleDefault() unloads
30
+ * by default any previously loaded font (texture, recs, glyphs).
31
+ * - Global UI alpha (guiAlpha) is applied inside GuiDrawRectangle() and GuiDrawText() functions
32
+ *
33
+ * CONTROLS PROVIDED:
34
+ * # Container/separators Controls
35
+ * - WindowBox --> StatusBar, Panel
36
+ * - GroupBox --> Line
37
+ * - Line
38
+ * - Panel --> StatusBar
39
+ * - ScrollPanel --> StatusBar
40
+ * - TabBar --> Button
41
+ *
42
+ * # Basic Controls
43
+ * - Label
44
+ * - LabelButton --> Label
45
+ * - Button
46
+ * - Toggle
47
+ * - ToggleGroup --> Toggle
48
+ * - ToggleSlider
49
+ * - CheckBox
50
+ * - ComboBox
51
+ * - DropdownBox
52
+ * - TextBox
53
+ * - ValueBox --> TextBox
54
+ * - Spinner --> Button, ValueBox
55
+ * - Slider
56
+ * - SliderBar --> Slider
57
+ * - ProgressBar
58
+ * - StatusBar
59
+ * - DummyRec
60
+ * - Grid
61
+ *
62
+ * # Advance Controls
63
+ * - ListView
64
+ * - ColorPicker --> ColorPanel, ColorBarHue
65
+ * - MessageBox --> Window, Label, Button
66
+ * - TextInputBox --> Window, Label, TextBox, Button
67
+ *
68
+ * It also provides a set of functions for styling the controls based on its properties (size, color).
69
+ *
70
+ *
71
+ * RAYGUI STYLE (guiStyle):
72
+ * raygui uses a global data array for all gui style properties (allocated on data segment by default),
73
+ * when a new style is loaded, it is loaded over the global style... but a default gui style could always be
74
+ * recovered with GuiLoadStyleDefault() function, that overwrites the current style to the default one
75
+ *
76
+ * The global style array size is fixed and depends on the number of controls and properties:
77
+ *
78
+ * static unsigned int guiStyle[RAYGUI_MAX_CONTROLS*(RAYGUI_MAX_PROPS_BASE + RAYGUI_MAX_PROPS_EXTENDED)];
79
+ *
80
+ * guiStyle size is by default: 16*(16 + 8) = 384*4 = 1536 bytes = 1.5 KB
81
+ *
82
+ * Note that the first set of BASE properties (by default guiStyle[0..15]) belong to the generic style
83
+ * used for all controls, when any of those base values is set, it is automatically populated to all
84
+ * controls, so, specific control values overwriting generic style should be set after base values.
85
+ *
86
+ * After the first BASE set we have the EXTENDED properties (by default guiStyle[16..23]), those
87
+ * properties are actually common to all controls and can not be overwritten individually (like BASE ones)
88
+ * Some of those properties are: TEXT_SIZE, TEXT_SPACING, LINE_COLOR, BACKGROUND_COLOR
89
+ *
90
+ * Custom control properties can be defined using the EXTENDED properties for each independent control.
91
+ *
92
+ * TOOL: rGuiStyler is a visual tool to customize raygui style: github.com/raysan5/rguistyler
93
+ *
94
+ *
95
+ * RAYGUI ICONS (guiIcons):
96
+ * raygui could use a global array containing icons data (allocated on data segment by default),
97
+ * a custom icons set could be loaded over this array using GuiLoadIcons(), but loaded icons set
98
+ * must be same RAYGUI_ICON_SIZE and no more than RAYGUI_ICON_MAX_ICONS will be loaded
99
+ *
100
+ * Every icon is codified in binary form, using 1 bit per pixel, so, every 16x16 icon
101
+ * requires 8 integers (16*16/32) to be stored in memory.
102
+ *
103
+ * When the icon is draw, actually one quad per pixel is drawn if the bit for that pixel is set.
104
+ *
105
+ * The global icons array size is fixed and depends on the number of icons and size:
106
+ *
107
+ * static unsigned int guiIcons[RAYGUI_ICON_MAX_ICONS*RAYGUI_ICON_DATA_ELEMENTS];
108
+ *
109
+ * guiIcons size is by default: 256*(16*16/32) = 2048*4 = 8192 bytes = 8 KB
110
+ *
111
+ * TOOL: rGuiIcons is a visual tool to customize/create raygui icons: github.com/raysan5/rguiicons
112
+ *
113
+ * RAYGUI LAYOUT:
114
+ * raygui currently does not provide an auto-layout mechanism like other libraries,
115
+ * layouts must be defined manually on controls drawing, providing the right bounds Rectangle for it.
116
+ *
117
+ * TOOL: rGuiLayout is a visual tool to create raygui layouts: github.com/raysan5/rguilayout
118
+ *
119
+ * CONFIGURATION:
120
+ * #define RAYGUI_IMPLEMENTATION
121
+ * Generates the implementation of the library into the included file.
122
+ * If not defined, the library is in header only mode and can be included in other headers
123
+ * or source files without problems. But only ONE file should hold the implementation.
124
+ *
125
+ * #define RAYGUI_STANDALONE
126
+ * Avoid raylib.h header inclusion in this file. Data types defined on raylib are defined
127
+ * internally in the library and input management and drawing functions must be provided by
128
+ * the user (check library implementation for further details).
129
+ *
130
+ * #define RAYGUI_NO_ICONS
131
+ * Avoid including embedded ricons data (256 icons, 16x16 pixels, 1-bit per pixel, 2KB)
132
+ *
133
+ * #define RAYGUI_CUSTOM_ICONS
134
+ * Includes custom ricons.h header defining a set of custom icons,
135
+ * this file can be generated using rGuiIcons tool
136
+ *
137
+ * #define RAYGUI_DEBUG_RECS_BOUNDS
138
+ * Draw control bounds rectangles for debug
139
+ *
140
+ * #define RAYGUI_DEBUG_TEXT_BOUNDS
141
+ * Draw text bounds rectangles for debug
142
+ *
143
+ * VERSIONS HISTORY:
144
+ * 4.5-dev (Sep-2024) Current dev version...
145
+ * ADDED: guiControlExclusiveMode and guiControlExclusiveRec for exclusive modes
146
+ * ADDED: GuiValueBoxFloat()
147
+ * ADDED: GuiDropdonwBox() properties: DROPDOWN_ARROW_HIDDEN, DROPDOWN_ROLL_UP
148
+ * ADDED: GuiListView() property: LIST_ITEMS_BORDER_WIDTH
149
+ * ADDED: Multiple new icons
150
+ * REVIEWED: GuiTabBar(), close tab with mouse middle button
151
+ * REVIEWED: GuiScrollPanel(), scroll speed proportional to content
152
+ * REVIEWED: GuiDropdownBox(), support roll up and hidden arrow
153
+ * REVIEWED: GuiTextBox(), cursor position initialization
154
+ * REVIEWED: GuiSliderPro(), control value change check
155
+ * REVIEWED: GuiGrid(), simplified implementation
156
+ * REVIEWED: GuiIconText(), increase buffer size and reviewed padding
157
+ * REVIEWED: GuiDrawText(), improved wrap mode drawing
158
+ * REVIEWED: GuiScrollBar(), minor tweaks
159
+ * REVIEWED: Functions descriptions, removed wrong return value reference
160
+ * REDESIGNED: GuiColorPanel(), improved HSV <-> RGBA convertion
161
+ *
162
+ * 4.0 (12-Sep-2023) ADDED: GuiToggleSlider()
163
+ * ADDED: GuiColorPickerHSV() and GuiColorPanelHSV()
164
+ * ADDED: Multiple new icons, mostly compiler related
165
+ * ADDED: New DEFAULT properties: TEXT_LINE_SPACING, TEXT_ALIGNMENT_VERTICAL, TEXT_WRAP_MODE
166
+ * ADDED: New enum values: GuiTextAlignment, GuiTextAlignmentVertical, GuiTextWrapMode
167
+ * ADDED: Support loading styles with custom font charset from external file
168
+ * REDESIGNED: GuiTextBox(), support mouse cursor positioning
169
+ * REDESIGNED: GuiDrawText(), support multiline and word-wrap modes (read only)
170
+ * REDESIGNED: GuiProgressBar() to be more visual, progress affects border color
171
+ * REDESIGNED: Global alpha consideration moved to GuiDrawRectangle() and GuiDrawText()
172
+ * REDESIGNED: GuiScrollPanel(), get parameters by reference and return result value
173
+ * REDESIGNED: GuiToggleGroup(), get parameters by reference and return result value
174
+ * REDESIGNED: GuiComboBox(), get parameters by reference and return result value
175
+ * REDESIGNED: GuiCheckBox(), get parameters by reference and return result value
176
+ * REDESIGNED: GuiSlider(), get parameters by reference and return result value
177
+ * REDESIGNED: GuiSliderBar(), get parameters by reference and return result value
178
+ * REDESIGNED: GuiProgressBar(), get parameters by reference and return result value
179
+ * REDESIGNED: GuiListView(), get parameters by reference and return result value
180
+ * REDESIGNED: GuiColorPicker(), get parameters by reference and return result value
181
+ * REDESIGNED: GuiColorPanel(), get parameters by reference and return result value
182
+ * REDESIGNED: GuiColorBarAlpha(), get parameters by reference and return result value
183
+ * REDESIGNED: GuiColorBarHue(), get parameters by reference and return result value
184
+ * REDESIGNED: GuiGrid(), get parameters by reference and return result value
185
+ * REDESIGNED: GuiGrid(), added extra parameter
186
+ * REDESIGNED: GuiListViewEx(), change parameters order
187
+ * REDESIGNED: All controls return result as int value
188
+ * REVIEWED: GuiScrollPanel() to avoid smallish scroll-bars
189
+ * REVIEWED: All examples and specially controls_test_suite
190
+ * RENAMED: gui_file_dialog module to gui_window_file_dialog
191
+ * UPDATED: All styles to include ISO-8859-15 charset (as much as possible)
192
+ *
193
+ * 3.6 (10-May-2023) ADDED: New icon: SAND_TIMER
194
+ * ADDED: GuiLoadStyleFromMemory() (binary only)
195
+ * REVIEWED: GuiScrollBar() horizontal movement key
196
+ * REVIEWED: GuiTextBox() crash on cursor movement
197
+ * REVIEWED: GuiTextBox(), additional inputs support
198
+ * REVIEWED: GuiLabelButton(), avoid text cut
199
+ * REVIEWED: GuiTextInputBox(), password input
200
+ * REVIEWED: Local GetCodepointNext(), aligned with raylib
201
+ * REDESIGNED: GuiSlider*()/GuiScrollBar() to support out-of-bounds
202
+ *
203
+ * 3.5 (20-Apr-2023) ADDED: GuiTabBar(), based on GuiToggle()
204
+ * ADDED: Helper functions to split text in separate lines
205
+ * ADDED: Multiple new icons, useful for code editing tools
206
+ * REMOVED: Unneeded icon editing functions
207
+ * REMOVED: GuiTextBoxMulti(), very limited and broken
208
+ * REMOVED: MeasureTextEx() dependency, logic directly implemented
209
+ * REMOVED: DrawTextEx() dependency, logic directly implemented
210
+ * REVIEWED: GuiScrollBar(), improve mouse-click behaviour
211
+ * REVIEWED: Library header info, more info, better organized
212
+ * REDESIGNED: GuiTextBox() to support cursor movement
213
+ * REDESIGNED: GuiDrawText() to divide drawing by lines
214
+ *
215
+ * 3.2 (22-May-2022) RENAMED: Some enum values, for unification, avoiding prefixes
216
+ * REMOVED: GuiScrollBar(), only internal
217
+ * REDESIGNED: GuiPanel() to support text parameter
218
+ * REDESIGNED: GuiScrollPanel() to support text parameter
219
+ * REDESIGNED: GuiColorPicker() to support text parameter
220
+ * REDESIGNED: GuiColorPanel() to support text parameter
221
+ * REDESIGNED: GuiColorBarAlpha() to support text parameter
222
+ * REDESIGNED: GuiColorBarHue() to support text parameter
223
+ * REDESIGNED: GuiTextInputBox() to support password
224
+ *
225
+ * 3.1 (12-Jan-2022) REVIEWED: Default style for consistency (aligned with rGuiLayout v2.5 tool)
226
+ * REVIEWED: GuiLoadStyle() to support compressed font atlas image data and unload previous textures
227
+ * REVIEWED: External icons usage logic
228
+ * REVIEWED: GuiLine() for centered alignment when including text
229
+ * RENAMED: Multiple controls properties definitions to prepend RAYGUI_
230
+ * RENAMED: RICON_ references to RAYGUI_ICON_ for library consistency
231
+ * Projects updated and multiple tweaks
232
+ *
233
+ * 3.0 (04-Nov-2021) Integrated ricons data to avoid external file
234
+ * REDESIGNED: GuiTextBoxMulti()
235
+ * REMOVED: GuiImageButton*()
236
+ * Multiple minor tweaks and bugs corrected
237
+ *
238
+ * 2.9 (17-Mar-2021) REMOVED: Tooltip API
239
+ * 2.8 (03-May-2020) Centralized rectangles drawing to GuiDrawRectangle()
240
+ * 2.7 (20-Feb-2020) ADDED: Possible tooltips API
241
+ * 2.6 (09-Sep-2019) ADDED: GuiTextInputBox()
242
+ * REDESIGNED: GuiListView*(), GuiDropdownBox(), GuiSlider*(), GuiProgressBar(), GuiMessageBox()
243
+ * REVIEWED: GuiTextBox(), GuiSpinner(), GuiValueBox(), GuiLoadStyle()
244
+ * Replaced property INNER_PADDING by TEXT_PADDING, renamed some properties
245
+ * ADDED: 8 new custom styles ready to use
246
+ * Multiple minor tweaks and bugs corrected
247
+ *
248
+ * 2.5 (28-May-2019) Implemented extended GuiTextBox(), GuiValueBox(), GuiSpinner()
249
+ * 2.3 (29-Apr-2019) ADDED: rIcons auxiliar library and support for it, multiple controls reviewed
250
+ * Refactor all controls drawing mechanism to use control state
251
+ * 2.2 (05-Feb-2019) ADDED: GuiScrollBar(), GuiScrollPanel(), reviewed GuiListView(), removed Gui*Ex() controls
252
+ * 2.1 (26-Dec-2018) REDESIGNED: GuiCheckBox(), GuiComboBox(), GuiDropdownBox(), GuiToggleGroup() > Use combined text string
253
+ * REDESIGNED: Style system (breaking change)
254
+ * 2.0 (08-Nov-2018) ADDED: Support controls guiLock and custom fonts
255
+ * REVIEWED: GuiComboBox(), GuiListView()...
256
+ * 1.9 (09-Oct-2018) REVIEWED: GuiGrid(), GuiTextBox(), GuiTextBoxMulti(), GuiValueBox()...
257
+ * 1.8 (01-May-2018) Lot of rework and redesign to align with rGuiStyler and rGuiLayout
258
+ * 1.5 (21-Jun-2017) Working in an improved styles system
259
+ * 1.4 (15-Jun-2017) Rewritten all GUI functions (removed useless ones)
260
+ * 1.3 (12-Jun-2017) Complete redesign of style system
261
+ * 1.1 (01-Jun-2017) Complete review of the library
262
+ * 1.0 (07-Jun-2016) Converted to header-only by Ramon Santamaria.
263
+ * 0.9 (07-Mar-2016) Reviewed and tested by Albert Martos, Ian Eito, Sergio Martinez and Ramon Santamaria.
264
+ * 0.8 (27-Aug-2015) Initial release. Implemented by Kevin Gato, Daniel Nicolás and Ramon Santamaria.
265
+ *
266
+ * DEPENDENCIES:
267
+ * raylib 5.0 - Inputs reading (keyboard/mouse), shapes drawing, font loading and text drawing
268
+ *
269
+ * STANDALONE MODE:
270
+ * By default raygui depends on raylib mostly for the inputs and the drawing functionality but that dependency can be disabled
271
+ * with the config flag RAYGUI_STANDALONE. In that case is up to the user to provide another backend to cover library needs.
272
+ *
273
+ * The following functions should be redefined for a custom backend:
274
+ *
275
+ * - Vector2 GetMousePosition(void);
276
+ * - float GetMouseWheelMove(void);
277
+ * - bool IsMouseButtonDown(int button);
278
+ * - bool IsMouseButtonPressed(int button);
279
+ * - bool IsMouseButtonReleased(int button);
280
+ * - bool IsKeyDown(int key);
281
+ * - bool IsKeyPressed(int key);
282
+ * - int GetCharPressed(void); // -- GuiTextBox(), GuiValueBox()
283
+ *
284
+ * - void DrawRectangle(int x, int y, int width, int height, Color color); // -- GuiDrawRectangle()
285
+ * - void DrawRectangleGradientEx(Rectangle rec, Color col1, Color col2, Color col3, Color col4); // -- GuiColorPicker()
286
+ *
287
+ * - Font GetFontDefault(void); // -- GuiLoadStyleDefault()
288
+ * - Font LoadFontEx(const char *fileName, int fontSize, int *codepoints, int codepointCount); // -- GuiLoadStyle()
289
+ * - Texture2D LoadTextureFromImage(Image image); // -- GuiLoadStyle(), required to load texture from embedded font atlas image
290
+ * - void SetShapesTexture(Texture2D tex, Rectangle rec); // -- GuiLoadStyle(), required to set shapes rec to font white rec (optimization)
291
+ * - char *LoadFileText(const char *fileName); // -- GuiLoadStyle(), required to load charset data
292
+ * - void UnloadFileText(char *text); // -- GuiLoadStyle(), required to unload charset data
293
+ * - const char *GetDirectoryPath(const char *filePath); // -- GuiLoadStyle(), required to find charset/font file from text .rgs
294
+ * - int *LoadCodepoints(const char *text, int *count); // -- GuiLoadStyle(), required to load required font codepoints list
295
+ * - void UnloadCodepoints(int *codepoints); // -- GuiLoadStyle(), required to unload codepoints list
296
+ * - unsigned char *DecompressData(const unsigned char *compData, int compDataSize, int *dataSize); // -- GuiLoadStyle()
297
+ *
298
+ * CONTRIBUTORS:
299
+ * Ramon Santamaria: Supervision, review, redesign, update and maintenance
300
+ * Vlad Adrian: Complete rewrite of GuiTextBox() to support extended features (2019)
301
+ * Sergio Martinez: Review, testing (2015) and redesign of multiple controls (2018)
302
+ * Adria Arranz: Testing and implementation of additional controls (2018)
303
+ * Jordi Jorba: Testing and implementation of additional controls (2018)
304
+ * Albert Martos: Review and testing of the library (2015)
305
+ * Ian Eito: Review and testing of the library (2015)
306
+ * Kevin Gato: Initial implementation of basic components (2014)
307
+ * Daniel Nicolas: Initial implementation of basic components (2014)
308
+ *
309
+ *
310
+ * LICENSE: zlib/libpng
311
+ *
312
+ * Copyright (c) 2014-2024 Ramon Santamaria (@raysan5)
313
+ *
314
+ * This software is provided "as-is", without any express or implied warranty. In no event
315
+ * will the authors be held liable for any damages arising from the use of this software.
316
+ *
317
+ * Permission is granted to anyone to use this software for any purpose, including commercial
318
+ * applications, and to alter it and redistribute it freely, subject to the following restrictions:
319
+ *
320
+ * 1. The origin of this software must not be misrepresented; you must not claim that you
321
+ * wrote the original software. If you use this software in a product, an acknowledgment
322
+ * in the product documentation would be appreciated but is not required.
323
+ *
324
+ * 2. Altered source versions must be plainly marked as such, and must not be misrepresented
325
+ * as being the original software.
326
+ *
327
+ * 3. This notice may not be removed or altered from any source distribution.
328
+ *
329
+ **********************************************************************************************/
330
+ // Function specifiers in case library is build/used as a shared library (Windows)
331
+ // NOTE: Microsoft specifiers to tell compiler that symbols are imported/exported from a .dll
332
+ // Function specifiers definition
333
+ //----------------------------------------------------------------------------------
334
+ // Defines and Macros
335
+ //----------------------------------------------------------------------------------
336
+ // Allow custom memory allocators
337
+ // Simple log system to avoid printf() calls if required
338
+ // NOTE: Avoiding those calls, also avoids const strings memory usage
339
+ //----------------------------------------------------------------------------------
340
+ // Types and Structures Definition
341
+ // NOTE: Some types are required for RAYGUI_STANDALONE usage
342
+ //----------------------------------------------------------------------------------
343
+ // Style property
344
+ // NOTE: Used when exporting style as code for convenience
345
+ typedef struct GuiStyleProp {
346
+ unsigned short controlId; // Control identifier
347
+ unsigned short propertyId; // Property identifier
348
+ int propertyValue; // Property value
349
+ } GuiStyleProp;
350
+ /*
351
+ // Controls text style -NOT USED-
352
+ // NOTE: Text style is defined by control
353
+ typedef struct GuiTextStyle {
354
+ unsigned int size;
355
+ int charSpacing;
356
+ int lineSpacing;
357
+ int alignmentH;
358
+ int alignmentV;
359
+ int padding;
360
+ } GuiTextStyle;
361
+ */
362
+ // Gui control state
363
+ typedef enum {
364
+ STATE_NORMAL = 0,
365
+ STATE_FOCUSED,
366
+ STATE_PRESSED,
367
+ STATE_DISABLED
368
+ } GuiState;
369
+ // Gui control text alignment
370
+ typedef enum {
371
+ TEXT_ALIGN_LEFT = 0,
372
+ TEXT_ALIGN_CENTER,
373
+ TEXT_ALIGN_RIGHT
374
+ } GuiTextAlignment;
375
+ // Gui control text alignment vertical
376
+ // NOTE: Text vertical position inside the text bounds
377
+ typedef enum {
378
+ TEXT_ALIGN_TOP = 0,
379
+ TEXT_ALIGN_MIDDLE,
380
+ TEXT_ALIGN_BOTTOM
381
+ } GuiTextAlignmentVertical;
382
+ // Gui control text wrap mode
383
+ // NOTE: Useful for multiline text
384
+ typedef enum {
385
+ TEXT_WRAP_NONE = 0,
386
+ TEXT_WRAP_CHAR,
387
+ TEXT_WRAP_WORD
388
+ } GuiTextWrapMode;
389
+ // Gui controls
390
+ typedef enum {
391
+ // Default -> populates to all controls when set
392
+ DEFAULT = 0,
393
+ // Basic controls
394
+ LABEL, // Used also for: LABELBUTTON
395
+ BUTTON,
396
+ TOGGLE, // Used also for: TOGGLEGROUP
397
+ SLIDER, // Used also for: SLIDERBAR, TOGGLESLIDER
398
+ PROGRESSBAR,
399
+ CHECKBOX,
400
+ COMBOBOX,
401
+ DROPDOWNBOX,
402
+ TEXTBOX, // Used also for: TEXTBOXMULTI
403
+ VALUEBOX,
404
+ SPINNER, // Uses: BUTTON, VALUEBOX
405
+ LISTVIEW,
406
+ COLORPICKER,
407
+ SCROLLBAR,
408
+ STATUSBAR
409
+ } GuiControl;
410
+ // Gui base properties for every control
411
+ // NOTE: RAYGUI_MAX_PROPS_BASE properties (by default 16 properties)
412
+ typedef enum {
413
+ BORDER_COLOR_NORMAL = 0, // Control border color in STATE_NORMAL
414
+ BASE_COLOR_NORMAL, // Control base color in STATE_NORMAL
415
+ TEXT_COLOR_NORMAL, // Control text color in STATE_NORMAL
416
+ BORDER_COLOR_FOCUSED, // Control border color in STATE_FOCUSED
417
+ BASE_COLOR_FOCUSED, // Control base color in STATE_FOCUSED
418
+ TEXT_COLOR_FOCUSED, // Control text color in STATE_FOCUSED
419
+ BORDER_COLOR_PRESSED, // Control border color in STATE_PRESSED
420
+ BASE_COLOR_PRESSED, // Control base color in STATE_PRESSED
421
+ TEXT_COLOR_PRESSED, // Control text color in STATE_PRESSED
422
+ BORDER_COLOR_DISABLED, // Control border color in STATE_DISABLED
423
+ BASE_COLOR_DISABLED, // Control base color in STATE_DISABLED
424
+ TEXT_COLOR_DISABLED, // Control text color in STATE_DISABLED
425
+ BORDER_WIDTH, // Control border size, 0 for no border
426
+ //TEXT_SIZE, // Control text size (glyphs max height) -> GLOBAL for all controls
427
+ //TEXT_SPACING, // Control text spacing between glyphs -> GLOBAL for all controls
428
+ //TEXT_LINE_SPACING // Control text spacing between lines -> GLOBAL for all controls
429
+ TEXT_PADDING, // Control text padding, not considering border
430
+ TEXT_ALIGNMENT, // Control text horizontal alignment inside control text bound (after border and padding)
431
+ //TEXT_WRAP_MODE // Control text wrap-mode inside text bounds -> GLOBAL for all controls
432
+ } GuiControlProperty;
433
+ // TODO: Which text styling properties should be global or per-control?
434
+ // At this moment TEXT_PADDING and TEXT_ALIGNMENT is configured and saved per control while
435
+ // TEXT_SIZE, TEXT_SPACING, TEXT_LINE_SPACING, TEXT_ALIGNMENT_VERTICAL, TEXT_WRAP_MODE are global and
436
+ // should be configured by user as needed while defining the UI layout
437
+ // Gui extended properties depend on control
438
+ // NOTE: RAYGUI_MAX_PROPS_EXTENDED properties (by default, max 8 properties)
439
+ //----------------------------------------------------------------------------------
440
+ // DEFAULT extended properties
441
+ // NOTE: Those properties are common to all controls or global
442
+ // WARNING: We only have 8 slots for those properties by default!!! -> New global control: TEXT?
443
+ typedef enum {
444
+ TEXT_SIZE = 16, // Text size (glyphs max height)
445
+ TEXT_SPACING, // Text spacing between glyphs
446
+ LINE_COLOR, // Line control color
447
+ BACKGROUND_COLOR, // Background color
448
+ TEXT_LINE_SPACING, // Text spacing between lines
449
+ TEXT_ALIGNMENT_VERTICAL, // Text vertical alignment inside text bounds (after border and padding)
450
+ TEXT_WRAP_MODE // Text wrap-mode inside text bounds
451
+ //TEXT_DECORATION // Text decoration: 0-None, 1-Underline, 2-Line-through, 3-Overline
452
+ //TEXT_DECORATION_THICK // Text decoration line thickness
453
+ } GuiDefaultProperty;
454
+ // Other possible text properties:
455
+ // TEXT_WEIGHT // Normal, Italic, Bold -> Requires specific font change
456
+ // TEXT_INDENT // Text indentation -> Now using TEXT_PADDING...
457
+ // Label
458
+ //typedef enum { } GuiLabelProperty;
459
+ // Button/Spinner
460
+ //typedef enum { } GuiButtonProperty;
461
+ // Toggle/ToggleGroup
462
+ typedef enum {
463
+ GROUP_PADDING = 16, // ToggleGroup separation between toggles
464
+ } GuiToggleProperty;
465
+ // Slider/SliderBar
466
+ typedef enum {
467
+ SLIDER_WIDTH = 16, // Slider size of internal bar
468
+ SLIDER_PADDING // Slider/SliderBar internal bar padding
469
+ } GuiSliderProperty;
470
+ // ProgressBar
471
+ typedef enum {
472
+ PROGRESS_PADDING = 16, // ProgressBar internal padding
473
+ } GuiProgressBarProperty;
474
+ // ScrollBar
475
+ typedef enum {
476
+ ARROWS_SIZE = 16, // ScrollBar arrows size
477
+ ARROWS_VISIBLE, // ScrollBar arrows visible
478
+ SCROLL_SLIDER_PADDING, // ScrollBar slider internal padding
479
+ SCROLL_SLIDER_SIZE, // ScrollBar slider size
480
+ SCROLL_PADDING, // ScrollBar scroll padding from arrows
481
+ SCROLL_SPEED, // ScrollBar scrolling speed
482
+ } GuiScrollBarProperty;
483
+ // CheckBox
484
+ typedef enum {
485
+ CHECK_PADDING = 16 // CheckBox internal check padding
486
+ } GuiCheckBoxProperty;
487
+ // ComboBox
488
+ typedef enum {
489
+ COMBO_BUTTON_WIDTH = 16, // ComboBox right button width
490
+ COMBO_BUTTON_SPACING // ComboBox button separation
491
+ } GuiComboBoxProperty;
492
+ // DropdownBox
493
+ typedef enum {
494
+ ARROW_PADDING = 16, // DropdownBox arrow separation from border and items
495
+ DROPDOWN_ITEMS_SPACING, // DropdownBox items separation
496
+ DROPDOWN_ARROW_HIDDEN, // DropdownBox arrow hidden
497
+ DROPDOWN_ROLL_UP // DropdownBox roll up flag (default rolls down)
498
+ } GuiDropdownBoxProperty;
499
+ // TextBox/TextBoxMulti/ValueBox/Spinner
500
+ typedef enum {
501
+ TEXT_READONLY = 16, // TextBox in read-only mode: 0-text editable, 1-text no-editable
502
+ } GuiTextBoxProperty;
503
+ // Spinner
504
+ typedef enum {
505
+ SPIN_BUTTON_WIDTH = 16, // Spinner left/right buttons width
506
+ SPIN_BUTTON_SPACING, // Spinner buttons separation
507
+ } GuiSpinnerProperty;
508
+ // ListView
509
+ typedef enum {
510
+ LIST_ITEMS_HEIGHT = 16, // ListView items height
511
+ LIST_ITEMS_SPACING, // ListView items separation
512
+ SCROLLBAR_WIDTH, // ListView scrollbar size (usually width)
513
+ SCROLLBAR_SIDE, // ListView scrollbar side (0-SCROLLBAR_LEFT_SIDE, 1-SCROLLBAR_RIGHT_SIDE)
514
+ LIST_ITEMS_BORDER_WIDTH // ListView items border width
515
+ } GuiListViewProperty;
516
+ // ColorPicker
517
+ typedef enum {
518
+ COLOR_SELECTOR_SIZE = 16,
519
+ HUEBAR_WIDTH, // ColorPicker right hue bar width
520
+ HUEBAR_PADDING, // ColorPicker right hue bar separation from panel
521
+ HUEBAR_SELECTOR_HEIGHT, // ColorPicker right hue bar selector height
522
+ HUEBAR_SELECTOR_OVERFLOW // ColorPicker right hue bar selector overflow
523
+ } GuiColorPickerProperty;
524
+ //----------------------------------------------------------------------------------
525
+ // Global Variables Definition
526
+ //----------------------------------------------------------------------------------
527
+ // ...
528
+ //----------------------------------------------------------------------------------
529
+ // Module Functions Declaration
530
+ //----------------------------------------------------------------------------------
531
+ // Global gui state control functions
532
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiEnable(void); // Enable gui controls (global state)
533
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiDisable(void); // Disable gui controls (global state)
534
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiLock(void); // Lock gui controls (global state)
535
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiUnlock(void); // Unlock gui controls (global state)
536
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ bool GuiIsLocked(void); // Check if gui is locked (global state)
537
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetAlpha(float alpha); // Set gui controls alpha (global state), alpha goes from 0.0f to 1.0f
538
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetState(int state); // Set gui state (global state)
539
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiGetState(void); // Get gui state (global state)
540
+ // Font set/get functions
541
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetFont(Font font); // Set gui custom font (global state)
542
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ Font GuiGetFont(void); // Get gui custom font (global state)
543
+ // Style set/get functions
544
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetStyle(int control, int property, unsigned int value); // Set one style property
545
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ unsigned int GuiGetStyle(int control, int property); // Get one style property
546
+ // Styles loading functions
547
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiLoadStyle(const char *fileName); // Load style file over global style variable (.rgs)
548
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiLoadStyleDefault(void); // Load style default over global style
549
+ // Tooltips management functions
550
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiEnableTooltip(void); // Enable gui tooltips (global state)
551
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiDisableTooltip(void); // Disable gui tooltips (global state)
552
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetTooltip(const char *tooltip); // Set tooltip string
553
+ // Icons functionality
554
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ const char *GuiIconText(int iconId, const char *text); // Get text with icon id prepended (if supported)
555
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetIconScale(int scale); // Set default icon drawing size
556
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ unsigned int *GuiGetIcons(void); // Get raygui icons data pointer
557
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ char **GuiLoadIcons(const char *fileName, bool loadIconsName); // Load raygui icons file (.rgi) into internal icons data
558
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiDrawIcon(int iconId, int posX, int posY, int pixelSize, Color color); // Draw icon using pixel size at specified position
559
+ // Controls
560
+ //----------------------------------------------------------------------------------------------------------
561
+ // Container/separator controls, useful for controls organization
562
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiWindowBox(Rectangle bounds, const char *title); // Window Box control, shows a window that can be closed
563
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiGroupBox(Rectangle bounds, const char *text); // Group Box control with text name
564
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiLine(Rectangle bounds, const char *text); // Line separator control, could contain text
565
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiPanel(Rectangle bounds, const char *text); // Panel control, useful to group controls
566
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiTabBar(Rectangle bounds, const char **text, int count, int *active); // Tab Bar control, returns TAB to be closed or -1
567
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiScrollPanel(Rectangle bounds, const char *text, Rectangle content, Vector2 *scroll, Rectangle *view); // Scroll Panel control
568
+ // Basic controls set
569
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiLabel(Rectangle bounds, const char *text); // Label control
570
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiButton(Rectangle bounds, const char *text); // Button control, returns true when clicked
571
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiLabelButton(Rectangle bounds, const char *text); // Label button control, returns true when clicked
572
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiToggle(Rectangle bounds, const char *text, bool *active); // Toggle Button control
573
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiToggleGroup(Rectangle bounds, const char *text, int *active); // Toggle Group control
574
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiToggleSlider(Rectangle bounds, const char *text, int *active); // Toggle Slider control
575
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiCheckBox(Rectangle bounds, const char *text, bool *checked); // Check Box control, returns true when active
576
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiComboBox(Rectangle bounds, const char *text, int *active); // Combo Box control
577
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiDropdownBox(Rectangle bounds, const char *text, int *active, bool editMode); // Dropdown Box control
578
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiSpinner(Rectangle bounds, const char *text, int *value, int minValue, int maxValue, bool editMode); // Spinner control
579
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiValueBox(Rectangle bounds, const char *text, int *value, int minValue, int maxValue, bool editMode); // Value Box control, updates input text with numbers
580
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiValueBoxFloat(Rectangle bounds, const char *text, char *textValue, float *value, bool editMode); // Value box control for float values
581
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiTextBox(Rectangle bounds, char *text, int textSize, bool editMode); // Text Box control, updates input text
582
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiSlider(Rectangle bounds, const char *textLeft, const char *textRight, float *value, float minValue, float maxValue); // Slider control
583
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiSliderBar(Rectangle bounds, const char *textLeft, const char *textRight, float *value, float minValue, float maxValue); // Slider Bar control
584
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiProgressBar(Rectangle bounds, const char *textLeft, const char *textRight, float *value, float minValue, float maxValue); // Progress Bar control
585
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiStatusBar(Rectangle bounds, const char *text); // Status Bar control, shows info text
586
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiDummyRec(Rectangle bounds, const char *text); // Dummy control for placeholders
587
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiGrid(Rectangle bounds, const char *text, float spacing, int subdivs, Vector2 *mouseCell); // Grid control
588
+ // Advance controls set
589
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiListView(Rectangle bounds, const char *text, int *scrollIndex, int *active); // List View control
590
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiListViewEx(Rectangle bounds, const char **text, int count, int *scrollIndex, int *active, int *focus); // List View with extended parameters
591
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiMessageBox(Rectangle bounds, const char *title, const char *message, const char *buttons); // Message Box control, displays a message
592
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiTextInputBox(Rectangle bounds, const char *title, const char *message, const char *buttons, char *text, int textMaxSize, bool *secretViewActive); // Text Input Box control, ask for text, supports secret
593
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorPicker(Rectangle bounds, const char *text, Color *color); // Color Picker control (multiple color controls)
594
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorPanel(Rectangle bounds, const char *text, Color *color); // Color Panel control
595
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorBarAlpha(Rectangle bounds, const char *text, float *alpha); // Color Bar Alpha control
596
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorBarHue(Rectangle bounds, const char *text, float *value); // Color Bar Hue control
597
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorPickerHSV(Rectangle bounds, const char *text, Vector3 *colorHsv); // Color Picker control that avoids conversion to RGB on each call (multiple color controls)
598
+ /* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorPanelHSV(Rectangle bounds, const char *text, Vector3 *colorHsv); // Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()
599
+ //----------------------------------------------------------------------------------------------------------
600
+ //----------------------------------------------------------------------------------
601
+ // Icons enumeration
602
+ //----------------------------------------------------------------------------------
603
+ typedef enum {
604
+ ICON_NONE = 0,
605
+ ICON_FOLDER_FILE_OPEN = 1,
606
+ ICON_FILE_SAVE_CLASSIC = 2,
607
+ ICON_FOLDER_OPEN = 3,
608
+ ICON_FOLDER_SAVE = 4,
609
+ ICON_FILE_OPEN = 5,
610
+ ICON_FILE_SAVE = 6,
611
+ ICON_FILE_EXPORT = 7,
612
+ ICON_FILE_ADD = 8,
613
+ ICON_FILE_DELETE = 9,
614
+ ICON_FILETYPE_TEXT = 10,
615
+ ICON_FILETYPE_AUDIO = 11,
616
+ ICON_FILETYPE_IMAGE = 12,
617
+ ICON_FILETYPE_PLAY = 13,
618
+ ICON_FILETYPE_VIDEO = 14,
619
+ ICON_FILETYPE_INFO = 15,
620
+ ICON_FILE_COPY = 16,
621
+ ICON_FILE_CUT = 17,
622
+ ICON_FILE_PASTE = 18,
623
+ ICON_CURSOR_HAND = 19,
624
+ ICON_CURSOR_POINTER = 20,
625
+ ICON_CURSOR_CLASSIC = 21,
626
+ ICON_PENCIL = 22,
627
+ ICON_PENCIL_BIG = 23,
628
+ ICON_BRUSH_CLASSIC = 24,
629
+ ICON_BRUSH_PAINTER = 25,
630
+ ICON_WATER_DROP = 26,
631
+ ICON_COLOR_PICKER = 27,
632
+ ICON_RUBBER = 28,
633
+ ICON_COLOR_BUCKET = 29,
634
+ ICON_TEXT_T = 30,
635
+ ICON_TEXT_A = 31,
636
+ ICON_SCALE = 32,
637
+ ICON_RESIZE = 33,
638
+ ICON_FILTER_POINT = 34,
639
+ ICON_FILTER_BILINEAR = 35,
640
+ ICON_CROP = 36,
641
+ ICON_CROP_ALPHA = 37,
642
+ ICON_SQUARE_TOGGLE = 38,
643
+ ICON_SYMMETRY = 39,
644
+ ICON_SYMMETRY_HORIZONTAL = 40,
645
+ ICON_SYMMETRY_VERTICAL = 41,
646
+ ICON_LENS = 42,
647
+ ICON_LENS_BIG = 43,
648
+ ICON_EYE_ON = 44,
649
+ ICON_EYE_OFF = 45,
650
+ ICON_FILTER_TOP = 46,
651
+ ICON_FILTER = 47,
652
+ ICON_TARGET_POINT = 48,
653
+ ICON_TARGET_SMALL = 49,
654
+ ICON_TARGET_BIG = 50,
655
+ ICON_TARGET_MOVE = 51,
656
+ ICON_CURSOR_MOVE = 52,
657
+ ICON_CURSOR_SCALE = 53,
658
+ ICON_CURSOR_SCALE_RIGHT = 54,
659
+ ICON_CURSOR_SCALE_LEFT = 55,
660
+ ICON_UNDO = 56,
661
+ ICON_REDO = 57,
662
+ ICON_REREDO = 58,
663
+ ICON_MUTATE = 59,
664
+ ICON_ROTATE = 60,
665
+ ICON_REPEAT = 61,
666
+ ICON_SHUFFLE = 62,
667
+ ICON_EMPTYBOX = 63,
668
+ ICON_TARGET = 64,
669
+ ICON_TARGET_SMALL_FILL = 65,
670
+ ICON_TARGET_BIG_FILL = 66,
671
+ ICON_TARGET_MOVE_FILL = 67,
672
+ ICON_CURSOR_MOVE_FILL = 68,
673
+ ICON_CURSOR_SCALE_FILL = 69,
674
+ ICON_CURSOR_SCALE_RIGHT_FILL = 70,
675
+ ICON_CURSOR_SCALE_LEFT_FILL = 71,
676
+ ICON_UNDO_FILL = 72,
677
+ ICON_REDO_FILL = 73,
678
+ ICON_REREDO_FILL = 74,
679
+ ICON_MUTATE_FILL = 75,
680
+ ICON_ROTATE_FILL = 76,
681
+ ICON_REPEAT_FILL = 77,
682
+ ICON_SHUFFLE_FILL = 78,
683
+ ICON_EMPTYBOX_SMALL = 79,
684
+ ICON_BOX = 80,
685
+ ICON_BOX_TOP = 81,
686
+ ICON_BOX_TOP_RIGHT = 82,
687
+ ICON_BOX_RIGHT = 83,
688
+ ICON_BOX_BOTTOM_RIGHT = 84,
689
+ ICON_BOX_BOTTOM = 85,
690
+ ICON_BOX_BOTTOM_LEFT = 86,
691
+ ICON_BOX_LEFT = 87,
692
+ ICON_BOX_TOP_LEFT = 88,
693
+ ICON_BOX_CENTER = 89,
694
+ ICON_BOX_CIRCLE_MASK = 90,
695
+ ICON_POT = 91,
696
+ ICON_ALPHA_MULTIPLY = 92,
697
+ ICON_ALPHA_CLEAR = 93,
698
+ ICON_DITHERING = 94,
699
+ ICON_MIPMAPS = 95,
700
+ ICON_BOX_GRID = 96,
701
+ ICON_GRID = 97,
702
+ ICON_BOX_CORNERS_SMALL = 98,
703
+ ICON_BOX_CORNERS_BIG = 99,
704
+ ICON_FOUR_BOXES = 100,
705
+ ICON_GRID_FILL = 101,
706
+ ICON_BOX_MULTISIZE = 102,
707
+ ICON_ZOOM_SMALL = 103,
708
+ ICON_ZOOM_MEDIUM = 104,
709
+ ICON_ZOOM_BIG = 105,
710
+ ICON_ZOOM_ALL = 106,
711
+ ICON_ZOOM_CENTER = 107,
712
+ ICON_BOX_DOTS_SMALL = 108,
713
+ ICON_BOX_DOTS_BIG = 109,
714
+ ICON_BOX_CONCENTRIC = 110,
715
+ ICON_BOX_GRID_BIG = 111,
716
+ ICON_OK_TICK = 112,
717
+ ICON_CROSS = 113,
718
+ ICON_ARROW_LEFT = 114,
719
+ ICON_ARROW_RIGHT = 115,
720
+ ICON_ARROW_DOWN = 116,
721
+ ICON_ARROW_UP = 117,
722
+ ICON_ARROW_LEFT_FILL = 118,
723
+ ICON_ARROW_RIGHT_FILL = 119,
724
+ ICON_ARROW_DOWN_FILL = 120,
725
+ ICON_ARROW_UP_FILL = 121,
726
+ ICON_AUDIO = 122,
727
+ ICON_FX = 123,
728
+ ICON_WAVE = 124,
729
+ ICON_WAVE_SINUS = 125,
730
+ ICON_WAVE_SQUARE = 126,
731
+ ICON_WAVE_TRIANGULAR = 127,
732
+ ICON_CROSS_SMALL = 128,
733
+ ICON_PLAYER_PREVIOUS = 129,
734
+ ICON_PLAYER_PLAY_BACK = 130,
735
+ ICON_PLAYER_PLAY = 131,
736
+ ICON_PLAYER_PAUSE = 132,
737
+ ICON_PLAYER_STOP = 133,
738
+ ICON_PLAYER_NEXT = 134,
739
+ ICON_PLAYER_RECORD = 135,
740
+ ICON_MAGNET = 136,
741
+ ICON_LOCK_CLOSE = 137,
742
+ ICON_LOCK_OPEN = 138,
743
+ ICON_CLOCK = 139,
744
+ ICON_TOOLS = 140,
745
+ ICON_GEAR = 141,
746
+ ICON_GEAR_BIG = 142,
747
+ ICON_BIN = 143,
748
+ ICON_HAND_POINTER = 144,
749
+ ICON_LASER = 145,
750
+ ICON_COIN = 146,
751
+ ICON_EXPLOSION = 147,
752
+ ICON_1UP = 148,
753
+ ICON_PLAYER = 149,
754
+ ICON_PLAYER_JUMP = 150,
755
+ ICON_KEY = 151,
756
+ ICON_DEMON = 152,
757
+ ICON_TEXT_POPUP = 153,
758
+ ICON_GEAR_EX = 154,
759
+ ICON_CRACK = 155,
760
+ ICON_CRACK_POINTS = 156,
761
+ ICON_STAR = 157,
762
+ ICON_DOOR = 158,
763
+ ICON_EXIT = 159,
764
+ ICON_MODE_2D = 160,
765
+ ICON_MODE_3D = 161,
766
+ ICON_CUBE = 162,
767
+ ICON_CUBE_FACE_TOP = 163,
768
+ ICON_CUBE_FACE_LEFT = 164,
769
+ ICON_CUBE_FACE_FRONT = 165,
770
+ ICON_CUBE_FACE_BOTTOM = 166,
771
+ ICON_CUBE_FACE_RIGHT = 167,
772
+ ICON_CUBE_FACE_BACK = 168,
773
+ ICON_CAMERA = 169,
774
+ ICON_SPECIAL = 170,
775
+ ICON_LINK_NET = 171,
776
+ ICON_LINK_BOXES = 172,
777
+ ICON_LINK_MULTI = 173,
778
+ ICON_LINK = 174,
779
+ ICON_LINK_BROKE = 175,
780
+ ICON_TEXT_NOTES = 176,
781
+ ICON_NOTEBOOK = 177,
782
+ ICON_SUITCASE = 178,
783
+ ICON_SUITCASE_ZIP = 179,
784
+ ICON_MAILBOX = 180,
785
+ ICON_MONITOR = 181,
786
+ ICON_PRINTER = 182,
787
+ ICON_PHOTO_CAMERA = 183,
788
+ ICON_PHOTO_CAMERA_FLASH = 184,
789
+ ICON_HOUSE = 185,
790
+ ICON_HEART = 186,
791
+ ICON_CORNER = 187,
792
+ ICON_VERTICAL_BARS = 188,
793
+ ICON_VERTICAL_BARS_FILL = 189,
794
+ ICON_LIFE_BARS = 190,
795
+ ICON_INFO = 191,
796
+ ICON_CROSSLINE = 192,
797
+ ICON_HELP = 193,
798
+ ICON_FILETYPE_ALPHA = 194,
799
+ ICON_FILETYPE_HOME = 195,
800
+ ICON_LAYERS_VISIBLE = 196,
801
+ ICON_LAYERS = 197,
802
+ ICON_WINDOW = 198,
803
+ ICON_HIDPI = 199,
804
+ ICON_FILETYPE_BINARY = 200,
805
+ ICON_HEX = 201,
806
+ ICON_SHIELD = 202,
807
+ ICON_FILE_NEW = 203,
808
+ ICON_FOLDER_ADD = 204,
809
+ ICON_ALARM = 205,
810
+ ICON_CPU = 206,
811
+ ICON_ROM = 207,
812
+ ICON_STEP_OVER = 208,
813
+ ICON_STEP_INTO = 209,
814
+ ICON_STEP_OUT = 210,
815
+ ICON_RESTART = 211,
816
+ ICON_BREAKPOINT_ON = 212,
817
+ ICON_BREAKPOINT_OFF = 213,
818
+ ICON_BURGER_MENU = 214,
819
+ ICON_CASE_SENSITIVE = 215,
820
+ ICON_REG_EXP = 216,
821
+ ICON_FOLDER = 217,
822
+ ICON_FILE = 218,
823
+ ICON_SAND_TIMER = 219,
824
+ ICON_WARNING = 220,
825
+ ICON_HELP_BOX = 221,
826
+ ICON_INFO_BOX = 222,
827
+ ICON_PRIORITY = 223,
828
+ ICON_LAYERS_ISO = 224,
829
+ ICON_LAYERS2 = 225,
830
+ ICON_MLAYERS = 226,
831
+ ICON_MAPS = 227,
832
+ ICON_HOT = 228,
833
+ ICON_229 = 229,
834
+ ICON_230 = 230,
835
+ ICON_231 = 231,
836
+ ICON_232 = 232,
837
+ ICON_233 = 233,
838
+ ICON_234 = 234,
839
+ ICON_235 = 235,
840
+ ICON_236 = 236,
841
+ ICON_237 = 237,
842
+ ICON_238 = 238,
843
+ ICON_239 = 239,
844
+ ICON_240 = 240,
845
+ ICON_241 = 241,
846
+ ICON_242 = 242,
847
+ ICON_243 = 243,
848
+ ICON_244 = 244,
849
+ ICON_245 = 245,
850
+ ICON_246 = 246,
851
+ ICON_247 = 247,
852
+ ICON_248 = 248,
853
+ ICON_249 = 249,
854
+ ICON_250 = 250,
855
+ ICON_251 = 251,
856
+ ICON_252 = 252,
857
+ ICON_253 = 253,
858
+ ICON_254 = 254,
859
+ ICON_255 = 255,
860
+ } GuiIconName;
861
+ /***********************************************************************************
862
+ *
863
+ * RAYGUI IMPLEMENTATION
864
+ *
865
+ ************************************************************************************/