diff --git a/examples/image_exporter/image_exporter.c b/examples/image_exporter/image_exporter.c index c267df7..b94503a 100644 --- a/examples/image_exporter/image_exporter.c +++ b/examples/image_exporter/image_exporter.c @@ -48,7 +48,7 @@ int main(int argc, char *argv[0]) char fileNameText[32] = "Untitled"; //int dropdownSelected = 0; - + SetConfigFlags(0x11100000); InitWindow(SCREEN_WIDTH, SCREEN_HEIGHT, "image exporter"); SetTargetFPS(60); @@ -73,12 +73,12 @@ int main(int argc, char *argv[0]) if (GuiButton((Rectangle){ 20, 20, 150, 30 }, "Show Export Window")) windowBoxActive = true; - // Draw window box + // Draw window box: windowBoxName //----------------------------------------------------------------------------- if (windowBoxActive) { windowBoxActive = !GuiWindowBox(windowBoxRec, "Image export options"); - + // Draw file format options GuiLabel((Rectangle){ windowBoxRec.x + 10, windowBoxRec.y + 20 + 20, 0, 0 }, FormatText("File format")); formatSelected = GuiComboBox((Rectangle){ windowBoxRec.x + 10 + 90, windowBoxRec.y + 20 + 10, 150, 30 }, formatText, formatCount, formatSelected); @@ -96,7 +96,7 @@ int main(int argc, char *argv[0]) //Draw file name options GuiLabel((Rectangle){ windowBoxRec.x + 10, windowBoxRec.y + 20 + 140, 0, 0 }, FormatText("File name")); - GuiTextBox((Rectangle){ windowBoxRec.x + 10 + 90, windowBoxRec.y + 20 + 130, 150, 30 }, fileNameText, 32); + GuiTextBox((Rectangle){ windowBoxRec.x + 10 + 90, windowBoxRec.y + 20 + 130, 150, 30 }, fileNameText, 32, false); // Draw export image button if (GuiButton((Rectangle){ windowBoxRec.x + 10, windowBoxRec.y + 20 + 170, 150 + 90, 30 }, "Export Image")) { /* Call function */ } diff --git a/examples/raw_importer/raw_importer.c b/examples/raw_importer/raw_importer.c index 2626fd5..27d4960 100644 --- a/examples/raw_importer/raw_importer.c +++ b/examples/raw_importer/raw_importer.c @@ -149,7 +149,7 @@ int main(int argc, char *argv[0]) //---------------------------------------------------------------------------------- BeginDrawing(); - ClearBackground(GuiBackgroundColor()); + ClearBackground(GuiGetBackgroundColor()); DrawRectangleLines(10, 10, SCREEN_WIDTH - 20, SCREEN_HEIGHT - 20, GuiLinesColor());