A window-like scrollable frame that needs to be supplied a texture. More...
#include <LumaFrame.hpp>
Public Attributes | |
iv::ClientMarker | cm |
iv::DirtyAttr< iv::ResourcePath > | attr_frame |
iv::DirtyAttr< float > | attr_frameWidth |
iv::DirtyAttr< bool > | attr_open |
If frame should be visible (open). There is a short transition between open and closed state. More... | |
iv::PrivValAttr< iv::SlotChild * > | child |
Public Attributes inherited from iv::ProtectedSlot | |
ClientMarker | cm |
Public Attributes inherited from iv::Elem | |
ClientMarker | cm |
DirtyAttr< bool > | attr_enabled |
DirtyAttr< float4x4 > | modelTransform |
DirtyAttr< ShaderScissor > | scissor |
Public Attributes inherited from iv::InputNode | |
ClientMarker | cm |
Public Attributes inherited from iv::SlotChild | |
ClientMarker | cm |
DirtyAttr< float3 > | expectedSize |
DirtyAttr< float3 > | preferredSize |
DirtyAttr< float3 > | size |
Public Attributes inherited from iv::Pickable | |
ClientMarker | cm |
Protected Member Functions | |
virtual void | first_pass_impl (iv::ElementRenderer *) override |
virtual void | PrivValAttr_Modified (Attribute *) override |
Protected Member Functions inherited from iv::ProtectedSlot | |
virtual void | second_pass_impl (ElementRenderer *) override |
virtual void | elem_eachChild (std::function< void(Elem *) > const &) override |
virtual void | elem_childDisconnect (Elem *) override |
virtual void | input_eachChild (std::function< void(InputNode *) > const &f) override |
virtual void | input_childDisconnect (InputNode *child) override |
Protected Member Functions inherited from iv::InputNode | |
virtual bool | input_trigger_process (InputRoot *root, Input::DeviceKey key) |
virtual void | input_process (InputRoot *root, Input::DeviceKey key, bool &press, bool &real, bool &offspace) |
Protected Member Functions inherited from iv::PrivValAttr_Owner | |
template<class T > | |
void | Attribute_Set (PrivValAttr_I< T > *, T const &) |
template<class T > | |
void | Attribute_SetMode (PrivValAttr_I< T > *, Attribute::ValueMode) |
Additional Inherited Members | |
Protected Attributes inherited from iv::ProtectedSlot | |
Slot | root |
Detailed Description
A window-like scrollable frame that needs to be supplied a texture.
Has vertically scrolling content implemented using LumaScroller. Just set texture path to LumaFrame::frame and set LumaFrame::frameWidth and add children to LumaFrame::child and everything should work.
Definition at line 16 of file LumaFrame.hpp.
Constructor & Destructor Documentation
◆ LumaFrame()
iv::LumaFrame::LumaFrame | ( | iv::Instance * | inst | ) |
< Prefsize 0 is kind of a special case for some elements. Not much need to try to fix this yet.
Definition at line 6 of file LumaFrame.cpp.
Member Function Documentation
◆ frame()
LumaFrame * iv::LumaFrame::frame | ( | iv::ResourcePath | val | ) |
Definition at line 115 of file LumaFrame.cpp.
◆ frameWidth()
LumaFrame * iv::LumaFrame::frameWidth | ( | float | val | ) |
Definition at line 121 of file LumaFrame.cpp.
◆ open()
LumaFrame * iv::LumaFrame::open | ( | bool | val | ) |
Definition at line 127 of file LumaFrame.cpp.
◆ first_pass_impl()
|
overrideprotectedvirtual |
Reimplemented from iv::ProtectedSlot.
Definition at line 96 of file LumaFrame.cpp.
◆ PrivValAttr_Modified()
|
overrideprotectedvirtual |
Reimplemented from iv::PrivValAttr_Owner.
Definition at line 91 of file LumaFrame.cpp.
Member Data Documentation
◆ cm
iv::ClientMarker iv::LumaFrame::cm |
Definition at line 19 of file LumaFrame.hpp.
◆ attr_frame
iv::DirtyAttr< iv::ResourcePath > iv::LumaFrame::attr_frame |
Definition at line 28 of file LumaFrame.hpp.
◆ attr_frameWidth
iv::DirtyAttr< float > iv::LumaFrame::attr_frameWidth |
Definition at line 29 of file LumaFrame.hpp.
◆ attr_open
iv::DirtyAttr< bool > iv::LumaFrame::attr_open |
If frame should be visible (open). There is a short transition between open and closed state.
Definition at line 30 of file LumaFrame.hpp.
◆ child
iv::PrivValAttr< iv::SlotChild * > iv::LumaFrame::child |
Definition at line 32 of file LumaFrame.hpp.
The documentation for this class was generated from the following files:
- ivorium_UI/LumaFrame.hpp
- ivorium_UI/LumaFrame.cpp