aboutsummaryrefslogtreecommitdiff
path: root/src/menu
Commit message (Collapse)AuthorAgeFilesLines
* Allow children of gui_container be resized anytimeXavier Del Campo Romero2022-07-101-3/+4
| | | | | | | | | | | | | | So far, their position inside the container was determined when initializing the interface. However, if a child were resized afterwards, the container would not adjust its elements accordingly. Moreover, the implementation for gui_container relied on hacking the children's X/Y coordinates, which could only be done once. Now, two additional members have been added to gui_common so that specific X/Y offset can be determined by the parent, additionally to the traditional rules followed by gui_coords. Despite the extra memory footprint, it now allows containers to set specific X/Y offsets for their children on every game cycle.
* Implement join/host and game cfg menusXavier Del Campo Romero2022-07-076-72/+341
|
* Allow multiple button typesXavier Del Campo Romero2022-07-071-9/+28
|
* menu: implement main menu using new GUI improvementsXavier Del Campo Romero2022-07-021-8/+19
|
* menu.c: center play button on screenXavier Del Campo Romero2022-06-291-2/+2
|
* Implement main menuXavier Del Campo Romero2022-06-263-0/+91