Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
iv_components
Simulation
SimulationState_Button.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
SimulationState.hpp
"
4
#include <
ivorium.hpp
>
5
6
namespace
comp
7
{
8
12
class
SimulationState_Button
:
public
iv::LumaButton
13
{
14
public
:
15
iv::ClientMarker
cm
;
16
using
iv::LumaButton::instance
;
17
18
SimulationState_Button
(
iv::Instance
* inst,
SimulationState
*
sim
,
iv::LumaStyleId
style_id
=
iv::LumaStyleId
() );
19
virtual
void
ColorsChanged
(
iv::float4
surface
,
iv::float4
on_surface )
override
;
20
21
public
:
22
SimulationState
*
sim
;
23
iv::Heap
heap
;
24
iv::AnimHeap
anim
;
25
SimulationState::State
previous_state
;
26
27
iv::Image
*
icon
;
28
iv::Image
*
border
;
29
};
30
31
}