TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::ui::menu_item Class Reference

UI wrapper around setting up a menu item group. More...

#include <menu_item.hpp>

Public Member Functions

void begin ()
 
void end ()
 
void add_child (const std::string &p_name, const std::function< void()> &p_callback)
 

Detailed Description

UI wrapper around setting up a menu item group.

++
menu.begin();
menu.add_child("Save", [](){
// do some operation related to saving
// perhaps saving the scene...
});
menu.end();
UI wrapper around setting up a menu item group.
Definition menu_item.hpp:39

The documentation for this class was generated from the following file: