saikyun / freja

Self-modifiable editor for coding graphical things
67 stars 3 forks source link

Design layouting system #17

Closed saikyun closed 3 years ago

saikyun commented 3 years ago

When creating GUI components (e.g. menus), it is desirable to make it easy to do certain things:

Currently this is not possible. Would be nice to gather more things that would be nice to do wrt layouting here.

saikyun commented 3 years ago

Sizes are implemented. Need to add positions too. Then use all that information when rendering / receiving events.

saikyun commented 3 years ago

Some initial work has been done: https://github.com/Saikyun/freja-layouting Need to start using it inside freja. Will start with menu.

saikyun commented 3 years ago

Now the menu is added. Seems to work so far.