1 #ifndef AETHER_FILLEDBUTTON_HPP 2 #define AETHER_FILLEDBUTTON_HPP 4 #include "Aether/base/Element.hpp" 5 #include "Aether/primary/Rectangle.hpp" 6 #include "Aether/primary/Text.hpp" 33 FilledButton(
int x,
int y,
int w,
int h, std::string t,
unsigned int s, std::function<
void()> f);
A rectangle is a texture containing either a normal or rounded rectangle.
Definition: Rectangle.hpp:11
Element for rendering a single line of text. It can optionally scroll when overflowing.
Definition: Text.hpp:15
int w()
Returns width of element.
Stores RGBA values representing a colour. Each component can be within the range 0 to 255 (inclusive)...
Definition: Colour.hpp:9
Stores either a surface or texture which can be drawn on screen by providing a renderer to render()...
Definition: Drawable.hpp:22
int x()
Returns x-coordinate of element.
Element is the base class to be inherited to form all other types of elements.
Definition: Element.hpp:18
int h()
Returns height of element.
Base namespace for all Aether related classes and functions.
int y()
Returns y-coordinate of element.