ui begin text box

This commit is contained in:
Krzosa Karol
2025-01-23 09:51:16 +01:00
parent 157baab5b9
commit fdbc8490c4
4 changed files with 73 additions and 25 deletions

View File

@@ -24,31 +24,19 @@
[ ] ui
[ ] text input
[ ] everything lister (with edits etc.)
[ ] push pop flag
[ ] how to do colors?
- css like based on ids and pre built palettes
- fat box with stacks (now)
-
[ ] demo style, with different buttons and controls, headings
[x] palette idea, also push pop palette
[ ] push pop flag
[x] replace padding with something more 'real'
[ ] color picker
[ ] slider
[ ] draw image in box ui
- maybe remove radio_color in ui and do a 2 tier color scheme (ui as separate from the theme ui)
- but then how do we pass color to ui_radio_button?
float COLOR_Tint = 0.0;
Vec4 COLOR_Caret = HSLToRGB({COLOR_Tint, 0.4f, 0.60f, 1.0f});
Vec4 COLOR_white = {1, 1, 1, 1};
Vec4 COLOR_plot_lines = COLOR_white;
Vec4 COLOR_on_hover_rect = HSLToRGB({COLOR_Tint, 0.2f, 0.96f, 1.0f});
Vec4 COLOR_cell_outline = COLOR_white;
Vec4 COLOR_background_plot = HSLToRGB({COLOR_Tint, 0.2f, 0.95f, 1.0f});
Vec4 COLOR_spreadsheet_background = COLOR_background_plot;
Vec4 COLOR_text = HSLToRGB({COLOR_Tint, 0.2f, 0.7f, 1.0f});
Vec4 COLOR_highlighted_text = HSLToRGB({COLOR_Tint, 0.4f, 0.9f, 1.0f});
Vec4 COLOR_data_point = HSLToRGB({COLOR_Tint, 0.4f, 0.60f, 1.0f});
Vec4 COLOR_highlighted_data_point = HSLToRGB({COLOR_Tint, 0.4f, 0.90f, 1.0f});
Vec4 COLOR_on_hover_outline_rect = COLOR_text;
[ ] core
[ ] ast
[ ] move to core layer at some point as the abstract format for different types of serialization