Alessandro Mauri
87de68028a
update todo
6 days ago
Alessandro Mauri
04843fe714
do not use xor to combine keys since when more than two layers deep this would result in identical keys
6 days ago
Alessandro Mauri
a0c6a3b2cb
work on button with label
6 days ago
Alessandro Mauri
ca691d1294
enlarge scrollbars when focused
7 days ago
Alessandro Mauri
f7985f8c7f
track focused and hovered elements
7 days ago
Alessandro Mauri
4bd827ce5c
set ids <facepalm>
1 week ago
Alessandro Mauri
d31b4eab53
update todo
1 week ago
Alessandro Mauri
1088083e1e
stuff, mostly renaming variables
1 week ago
Alessandro Mauri
601a396aa8
scrollbar fixup
1 week ago
Alessandro Mauri
a481269022
work on div sliders, major changes
...
* Ids are now keyed based on the parent's id, this means that an element can have
the same label when placed in different divs
* Divs now enable the scissor test, this way the elements cannot draw outside of
the parent div bounds
* Introduced a LAYOUT_ABSOLUTE that disables all layout logic, for internal use
* Divs now draw scrollbars using the slider_hor and slider_ver elements
1 week ago
Alessandro Mauri
499f6dc79b
removed force update
1 week ago
Alessandro Mauri
740ea0c6be
merged ugui_impl and ugui_data to ugui_core
1 week ago
Alessandro Mauri
8d4b353e88
a lot of work on sliders
1 week ago
Alessandro Mauri
c0e9565bf6
idk some stuff
1 week ago
Alessandro Mauri
c1a7b4fcdb
display timing statistics
1 week ago
Alessandro Mauri
7d9a8a1363
pre-cache ascii range in font atlas
1 week ago
Alessandro Mauri
2e0c6333d3
draw border around floating divs
1 week ago
Alessandro Mauri
3a7655a3f0
specify texture id in the sprite command
1 week ago
Alessandro Mauri
7b7aac8df4
schrift use ZString where necessary
1 week ago
Alessandro Mauri
2e60e4c5b8
fix font alpha channel
1 week ago
Alessandro Mauri
bca29c537c
scissor command
2 weeks ago
Alessandro Mauri
6d8300f9d9
better font atlas implementation
2 weeks ago
Alessandro Mauri
5a89e9ec7d
fixed formatting fuckups offered by the zed team
2 weeks ago
Alessandro Mauri
0db858e814
use libgrapheme to interpret utf8 encoded strings
2 weeks ago
Alessandro Mauri
8cf3881b6b
added libgrapheme
2 weeks ago
Alessandro Mauri
373243d138
fix rect roundness
2 weeks ago
Alessandro Mauri
3070fac9f5
cull zero area rects
2 weeks ago
Alessandro Mauri
5c687bd24e
add push_sprite()
2 weeks ago
Alessandro Mauri
c880c2b26e
correct text bounds
2 weeks ago
Alessandro Mauri
089140e1ed
substitute enqueue() with push_rect()
2 weeks ago
Alessandro Mauri
fb177c03f7
some todos
2 weeks ago
Alessandro Mauri
328cac871a
started work on border radius
2 weeks ago
Alessandro Mauri
f0aa59ef0b
even better text rendering
2 weeks ago
Alessandro Mauri
61556d0a2c
forgot the baseline
2 weeks ago
Alessandro Mauri
2356d165fe
somewhat functional text rendering
2 weeks ago
Alessandro Mauri
dbe70eb4f4
added library schrift
3 weeks ago
Alessandro Mauri
f86a360f39
correct slider handle placement
3 weeks ago
Alessandro Mauri
7e18c7a316
only reset div elements to default if new element
4 weeks ago
Alessandro Mauri
537acd4765
added a way to force a relayout
4 weeks ago
Alessandro Mauri
d5bea68058
report timings
4 weeks ago
Alessandro Mauri
574a1f23dc
some tests
1 month ago
Alessandro Mauri
f8e2c0b70c
more TODO
1 month ago
Alessandro Mauri
9a785e0f06
use builtin hash functions instead of rolling my own
1 month ago
Alessandro Mauri
bb1745a05d
use map::HashMap instead of map::Map and use clz() to find a free spot
1 month ago
Alessandro Mauri
04dff26067
reduced maximum elements to 1024
1 month ago
Alessandro Mauri
fa3362cc66
wait for events to reduce cpu usage
1 month ago
Alessandro Mauri
73bc933eb5
semi-working vertical slider
1 month ago
Alessandro Mauri
763e9ba8d6
correct placement and box model
1 month ago
Alessandro Mauri
250a0fb3b5
initial work on scrollable divs
2 months ago
Alessandro Mauri
8bc38452b3
renamed elem.rect to elem.bounds
2 months ago