Code tweaks

This commit is contained in:
Ray
2018-05-03 00:46:54 +02:00
parent adfbc20eac
commit 63401be1fd

View File

@ -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
} }