Commit graph

15 commits

Author SHA1 Message Date
Zed A. Shaw
46de98e6f4 I now have a semi-functional GUI system that uses the ECS style to build gui elements rather than inheritance. 2025-02-18 01:10:56 -05:00
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
79c84ce885 New design on LEL that's way more sane and allows for more flexible columns and rows. 2025-02-16 11:50:14 -05:00
Zed A. Shaw
45ad16c010 A bit more refinement. 2025-02-15 22:23:24 -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
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
d558da1620 Just move all the one-liner functions straight into the parser. 2025-02-15 12:21:04 -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
1620a5420f Use a lel:: namespace. 2025-02-15 11:55:04 -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
846b7aaf16 Initial cut of the lel parser mostly working but none of the basic alignment properties work. 2025-02-14 15:40:15 -05:00
Zed A. Shaw
bfd2718cc9 Found my old LEL code and got the shell working, so tomorrow I'll try to make it layout some gui element. 2025-02-14 02:13:08 -05:00