Remove widgets from menus #92

Open
opened 2024-10-24 10:46:02 +02:00 by kazhnuz · 1 comment
Owner

-> Completely splits the menus from the current "gui" system
-> Turn the "widgets" into a list of data that can change and a list of textures
-> Add a menu:drawElement(width, height) that draw the content of an element
-> Add a menu:action() that take the id and content of an element and act accordingly
-> Handle submenus and back directly inside the data structure

-> Completely splits the menus from the current "gui" system -> Turn the "widgets" into a list of data that can change and a list of textures -> Add a menu:drawElement(width, height) that draw the content of an element -> Add a menu:action() that take the id and content of an element and act accordingly -> Handle submenus and back directly inside the data structure
kazhnuz added the
1. Clean-up
2. Deliverable
4. Screen
4. Scenes
labels 2024-10-24 10:46:02 +02:00
kazhnuz changed title from Simplify Menu to Remove widgets from menus 2024-11-05 16:56:36 +01:00
kazhnuz added this to the epervier 0.7.0 milestone 2024-11-05 16:59:34 +01:00
Author
Owner
{
  {name="Test", data={}},
  {name="Test2", data={}},
  {name="Submenu", _submenu={
    {name="Test3", data={}},
    {name="Test4", data={}}
  }, _haveBackButton=true},
  {name="Test5", data={}}
}
```lua { {name="Test", data={}}, {name="Test2", data={}}, {name="Submenu", _submenu={ {name="Test3", data={}}, {name="Test4", data={}} }, _haveBackButton=true}, {name="Test5", data={}} } ```
Sign in to join this conversation.
No description provided.