tryin to learn me some opengl
- ColorModel fns
init
whatever is normal for this type rgb hsl ...init_from_blah
fns to cast other color models into @This()init_xyza
normalized init all values are [0-1]to_xyza
returns normalized floats of the values (for sliders)to_gl_rgba_vertex
returns floats for openglformat
- pretty printset_alpha
set alpha values
- default Color should be RGBAFloat
- make slider a "component"
- use struct for state
- math
- 4x4 matrix
- linear
- orthographic
- scale
- rotate
- skew
- translate
- 4x4 matrix
- box
- more flex
- more responsive
- add things based on grids?
- add things based on %
- debug mode (random borders, random fills)
- wrap?
- inputs
- button
- pulse (instant button)
- checkbox
- slider
- text
- textarea?
- text-arrow-key-keyboard
- no border_color just color_border
- render fonts
- worker thread pool for async tasks
- file io
- save an load pallet
- Box? a nice way to render a Rect with a Theme?
- width
- height
- border
- margin
- pad
- fill_color
- fill_image?
- per frame arena allocator?
- more basic render fns
- Button + Double Click
- Slider
- ColorPicker
- BRUSH
- sample 1 texture for alpha (try and emulate air brush)
- each gui component should have the ability to be aboslutly postioned or postioned by a
cursur?
- or figure out how to have aboslutly postioned things use a cursur?
- or have seperate fns
button\_absolute()
vsbutton\_cursor()
orbutton\_a()
orbutton\_c()