Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_UI
LumaFrame.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
LumaScroller.hpp
"
4
#include <
ivorium_graphics/ivorium_graphics.hpp
>
5
6
namespace
iv
7
{
8
16
class
LumaFrame
:
public
iv::ProtectedSlot
,
protected
iv::PrivValAttr_Owner
17
{
18
public
:
19
iv::ClientMarker
cm
;
20
using
iv::ProtectedSlot::instance
;
21
22
LumaFrame
(
iv::Instance
* );
23
24
LumaFrame
*
frame
(
iv::ResourcePath
);
25
LumaFrame
*
frameWidth
(
float
);
26
LumaFrame
*
open
(
bool
);
27
28
iv::DirtyAttr< iv::ResourcePath >
attr_frame
;
29
iv::DirtyAttr< float >
attr_frameWidth
;
30
iv::DirtyAttr< bool >
attr_open
;
31
32
iv::PrivValAttr< iv::SlotChild * >
child
;
33
34
protected
:
35
// ProtectedSlot
36
virtual
void
first_pass_impl
(
iv::ElementRenderer
* )
override
;
37
38
// PrivValAttr_Owner
39
virtual
void
PrivValAttr_Modified
(
Attribute
* )
override
;
40
41
private
:
42
iv::AnimHeap
anim;
43
iv::LumaScroller
* scroller;
44
iv::Image
* img_frame;
45
iv::Lambda_Connector
* connector;
46
iv::Border
* border;
47
};
48
49
}