Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
menu.hpp File Reference

Buttons and labels of a menu, their states, and how they are drawn. More...

#include <aegis2d/core/math.hpp>
#include <aegis2d/render/bitmap_font.hpp>
#include <aegis2d/render/color.hpp>
#include <aegis2d/render/renderer.hpp>
#include <aegis2d/ui/export.hpp>
#include <aegis2d/ui/widget_tree.hpp>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  aegis2d::ui::MenuStyle
 Colors, text size and layer of a menu. More...
 
class  aegis2d::ui::Menu
 Buttons and labels of a menu, on a WidgetTree. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::ui
 Menus and forms: widgets and their focus, moved by keyboard, gamepad and mouse (client only).
 

Enumerations

enum class  aegis2d::ui::WidgetState : std::uint8_t { aegis2d::ui::Normal , aegis2d::ui::Focused , aegis2d::ui::Pressed , aegis2d::ui::Disabled }
 How a button looks, from what the player does with it. More...
 

Detailed Description

Buttons and labels of a menu, their states, and how they are drawn.