My Project
 
Loading...
Searching...
No Matches
tag.h
Go to the documentation of this file.
1#pragma once
2
3#include "button.h"
4
5class NinePatch;
6
7class Tag :public Button{
8private:
9 float r;
10 float g;
11 float b;
12protected:
13 NinePatch* bg;
14
15 float lightness = 0;
16
17 virtual void createChildren();
18 virtual void layout();
19public:
20 Tag(int color);
21
22 void flash();
23
24 virtual void update();
25};
float lightness
Definition tag.h:15
virtual void layout()
Definition tag.cpp:11
void flash()
Definition tag.cpp:31
virtual void update()
Definition tag.cpp:36
virtual void createChildren()
Definition tag.cpp:5
Tag(int color)
Definition tag.cpp:20
NinePatch * bg
Definition tag.h:13