diff --git a/examples/controls_test_suite/controls_test_suite.c b/examples/controls_test_suite/controls_test_suite.c index b015781..46fdf19 100644 --- a/examples/controls_test_suite/controls_test_suite.c +++ b/examples/controls_test_suite/controls_test_suite.c @@ -160,9 +160,7 @@ int main() GuiSetStyle(BUTTON, TEXT_ALIGNMENT, GUI_TEXT_ALIGN_CENTER); - GuiSetTooltip("Save current file."); if (GuiButton((Rectangle){ 25, 255, 125, 30 }, GuiIconText(RICON_FILE_SAVE, "Save File"))) showTextInputBox = true; - GuiClearTooltip(); GuiGroupBox((Rectangle){ 25, 310, 125, 150 }, "STATES"); GuiLock(); diff --git a/examples/portable_window/portable_window.c b/examples/portable_window/portable_window.c index 3982c19..4127c18 100644 --- a/examples/portable_window/portable_window.c +++ b/examples/portable_window/portable_window.c @@ -18,6 +18,7 @@ #include "raylib.h" #define RAYGUI_IMPLEMENTATION +#define RAYGUI_SUPPORT_ICONS #include "../../src/raygui.h" //------------------------------------------------------------------------------------ @@ -79,7 +80,7 @@ int main() ClearBackground(RAYWHITE); - exitWindow = GuiWindowBox((Rectangle){ 0, 0, screenWidth, screenHeight }, "PORTABLE WINDOW"); + exitWindow = GuiWindowBox((Rectangle){ 0, 0, screenWidth, screenHeight }, "#198# PORTABLE WINDOW"); DrawText(TextFormat("Mouse Position: [ %.0f, %.0f ]", mousePosition.x, mousePosition.y), 10, 40, 10, DARKGRAY); diff --git a/examples/property_list/property_list.c b/examples/property_list/property_list.c index 20c65df..48a5b0d 100644 --- a/examples/property_list/property_list.c +++ b/examples/property_list/property_list.c @@ -76,8 +76,11 @@ int main() GuiDMPropertyList((Rectangle){(SCREEN_WIDTH - 180)/2, (SCREEN_HEIGHT - 280)/2, 180, 280}, prop, SIZEOF(prop), &focus, &scroll); - if(prop[0].value.vbool) + if (prop[0].value.vbool >= 1) + { DrawText(TextFormat("FOCUS:%i | SCROLL:%i | FPS:%i", focus, scroll, GetFPS()), prop[8].value.v2.x, prop[8].value.v2.y, 20, prop[11].value.vcolor); + } + EndDrawing(); //---------------------------------------------------------------------------------- }