Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_UI
Rectangle_LumaButton.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
LumaButton.hpp
"
4
5
namespace
iv
6
{
7
14
class
Rectangle_LumaButton
:
public
LumaButton
15
{
16
public
:
17
ClientMarker
cm
;
18
using
LumaButton::instance
;
19
20
Rectangle_LumaButton
(
iv::Instance
* inst,
ResourcePath
const
& icon,
char
const
* label,
LumaStyleId
style_id
=
LumaStyleId
() );
21
22
protected
:
23
virtual
void
ColorsChanged
(
float4
surface
,
float4
on_surface )
override
;
24
25
private
:
26
Image
* img_icon;
27
Text
* text;
28
};
29
30
}