1 #ifndef AETHER_LISTHEADINGHELP_HPP 2 #define AETHER_LISTHEADINGHELP_HPP 4 #include "Aether/base/Container.hpp" 5 #include "Aether/horizon/button/HelpButton.hpp" 6 #include "Aether/horizon/list/ListHeading.hpp" 22 void positionElements();
void onHelpPressed(std::function< void()> f)
Sets the function to invoke when the help button is pressed.
A ListHeading is a small rectangle with text alongside, usually used in a list.
Definition: ListHeading.hpp:12
void setRectColour(Colour c)
Set the rectangle colour.
void setH(int h)
Adjusts the list heading height. Repositions elements as necessary.
A container is an element that contains other elements. It implements the required behaviour to navig...
Definition: Container.hpp:16
void setTextColour(Colour c)
Set the text colour.
Colour getTextColour()
Get the text colour.
void setW(int w)
Adjusts the list heading width. Repositions elements as necessary.
A ListHeading but with a help icon that's right aligned.
Definition: ListHeadingHelp.hpp:12
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
int h()
Returns height of element.
Base namespace for all Aether related classes and functions.
Colour getRectColour()
Get the rectangle colour.
void setHelpColour(Colour c)
Set the help colour.
ListHeadingHelp(std::string s, std::function< void()> f)
Construct a new List Heading Help object. Auto positions elements when instantiated.
Colour getHelpColour()
Get the help colour.