Updated TextBoxes

This commit is contained in:
Ray
2018-04-18 13:51:29 +02:00
parent fbb11c9bf5
commit a8c6c04581

View File

@ -564,7 +564,7 @@ int main(int argc, char *argv[])
comboActive = GuiComboBox(bounds[COMBOBOX], comboText, comboNum, comboActive);
GuiTextBox(bounds[TEXTBOX], guiText, spinnerValue);
GuiTextBox(bounds[TEXTBOX], guiText, spinnerValue, true);
colorPickerValue = GuiColorPicker(bounds[COLORPICKER], colorPickerValue);
@ -581,7 +581,7 @@ int main(int argc, char *argv[])
GuiLabel((Rectangle){ anchor02.x + 300, anchor02.y + 410, 8, 20 }, FormatText("S: %.0f %%", colorHSV.y*100));
GuiLabel((Rectangle){ anchor02.x + 300, anchor02.y + 395, 8, 20 }, FormatText("V: %.0f %%", colorHSV.z*100));
GuiTextBox((Rectangle){ anchor02.x + 290, anchor02.y + 530, 65, 20 }, colorHex, 8);
GuiTextBox((Rectangle){ anchor02.x + 290, anchor02.y + 530, 65, 20 }, colorHex, 8, true);
for(int i = 0; i < 12; i++) colorBoxValue[i] = ColorBox((Rectangle){ anchor02.x + 290 + 20*(i%3), anchor02.y + 440 + 20*(i/3), 20, 20 }, &colorPickerValue, colorBoxValue[i]);