mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Code tweaks
This commit is contained in:
@ -32,6 +32,7 @@
|
|||||||
* - ScrollBar
|
* - ScrollBar
|
||||||
* - ListView
|
* - ListView
|
||||||
* - ColorPicker
|
* - ColorPicker
|
||||||
|
* - MessageBox
|
||||||
* - DummyRec
|
* - DummyRec
|
||||||
* - Grid
|
* - Grid
|
||||||
*
|
*
|
||||||
@ -57,7 +58,7 @@
|
|||||||
* Include style customization and save/load functions, useful when required.
|
* Include style customization and save/load functions, useful when required.
|
||||||
*
|
*
|
||||||
* LIMITATIONS:
|
* LIMITATIONS:
|
||||||
* Some controls missing, like panels.
|
* Some controls missing.
|
||||||
*
|
*
|
||||||
* VERSIONS HISTORY:
|
* VERSIONS HISTORY:
|
||||||
* 2.0 (01-May-2018) Added new controls...
|
* 2.0 (01-May-2018) Added new controls...
|
||||||
@ -125,7 +126,7 @@
|
|||||||
// Defines and Macros
|
// Defines and Macros
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
#define NUM_PROPERTIES 155
|
#define NUM_PROPERTIES 155
|
||||||
#define VALIGN_OFFSET(h) (h%2) // Vertical alignment for pixel perfect
|
#define VALIGN_OFFSET(h) (h%2) // Vertical alignment for pixel perfect
|
||||||
|
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
// Types and Structures Definition
|
// Types and Structures Definition
|
||||||
@ -2065,8 +2066,8 @@ RAYGUIDEF void GuiStatusBar(Rectangle bounds, const char *text, int offsetX)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Scroll Bar control
|
// Scroll Bar control
|
||||||
// NOTE: content defines size of internal data
|
// NOTE: bounds define the view area, content defines size of internal data
|
||||||
RAYGUIDEF void GuiScrollBar(Rectangle bounds, Rectangle content)
|
RAYGUIDEF Vector2 GuiScrollBar(Rectangle bounds, Rectangle content, Vector2 viewScroll)
|
||||||
{
|
{
|
||||||
// TODO: Implement
|
// TODO: Implement
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user