Update raygui.h

This commit is contained in:
Ray 2024-02-18 11:58:55 +01:00
parent a9e5e90058
commit bc67f42209

View File

@ -444,7 +444,6 @@
} Font; } Font;
#endif #endif
// Style property // Style property
// NOTE: Used when exporting style as code for convenience // NOTE: Used when exporting style as code for convenience
typedef struct GuiStyleProp { typedef struct GuiStyleProp {
@ -549,7 +548,6 @@ typedef enum {
// TEXT_SIZE, TEXT_SPACING, TEXT_LINE_SPACING, TEXT_ALIGNMENT_VERTICAL, TEXT_WRAP_MODE are global and // TEXT_SIZE, TEXT_SPACING, TEXT_LINE_SPACING, TEXT_ALIGNMENT_VERTICAL, TEXT_WRAP_MODE are global and
// should be configured by user as needed while defining the UI layout // should be configured by user as needed while defining the UI layout
// Gui extended properties depend on control // Gui extended properties depend on control
// NOTE: RAYGUI_MAX_PROPS_EXTENDED properties (by default, max 8 properties) // NOTE: RAYGUI_MAX_PROPS_EXTENDED properties (by default, max 8 properties)
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
@ -701,7 +699,6 @@ RAYGUIAPI char **GuiLoadIcons(const char *fileName, bool loadIconsName); // Load
RAYGUIAPI void GuiDrawIcon(int iconId, int posX, int posY, int pixelSize, Color color); // Draw icon using pixel size at specified position RAYGUIAPI void GuiDrawIcon(int iconId, int posX, int posY, int pixelSize, Color color); // Draw icon using pixel size at specified position
#endif #endif
// Controls // Controls
//---------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------
// Container/separator controls, useful for controls organization // Container/separator controls, useful for controls organization
@ -747,7 +744,6 @@ RAYGUIAPI int GuiColorPickerHSV(Rectangle bounds, const char *text, Vector3 *col
RAYGUIAPI int GuiColorPanelHSV(Rectangle bounds, const char *text, Vector3 *colorHsv); // Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV() RAYGUIAPI int GuiColorPanelHSV(Rectangle bounds, const char *text, Vector3 *colorHsv); // Color Panel control that updates Hue-Saturation-Value color value, used by GuiColorPickerHSV()
//---------------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------------
#if !defined(RAYGUI_NO_ICONS) #if !defined(RAYGUI_NO_ICONS)
#if !defined(RAYGUI_CUSTOM_ICONS) #if !defined(RAYGUI_CUSTOM_ICONS)
@ -3716,7 +3712,6 @@ int GuiColorPanelHSV(Rectangle bounds, const char *text, Vector3 *colorHsv)
return result; return result;
} }
// Message Box control // Message Box control
int GuiMessageBox(Rectangle bounds, const char *title, const char *message, const char *buttons) int GuiMessageBox(Rectangle bounds, const char *title, const char *message, const char *buttons)
{ {
@ -3934,7 +3929,6 @@ void GuiDisableTooltip(void) { guiTooltip = false; }
// Set tooltip string // Set tooltip string
void GuiSetTooltip(const char *tooltip) { guiTooltipPtr = tooltip; } void GuiSetTooltip(const char *tooltip) { guiTooltipPtr = tooltip; }
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Styles loading functions // Styles loading functions
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
@ -5534,7 +5528,6 @@ static int GetCodepointNext(const char *text, int *codepointSize)
*codepointSize = 1; *codepointSize = 1;
} }
return codepoint; return codepoint;
} }
#endif // RAYGUI_STANDALONE #endif // RAYGUI_STANDALONE