![]() |
cmdfx 0.3.2
Lightweight game engine for your terminal
|
C++ Extensions for CmdFX Button UI. More...
#include "cmdfx/core/events.h"#include "cmdfx/ui/button.h"#include <stdlib.h>#include "cmdfx/core/builder.hpp"#include "cmdfx/core/sprites.hpp"#include <memory>#include <vector>Go to the source code of this file.
Classes | |
| class | CmdFX::Button |
| A C++ wrapper around the CmdFX_Button struct. More... | |
Namespaces | |
| namespace | CmdFX |
| Primary namespace for CmdFX. | |
| namespace | CmdFX::Canvas |
| C++ wrapper for the CmdFX canvas. | |
Functions | |
| std::vector< std::unique_ptr< Button > > | CmdFX::Canvas::getRegisteredButtons () |
| Gets all registered buttons in the UI manager as a vector of unique_ptr<Button>. | |
| int | CmdFX::Canvas::getRegisteredButtonsCount () |
| std::vector< std::unique_ptr< Button > > | CmdFX::Canvas::getAllButtonsAt (int x, int y) |
| std::unique_ptr< Button > | CmdFX::Canvas::getButtonAt (int x, int y) |