add text parameter to GuiScrollPanel examples (#176)

* add text parameter to GuiScrollPanel examples

* move guiIconName to declarations
This commit is contained in:
megagrump
2022-02-01 20:13:58 +01:00
committed by GitHub
parent cc359132b6
commit 1f0dbc8aa1
3 changed files with 72 additions and 69 deletions

View File

@ -197,7 +197,7 @@ int main()
progressValue = GuiProgressBar((Rectangle){ 320, 460, 200, 20 }, NULL, NULL, progressValue, 0, 1);
// NOTE: View rectangle could be used to perform some scissor test
Rectangle view = GuiScrollPanel((Rectangle){ 560, 25, 100, 160 }, (Rectangle){ 560, 25, 200, 400 }, &viewScroll);
Rectangle view = GuiScrollPanel((Rectangle){ 560, 25, 100, 160 }, "", (Rectangle){ 560, 25, 200, 400 }, &viewScroll);
GuiStatusBar((Rectangle){ 0, GetScreenHeight() - 20, GetScreenWidth(), 20 }, "This is a status bar");