Aether
SDL2 based UI Framework for NX
include
Aether
horizon
list
ListComment.hpp
1
#ifndef AETHER_LISTCOMMENT_HPP
2
#define AETHER_LISTCOMMENT_HPP
3
4
#include "Aether/base/Element.hpp"
5
#include "Aether/primary/TextBlock.hpp"
6
7
namespace
Aether
{
12
class
ListComment
:
public
Element
{
13
private
:
15
TextBlock
* text;
16
20
void
updateElement();
21
22
public
:
28
ListComment
(std::string s);
29
35
Colour
getTextColour
();
36
42
void
setTextColour
(
Colour
c);
43
49
void
setW
(
int
w
);
50
};
51
};
52
53
#endif
Aether::ListComment::ListComment
ListComment(std::string s)
Construct a new List Comment object.
Aether::ListComment::getTextColour
Colour getTextColour()
Get the text colour.
Aether::Element::w
int w()
Returns width of element.
Aether::Colour
Stores RGBA values representing a colour. Each component can be within the range 0 to 255 (inclusive)...
Definition:
Colour.hpp:9
Aether::Element
Element is the base class to be inherited to form all other types of elements.
Definition:
Element.hpp:18
Aether
Base namespace for all Aether related classes and functions.
Aether::TextBlock
Element for rendering a multi-line block of text.
Definition:
TextBlock.hpp:10
Aether::ListComment::setW
void setW(int w)
Set new width for comment.
Aether::ListComment::setTextColour
void setTextColour(Colour c)
Set the text colour.
Aether::ListComment
A ListComment is a sentence/paragraph usually found under an option describing what it does...
Definition:
ListComment.hpp:12
Generated by
1.8.13