hollyhock
Loading...
Searching...
No Matches
include
sdk
os
gui
label.hpp
1
#pragma once
2
#include <cstdint>
3
#include "util.hpp"
4
5
class
GUILabel
:
public
GUIElement
{
6
public
:
7
enum
Flag
:
int
{
9
FlagBackground
= 1 << 0,
10
16
FlagSelectable
= 1 << 15
17
};
18
19
GUILabel
(
int
x,
int
y,
const
char
*text);
20
GUILabel
(
21
int
x,
int
y,
22
const
char
*text,
23
int
flags,
24
uint16_t *textColor, uint16_t *backgroundColor
25
);
26
GUILabel
(
27
int
x,
int
y,
28
const
char
*text,
29
int
flags,
30
uint16_t *textColor, uint16_t *backgroundColor,
31
bool
showShadow, uint16_t shadowColor
32
);
33
};
34
GUIElement
Definition
util.hpp:78
GUILabel
Definition
label.hpp:5
GUILabel::Flag
Flag
Definition
label.hpp:7
GUILabel::FlagBackground
@ FlagBackground
Enables displaying the background color of the label.
Definition
label.hpp:9
GUILabel::FlagSelectable
@ FlagSelectable
Definition
label.hpp:16
Generated by
1.9.8