Public Member Functions |
Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members  
  iv::PickableSlot Class Reference
  #include <PickableSlot.hpp>
Public Attributes | |
| ClientMarker | cm | 
| Position_InputNode | input | 
  Public Attributes inherited from iv::Slot | |
| ClientMarker | cm | 
  Public Attributes inherited from iv::VectorChildrenElem< SlotChild > | |
| 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 bool | position_test (int2 input_pos) override | 
  Protected Member Functions inherited from iv::Slot | |
| virtual void | first_pass_impl (ElementRenderer *) override | 
| virtual void | second_pass_impl (ElementRenderer *) override | 
  Protected Member Functions inherited from iv::VectorChildrenElem< SlotChild > | |
| 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 Attributes | |
| Pickable * | pickable | 
  Protected Attributes inherited from iv::VectorChildrenElem< SlotChild > | |
| std::vector< SlotChild * > | children | 
| bool | children_dirty | 
Detailed Description
Basically a common base for buttons. Proper PickableSlot implementation should visually react to input attribute changes in PickableSlot::input.
Definition at line 13 of file PickableSlot.hpp.
Constructor & Destructor Documentation
◆ PickableSlot()
| iv::PickableSlot::PickableSlot | ( | Instance * | inst | ) | 
Definition at line 9 of file PickableSlot.cpp.
Member Function Documentation
◆ pickable_elem()
| void iv::PickableSlot::pickable_elem | ( | Pickable * | pickable | ) | 
Definition at line 22 of file PickableSlot.cpp.
◆ input_position_local()
| float2 iv::PickableSlot::input_position_local | ( | ) | 
Definition at line 27 of file PickableSlot.cpp.
◆ position_test()
      
  | 
  overrideprotectedvirtual | 
- Returns
 - True if the input is inside tested area.
 
Implements iv::Position_InputNode::Tester.
Definition at line 42 of file PickableSlot.cpp.
Member Data Documentation
◆ cm
| ClientMarker iv::PickableSlot::cm | 
Definition at line 16 of file PickableSlot.hpp.
◆ input
| Position_InputNode iv::PickableSlot::input | 
Definition at line 24 of file PickableSlot.hpp.
◆ pickable
      
  | 
  protected | 
Definition at line 31 of file PickableSlot.hpp.
The documentation for this class was generated from the following files:
- ivorium_graphics/Elements/PickableSlot.hpp
 - ivorium_graphics/Elements/PickableSlot.cpp
 
          
          
 Public Member Functions inherited from 