Simple SFML GUI
0.2a
include
SSG
TextLine.hpp
1
#ifndef TEXTLINE_HPP_
2
#define TEXTLINE_HPP_
3
4
#include "Element.hpp"
5
#include "HaveText.hpp"
6
#include "HaveLineSize.hpp"
7
#include "HaveWordWrap.hpp"
8
#include "HaveHover.hpp"
9
#include "HavePressed.hpp"
10
#include "HaveEnabled.hpp"
11
#include "ColorAccess.hpp"
12
13
class
TextUpdater
;
14
class
TextLabel
;
15
16
class
TextLine
:
17
public
Element
,
18
public
HaveText
,
19
public
HaveEnabled
,
20
public
HaveHover
,
21
public
HavePressed
,
22
public
HaveLineSize
,
23
public
HaveWordWrap
,
24
public
SetColorAccess
,
25
public
GetColorAccess
{
26
public
:
27
friend
TextUpdater
;
28
friend
TextLabel
;
29
TextLine
(
const
TextLine
& line);
30
TextLine
();
31
32
virtual
void
draw(sf::RenderTarget& target, sf::RenderStates states);
33
virtual
bool
update(sf::Vector2f mp,
bool
pressLeft,
bool
pressRight,
bool
aboveHover);
34
35
protected
:
36
Align align;
37
};
38
39
#endif
TextLabel
Definition:
TextLabel.hpp:26
HaveHover
Definition:
HaveHover.hpp:16
SetColorAccess
Definition:
ColorAccess.hpp:17
HaveEnabled
Definition:
HaveEnabled.hpp:15
HaveLineSize
Definition:
HaveLineSize.hpp:13
GetColorAccess
Definition:
ColorAccess.hpp:26
TextUpdater
Definition:
TextUpdater.hpp:14
HaveWordWrap
Definition:
HaveWordWrap.hpp:11
Element
Definition:
Element.hpp:22
TextLine
Definition:
TextLine.hpp:16
HaveText
Definition:
HaveText.hpp:14
HavePressed
Definition:
HavePressed.hpp:14
Generated by
1.8.13