diff --git a/examples/controls_test_suite/controls_test_suite.c b/examples/controls_test_suite/controls_test_suite.c index 8407f1d..483035b 100644 --- a/examples/controls_test_suite/controls_test_suite.c +++ b/examples/controls_test_suite/controls_test_suite.c @@ -81,6 +81,8 @@ int main() float progressValue = 0.4f; bool forceSquaredChecked = false; + + int comboBoxActive = 1; //---------------------------------------------------------------------------------- // Custom GUI font loading @@ -125,6 +127,8 @@ int main() GuiState(GUI_STATE_NORMAL); GuiUnlock(); + comboBoxActive = GuiComboBox((Rectangle){25, 470, 115, 30}, dropdownBox001TextList, 5, comboBoxActive); + // NOTE: GuiDropdownBox must draw after any other control that can be covered on unfolding if (GuiDropdownBox((Rectangle){ 25, 65, 125, 30 }, dropdownBox001TextList, 5, &dropdownBox001Active, dropDown001EditMode)) dropDown001EditMode = !dropDown001EditMode; if (GuiDropdownBox((Rectangle){ 25, 25, 125, 30 }, dropdownBox000TextList, 3, &dropdownBox000Active, dropDown000EditMode)) dropDown000EditMode = !dropDown000EditMode;