Zed A. Shaw
|
3ec2bf4784
|
Can now do UI rendering based on the name and also have gaps in the grid reliably.
|
2025-02-16 12:34:48 -05:00 |
|
Zed A. Shaw
|
f884b83809
|
SFML's use of fonts is bizarre. It gives you a bounding box for the font, but then just ignores it and positions the text using the baseline, which is then outside of the bounding box. This is a quick fix but still looks wrong.
|
2025-02-16 03:00:29 -05:00 |
|
Zed A. Shaw
|
6b9c67beec
|
Add some debug boxes around the fonts to figure out why they aren't vertically centered.
|
2025-02-15 22:54:00 -05:00 |
|
Zed A. Shaw
|
a7991a8f06
|
Fixing more bugs related to percentages and then prototype a more complex UI.
|
2025-02-15 22:14:19 -05:00 |
|
Zed A. Shaw
|
e106ad4be7
|
Can click on buttons and make them change color.
|
2025-02-15 14:29:27 -05:00 |
|
Zed A. Shaw
|
7f9e200abe
|
LEL can now do hit detection on squares.
|
2025-02-15 13:43:41 -05:00 |
|
Zed A. Shaw
|
aa149b6574
|
Can now use lel::center to center something inside a cell.
|
2025-02-15 13:22:36 -05:00 |
|
Zed A. Shaw
|
c03a384372
|
You can now prefix a size with % and it will do percentage for the size, even over 100.
|
2025-02-15 12:52:26 -05:00 |
|
Zed A. Shaw
|
60ed686eb0
|
Already better than CSS because I can center stuff.
|
2025-02-15 12:13:58 -05:00 |
|
Zed A. Shaw
|
cebf61a794
|
LEL is able to position right/left/top/bottom and expand out too.
|
2025-02-15 10:59:51 -05:00 |
|
Zed A. Shaw
|
872cedc8e1
|
LEL is working at a basic grid level, able to render boxes where I want.
|
2025-02-15 01:31:57 -05:00 |
|
Zed A. Shaw
|
1c8f542c21
|
Nuke taught me the other way to make class enums not suck so I guess no FU?
|
2025-02-13 11:14:32 -05:00 |
|
Zed A. Shaw
|
9b3b81683a
|
Separate out the major UIs to get ready for their development, and enable debug button.
|
2025-02-13 10:55:45 -05:00 |
|