1 #ifndef AETHER_DATETIME_HPP 2 #define AETHER_DATETIME_HPP 5 #include "Aether/horizon/button/BorderButton.hpp" 6 #include "Aether/horizon/controls/ControlBar.hpp" 7 #include "Aether/horizon/input/Spinner.hpp" 8 #include "Aether/primary/Rectangle.hpp" 9 #include "Aether/Overlay.hpp" 36 return static_cast<DTFlag>(
static_cast<int>(a) | static_cast<int>(b));
114 void setBackLabel(std::string s);
121 void setOKLabel(std::string s);
128 void setDayHint(std::string s);
135 void setMonthHint(std::string s);
142 void setYearHint(std::string s);
149 void setHourHint(std::string s);
156 void setMinuteHint(std::string s);
163 void setSecondHint(std::string s);
170 Colour getBackgroundColour();
177 void setBackgroundColour(
Colour c);
184 Colour getHighlightColour();
191 void setHighlightColour(
Colour c);
198 Colour getInactiveColour();
205 void setInactiveColour(
Colour c);
212 Colour getSeparatorColour();
219 void setSeparatorColour(
Colour c);
233 void setTextColour(
Colour c);
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
DTFlag operator|(DTFlag a, DTFlag b)
Bitwise OR operator for DTFlag.
Definition: DateTime.hpp:35
A Spinner contains a number which can be increased/decreased by pressing the associated up/down butto...
Definition: Spinner.hpp:25
Stores RGBA values representing a colour. Each component can be within the range 0 to 255 (inclusive)...
Definition: Colour.hpp:9
Base namespace for all Aether related classes and functions.
A container holding control elements (and nothing else) which automatically arranges them at the bott...
Definition: ControlBar.hpp:16
An object representing an overlay.
Definition: Overlay.hpp:14
DTFlag
Spinners to show (create custom by passing bitwise OR of multiple flags!) Each bit represents in the ...
Definition: DateTime.hpp:16
The DateTime overlay is used to get the user to select a date/time. It must be passed a tm struct on ...
Definition: DateTime.hpp:46