raylib 5.0.0.5__cp313-cp313-manylinux2014_aarch64.whl → 5.5.0.3__cp313-cp313-manylinux2014_aarch64.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.
- pyray/__init__.py +4 -5
- pyray/__init__.pyi +2401 -2118
- raylib/__init__.py +9 -5
- raylib/__init__.pyi +2291 -2059
- raylib/_raylib_cffi.cpython-313-aarch64-linux-gnu.so +0 -0
- raylib/build.py +145 -47
- raylib/defines.py +29 -9
- raylib/enums.py +56 -11
- raylib/glfw3.h.modified +226 -110
- raylib/physac.h.modified +74 -68
- raylib/raygui.h.modified +55 -33
- raylib/raylib.h.modified +133 -94
- raylib/raymath.h.modified +40 -10
- raylib/rlgl.h.modified +55 -38
- raylib/version.py +1 -1
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info}/METADATA +158 -63
- raylib-5.5.0.3.dist-info/RECORD +23 -0
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info}/WHEEL +1 -1
- raylib-5.0.0.5.dist-info/RECORD +0 -23
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info/licenses}/LICENSE +0 -0
- {raylib-5.0.0.5.dist-info → raylib-5.5.0.3.dist-info}/top_level.txt +0 -0
raylib/physac.h.modified
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*
|
|
5
5
|
* DESCRIPTION:
|
|
6
6
|
*
|
|
7
|
-
* Physac is a small 2D physics
|
|
8
|
-
* to
|
|
7
|
+
* Physac is a small 2D physics library written in pure C. The engine uses a fixed time-step thread loop
|
|
8
|
+
* to simluate physics. A physics step contains the following phases: get collision information,
|
|
9
9
|
* apply dynamics, collision solving and position correction. It uses a very simple struct for physic
|
|
10
10
|
* bodies with a position vector to be used in any 3D rendering API.
|
|
11
11
|
*
|
|
@@ -16,41 +16,49 @@
|
|
|
16
16
|
* If not defined, the library is in header only mode and can be included in other headers
|
|
17
17
|
* or source files without problems. But only ONE file should hold the implementation.
|
|
18
18
|
*
|
|
19
|
-
* #define
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* #define PHYSAC_STATIC (defined by default)
|
|
20
|
+
* The generated implementation will stay private inside implementation file and all
|
|
21
|
+
* internal symbols and functions will only be visible inside that file.
|
|
22
|
+
*
|
|
23
|
+
* #define PHYSAC_NO_THREADS
|
|
24
|
+
* The generated implementation won't include pthread library and user must create a secondary thread to call PhysicsThread().
|
|
25
|
+
* It is so important that the thread where PhysicsThread() is called must not have v-sync or any other CPU limitation.
|
|
22
26
|
*
|
|
23
|
-
* #define
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* #define PHYSAC_STANDALONE
|
|
28
|
+
* Avoid raylib.h header inclusion in this file. Data types defined on raylib are defined
|
|
29
|
+
* internally in the library and input management and drawing functions must be provided by
|
|
30
|
+
* the user (check library implementation for further details).
|
|
31
|
+
*
|
|
32
|
+
* #define PHYSAC_DEBUG
|
|
33
|
+
* Traces log messages when creating and destroying physics bodies and detects errors in physics
|
|
34
|
+
* calculations and reference exceptions; it is useful for debug purposes
|
|
29
35
|
*
|
|
30
36
|
* #define PHYSAC_MALLOC()
|
|
31
|
-
* #define PHYSAC_CALLOC()
|
|
32
37
|
* #define PHYSAC_FREE()
|
|
33
38
|
* You can define your own malloc/free implementation replacing stdlib.h malloc()/free() functions.
|
|
34
39
|
* Otherwise it will include stdlib.h and use the C standard library malloc()/free() function.
|
|
35
40
|
*
|
|
36
|
-
* COMPILATION:
|
|
37
41
|
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
42
|
+
* NOTE 1: Physac requires multi-threading, when InitPhysics() a second thread is created to manage physics calculations.
|
|
43
|
+
* NOTE 2: Physac requires static C library linkage to avoid dependency on MinGW DLL (-static -lpthread)
|
|
44
|
+
*
|
|
45
|
+
* Use the following code to compile:
|
|
46
|
+
* gcc -o $(NAME_PART).exe $(FILE_NAME) -s -static -lraylib -lpthread -lopengl32 -lgdi32 -lwinmm -std=c99
|
|
40
47
|
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
48
|
+
* VERY THANKS TO:
|
|
49
|
+
* - raysan5: helped with library design
|
|
50
|
+
* - ficoos: added support for Linux
|
|
51
|
+
* - R8D8: added support for Linux
|
|
52
|
+
* - jubalh: fixed implementation of time calculations
|
|
53
|
+
* - a3f: fixed implementation of time calculations
|
|
54
|
+
* - define-private-public: added support for OSX
|
|
55
|
+
* - pamarcos: fixed implementation of physics steps
|
|
56
|
+
* - noshbar: fixed some memory leaks
|
|
49
57
|
*
|
|
50
58
|
*
|
|
51
59
|
* LICENSE: zlib/libpng
|
|
52
60
|
*
|
|
53
|
-
* Copyright (c) 2016-
|
|
61
|
+
* Copyright (c) 2016-2025 Victor Fisac (github: @victorfisac)
|
|
54
62
|
*
|
|
55
63
|
* This software is provided "as-is", without any express or implied warranty. In no event
|
|
56
64
|
* will the authors be held liable for any damages arising from the use of this software.
|
|
@@ -68,39 +76,41 @@
|
|
|
68
76
|
* 3. This notice may not be removed or altered from any source distribution.
|
|
69
77
|
*
|
|
70
78
|
**********************************************************************************************/
|
|
71
|
-
//
|
|
72
|
-
//
|
|
73
|
-
//
|
|
79
|
+
// #define PHYSAC_STATIC
|
|
80
|
+
// #define PHYSAC_NO_THREADS
|
|
81
|
+
// #define PHYSAC_STANDALONE
|
|
82
|
+
// #define PHYSAC_DEBUG
|
|
74
83
|
//----------------------------------------------------------------------------------
|
|
75
84
|
// Defines and Macros
|
|
76
85
|
//----------------------------------------------------------------------------------
|
|
77
86
|
//----------------------------------------------------------------------------------
|
|
78
|
-
//
|
|
87
|
+
// Types and Structures Definition
|
|
88
|
+
// NOTE: Below types are required for PHYSAC_STANDALONE usage
|
|
79
89
|
//----------------------------------------------------------------------------------
|
|
80
|
-
typedef enum PhysicsShapeType { PHYSICS_CIRCLE
|
|
90
|
+
typedef enum PhysicsShapeType { PHYSICS_CIRCLE, PHYSICS_POLYGON } PhysicsShapeType;
|
|
81
91
|
// Previously defined to be used in PhysicsShape struct as circular dependencies
|
|
82
92
|
typedef struct PhysicsBodyData *PhysicsBody;
|
|
83
|
-
//
|
|
84
|
-
typedef struct
|
|
93
|
+
// Mat2 type (used for polygon shape rotation matrix)
|
|
94
|
+
typedef struct Mat2 {
|
|
85
95
|
float m00;
|
|
86
96
|
float m01;
|
|
87
97
|
float m10;
|
|
88
98
|
float m11;
|
|
89
|
-
}
|
|
90
|
-
typedef struct
|
|
91
|
-
unsigned int vertexCount; //
|
|
92
|
-
Vector2 positions[24
|
|
93
|
-
Vector2 normals[24
|
|
94
|
-
}
|
|
99
|
+
} Mat2;
|
|
100
|
+
typedef struct PolygonData {
|
|
101
|
+
unsigned int vertexCount; // Current used vertex and normals count
|
|
102
|
+
Vector2 positions[24]; // Polygon vertex positions vectors
|
|
103
|
+
Vector2 normals[24]; // Polygon vertex normals vectors
|
|
104
|
+
} PolygonData;
|
|
95
105
|
typedef struct PhysicsShape {
|
|
96
|
-
PhysicsShapeType type; //
|
|
97
|
-
PhysicsBody body; // Shape physics body
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
106
|
+
PhysicsShapeType type; // Physics shape type (circle or polygon)
|
|
107
|
+
PhysicsBody body; // Shape physics body reference
|
|
108
|
+
float radius; // Circle shape radius (used for circle shapes)
|
|
109
|
+
Mat2 transform; // Vertices transform matrix 2x2
|
|
110
|
+
PolygonData vertexData; // Polygon shape vertices position and normals data (just used for polygon shapes)
|
|
101
111
|
} PhysicsShape;
|
|
102
112
|
typedef struct PhysicsBodyData {
|
|
103
|
-
unsigned int id; //
|
|
113
|
+
unsigned int id; // Reference unique identifier
|
|
104
114
|
bool enabled; // Enabled dynamics state (collisions are calculated anyway)
|
|
105
115
|
Vector2 position; // Physics body shape pivot
|
|
106
116
|
Vector2 velocity; // Current linear velocity applied to position
|
|
@@ -118,10 +128,10 @@ typedef struct PhysicsBodyData {
|
|
|
118
128
|
bool useGravity; // Apply gravity force to dynamics
|
|
119
129
|
bool isGrounded; // Physics grounded on other body state
|
|
120
130
|
bool freezeOrient; // Physics rotation constraint
|
|
121
|
-
PhysicsShape shape; // Physics body shape information (type, radius, vertices,
|
|
131
|
+
PhysicsShape shape; // Physics body shape information (type, radius, vertices, normals)
|
|
122
132
|
} PhysicsBodyData;
|
|
123
133
|
typedef struct PhysicsManifoldData {
|
|
124
|
-
unsigned int id; //
|
|
134
|
+
unsigned int id; // Reference unique identifier
|
|
125
135
|
PhysicsBody bodyA; // Manifold first physics body reference
|
|
126
136
|
PhysicsBody bodyB; // Manifold second physics body reference
|
|
127
137
|
float penetration; // Depth of penetration from collision
|
|
@@ -135,29 +145,25 @@ typedef struct PhysicsManifoldData {
|
|
|
135
145
|
//----------------------------------------------------------------------------------
|
|
136
146
|
// Module Functions Declaration
|
|
137
147
|
//----------------------------------------------------------------------------------
|
|
138
|
-
//
|
|
139
|
-
void
|
|
140
|
-
void
|
|
141
|
-
|
|
142
|
-
void
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
//
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
//
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
void SetPhysicsBodyRotation(PhysicsBody body, float radians); // Sets physics body shape transform based on radians parameter
|
|
155
|
-
//
|
|
156
|
-
|
|
157
|
-
int GetPhysicsBodiesCount(void); // Returns the current amount of created physics bodies
|
|
158
|
-
int GetPhysicsShapeType(int index); // Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)
|
|
159
|
-
int GetPhysicsShapeVerticesCount(int index); // Returns the amount of vertices of a physics body shape
|
|
160
|
-
Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex); // Returns transformed position of a body shape (body position + vertex transformed position)
|
|
148
|
+
extern /* Functions visible from other files*/ void InitPhysics(void); // Initializes physics values, pointers and creates physics loop thread
|
|
149
|
+
extern /* Functions visible from other files*/ void RunPhysicsStep(void); // Run physics step, to be used if PHYSICS_NO_THREADS is set in your main loop
|
|
150
|
+
extern /* Functions visible from other files*/ void SetPhysicsTimeStep(double delta); // Sets physics fixed time step in milliseconds. 1.666666 by default
|
|
151
|
+
extern /* Functions visible from other files*/ bool IsPhysicsEnabled(void); // Returns true if physics thread is currently enabled
|
|
152
|
+
extern /* Functions visible from other files*/ void SetPhysicsGravity(float x, float y); // Sets physics global gravity force
|
|
153
|
+
extern /* Functions visible from other files*/ PhysicsBody CreatePhysicsBodyCircle(Vector2 pos, float radius, float density); // Creates a new circle physics body with generic parameters
|
|
154
|
+
extern /* Functions visible from other files*/ PhysicsBody CreatePhysicsBodyRectangle(Vector2 pos, float width, float height, float density); // Creates a new rectangle physics body with generic parameters
|
|
155
|
+
extern /* Functions visible from other files*/ PhysicsBody CreatePhysicsBodyPolygon(Vector2 pos, float radius, int sides, float density); // Creates a new polygon physics body with generic parameters
|
|
156
|
+
extern /* Functions visible from other files*/ void PhysicsAddForce(PhysicsBody body, Vector2 force); // Adds a force to a physics body
|
|
157
|
+
extern /* Functions visible from other files*/ void PhysicsAddTorque(PhysicsBody body, float amount); // Adds an angular force to a physics body
|
|
158
|
+
extern /* Functions visible from other files*/ void PhysicsShatter(PhysicsBody body, Vector2 position, float force); // Shatters a polygon shape physics body to little physics bodies with explosion force
|
|
159
|
+
extern /* Functions visible from other files*/ int GetPhysicsBodiesCount(void); // Returns the current amount of created physics bodies
|
|
160
|
+
extern /* Functions visible from other files*/ PhysicsBody GetPhysicsBody(int index); // Returns a physics body of the bodies pool at a specific index
|
|
161
|
+
extern /* Functions visible from other files*/ int GetPhysicsShapeType(int index); // Returns the physics body shape type (PHYSICS_CIRCLE or PHYSICS_POLYGON)
|
|
162
|
+
extern /* Functions visible from other files*/ int GetPhysicsShapeVerticesCount(int index); // Returns the amount of vertices of a physics body shape
|
|
163
|
+
extern /* Functions visible from other files*/ Vector2 GetPhysicsShapeVertex(PhysicsBody body, int vertex); // Returns transformed position of a body shape (body position + vertex transformed position)
|
|
164
|
+
extern /* Functions visible from other files*/ void SetPhysicsBodyRotation(PhysicsBody body, float radians); // Sets physics body shape transform based on radians parameter
|
|
165
|
+
extern /* Functions visible from other files*/ void DestroyPhysicsBody(PhysicsBody body); // Unitializes and destroy a physics body
|
|
166
|
+
extern /* Functions visible from other files*/ void ClosePhysics(void); // Unitializes physics pointers and closes physics loop thread
|
|
161
167
|
/***********************************************************************************
|
|
162
168
|
*
|
|
163
169
|
* PHYSAC IMPLEMENTATION
|
raylib/raygui.h.modified
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*******************************************************************************************
|
|
2
2
|
*
|
|
3
|
-
* raygui v4.
|
|
3
|
+
* raygui v4.5-dev - A simple and easy-to-use immediate-mode gui library
|
|
4
4
|
*
|
|
5
5
|
* DESCRIPTION:
|
|
6
6
|
* raygui is a tools-dev-focused immediate-mode-gui library based on raylib but also
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* NOTES:
|
|
27
27
|
* - WARNING: GuiLoadStyle() and GuiLoadStyle{Custom}() functions, allocate memory for
|
|
28
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
|
|
29
|
+
* no unload function is explicitly provided... but note that GuiLoadStyleDefault() unloads
|
|
30
30
|
* by default any previously loaded font (texture, recs, glyphs).
|
|
31
31
|
* - Global UI alpha (guiAlpha) is applied inside GuiDrawRectangle() and GuiDrawText() functions
|
|
32
32
|
*
|
|
@@ -136,11 +136,29 @@
|
|
|
136
136
|
*
|
|
137
137
|
* #define RAYGUI_DEBUG_RECS_BOUNDS
|
|
138
138
|
* Draw control bounds rectangles for debug
|
|
139
|
-
*
|
|
139
|
+
*
|
|
140
140
|
* #define RAYGUI_DEBUG_TEXT_BOUNDS
|
|
141
141
|
* Draw text bounds rectangles for debug
|
|
142
142
|
*
|
|
143
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
|
+
*
|
|
144
162
|
* 4.0 (12-Sep-2023) ADDED: GuiToggleSlider()
|
|
145
163
|
* ADDED: GuiColorPickerHSV() and GuiColorPanelHSV()
|
|
146
164
|
* ADDED: Multiple new icons, mostly compiler related
|
|
@@ -246,7 +264,7 @@
|
|
|
246
264
|
* 0.8 (27-Aug-2015) Initial release. Implemented by Kevin Gato, Daniel Nicolás and Ramon Santamaria.
|
|
247
265
|
*
|
|
248
266
|
* DEPENDENCIES:
|
|
249
|
-
* raylib
|
|
267
|
+
* raylib 5.0 - Inputs reading (keyboard/mouse), shapes drawing, font loading and text drawing
|
|
250
268
|
*
|
|
251
269
|
* STANDALONE MODE:
|
|
252
270
|
* By default raygui depends on raylib mostly for the inputs and the drawing functionality but that dependency can be disabled
|
|
@@ -291,7 +309,7 @@
|
|
|
291
309
|
*
|
|
292
310
|
* LICENSE: zlib/libpng
|
|
293
311
|
*
|
|
294
|
-
* Copyright (c) 2014-
|
|
312
|
+
* Copyright (c) 2014-2024 Ramon Santamaria (@raysan5)
|
|
295
313
|
*
|
|
296
314
|
* This software is provided "as-is", without any express or implied warranty. In no event
|
|
297
315
|
* will the authors be held liable for any damages arising from the use of this software.
|
|
@@ -431,11 +449,11 @@ typedef enum {
|
|
|
431
449
|
TEXT_ALIGNMENT_VERTICAL, // Text vertical alignment inside text bounds (after border and padding)
|
|
432
450
|
TEXT_WRAP_MODE // Text wrap-mode inside text bounds
|
|
433
451
|
//TEXT_DECORATION // Text decoration: 0-None, 1-Underline, 2-Line-through, 3-Overline
|
|
434
|
-
//TEXT_DECORATION_THICK // Text decoration line
|
|
452
|
+
//TEXT_DECORATION_THICK // Text decoration line thickness
|
|
435
453
|
} GuiDefaultProperty;
|
|
436
454
|
// Other possible text properties:
|
|
437
455
|
// TEXT_WEIGHT // Normal, Italic, Bold -> Requires specific font change
|
|
438
|
-
// TEXT_INDENT
|
|
456
|
+
// TEXT_INDENT // Text indentation -> Now using TEXT_PADDING...
|
|
439
457
|
// Label
|
|
440
458
|
//typedef enum { } GuiLabelProperty;
|
|
441
459
|
// Button/Spinner
|
|
@@ -474,7 +492,9 @@ typedef enum {
|
|
|
474
492
|
// DropdownBox
|
|
475
493
|
typedef enum {
|
|
476
494
|
ARROW_PADDING = 16, // DropdownBox arrow separation from border and items
|
|
477
|
-
DROPDOWN_ITEMS_SPACING // DropdownBox items separation
|
|
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)
|
|
478
498
|
} GuiDropdownBoxProperty;
|
|
479
499
|
// TextBox/TextBoxMulti/ValueBox/Spinner
|
|
480
500
|
typedef enum {
|
|
@@ -491,6 +511,7 @@ typedef enum {
|
|
|
491
511
|
LIST_ITEMS_SPACING, // ListView items separation
|
|
492
512
|
SCROLLBAR_WIDTH, // ListView scrollbar size (usually width)
|
|
493
513
|
SCROLLBAR_SIDE, // ListView scrollbar side (0-SCROLLBAR_LEFT_SIDE, 1-SCROLLBAR_RIGHT_SIDE)
|
|
514
|
+
LIST_ITEMS_BORDER_WIDTH // ListView items border width
|
|
494
515
|
} GuiListViewProperty;
|
|
495
516
|
// ColorPicker
|
|
496
517
|
typedef enum {
|
|
@@ -520,8 +541,8 @@ typedef enum {
|
|
|
520
541
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetFont(Font font); // Set gui custom font (global state)
|
|
521
542
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ Font GuiGetFont(void); // Get gui custom font (global state)
|
|
522
543
|
// Style set/get functions
|
|
523
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiSetStyle(int control, int property, int value); // Set one style property
|
|
524
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiGetStyle(int control, int property); // Get one style property
|
|
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
|
|
525
546
|
// Styles loading functions
|
|
526
547
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiLoadStyle(const char *fileName); // Load style file over global style variable (.rgs)
|
|
527
548
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ void GuiLoadStyleDefault(void); // Load style default over global style
|
|
@@ -545,26 +566,27 @@ typedef enum {
|
|
|
545
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
|
|
546
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
|
|
547
568
|
// Basic controls set
|
|
548
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiLabel(Rectangle bounds, const char *text); // Label control
|
|
569
|
+
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiLabel(Rectangle bounds, const char *text); // Label control
|
|
549
570
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiButton(Rectangle bounds, const char *text); // Button control, returns true when clicked
|
|
550
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiLabelButton(Rectangle bounds, const char *text); // Label button control,
|
|
551
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiToggle(Rectangle bounds, const char *text, bool *active); // Toggle Button control
|
|
552
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiToggleGroup(Rectangle bounds, const char *text, int *active); // Toggle Group control
|
|
553
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiToggleSlider(Rectangle bounds, const char *text, int *active); // Toggle Slider control
|
|
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
|
|
554
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
|
|
555
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiComboBox(Rectangle bounds, const char *text, int *active); // Combo Box control
|
|
556
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiDropdownBox(Rectangle bounds, const char *text, int *active, bool editMode); // Dropdown Box control
|
|
557
|
-
/* 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
|
|
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
|
|
558
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
|
|
559
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
|
|
560
|
-
/* 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
|
|
561
|
-
/* 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
|
|
562
|
-
/* 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
|
|
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
|
|
563
585
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiStatusBar(Rectangle bounds, const char *text); // Status Bar control, shows info text
|
|
564
586
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiDummyRec(Rectangle bounds, const char *text); // Dummy control for placeholders
|
|
565
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiGrid(Rectangle bounds, const char *text, float spacing, int subdivs, Vector2 *mouseCell); // Grid control
|
|
587
|
+
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiGrid(Rectangle bounds, const char *text, float spacing, int subdivs, Vector2 *mouseCell); // Grid control
|
|
566
588
|
// Advance controls set
|
|
567
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiListView(Rectangle bounds, const char *text, int *scrollIndex, int *active); // List View control
|
|
589
|
+
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiListView(Rectangle bounds, const char *text, int *scrollIndex, int *active); // List View control
|
|
568
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
|
|
569
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
|
|
570
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
|
|
@@ -573,7 +595,7 @@ typedef enum {
|
|
|
573
595
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorBarAlpha(Rectangle bounds, const char *text, float *alpha); // Color Bar Alpha control
|
|
574
596
|
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorBarHue(Rectangle bounds, const char *text, float *value); // Color Bar Hue control
|
|
575
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)
|
|
576
|
-
/* Functions defined as 'extern' by default (implicit specifiers)*/ int GuiColorPanelHSV(Rectangle bounds, const char *text, Vector3 *colorHsv); // Color Panel control that
|
|
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()
|
|
577
599
|
//----------------------------------------------------------------------------------------------------------
|
|
578
600
|
//----------------------------------------------------------------------------------
|
|
579
601
|
// Icons enumeration
|
|
@@ -799,15 +821,15 @@ typedef enum {
|
|
|
799
821
|
ICON_FOLDER = 217,
|
|
800
822
|
ICON_FILE = 218,
|
|
801
823
|
ICON_SAND_TIMER = 219,
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
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,
|
|
811
833
|
ICON_229 = 229,
|
|
812
834
|
ICON_230 = 230,
|
|
813
835
|
ICON_231 = 231,
|