#include <Slot.hpp>

Public Member Functions

 SlotChild (Elem *elem)
 
Instanceinstance () const
 
void status (iv::TableDebugView *view)
 
virtual bool picking_test (int2 input_pos) override
 
virtual bool picking_test_pixel_perfect (float2 local_pos)
 
- Public Member Functions inherited from iv::Pickable
 Pickable (Elem *elem)
 
Elemelem ()
 
const Elemelem () const
 

Public Attributes

ClientMarker cm
 
DirtyAttr< float3expectedSize
 
DirtyAttr< float3preferredSize
 
DirtyAttr< float3size
 
- Public Attributes inherited from iv::Pickable
ClientMarker cm
 

Detailed Description

Definition at line 11 of file Slot.hpp.

Constructor & Destructor Documentation

◆ SlotChild()

iv::SlotChild::SlotChild ( Elem elem)

Definition at line 86 of file Slot.cpp.

Member Function Documentation

◆ instance()

Instance * iv::SlotChild::instance ( ) const

Definition at line 96 of file Slot.cpp.

◆ status()

void iv::SlotChild::status ( iv::TableDebugView view)

Definition at line 101 of file Slot.cpp.

◆ picking_test()

bool iv::SlotChild::picking_test ( int2  input_pos)
overridevirtual

Implements iv::Pickable.

Definition at line 112 of file Slot.cpp.

◆ picking_test_pixel_perfect()

virtual bool iv::SlotChild::picking_test_pixel_perfect ( float2  local_pos)
inlinevirtual

Reimplemented in iv::Image.

Definition at line 39 of file Slot.hpp.

Member Data Documentation

◆ cm

ClientMarker iv::SlotChild::cm

Definition at line 14 of file Slot.hpp.

◆ expectedSize

DirtyAttr< float3 > iv::SlotChild::expectedSize

Do not set this manually, this is computed during down phase of first_pass. It can help elements like TextLayout determine which size will be available for them and adjust their preferred size according to it (TextLayout will use width at most of expected_size and height so that all text fits). Infinite value means that element will probably take any preferred_size as its size. What size will SlotChild probably get if it requests infinite size. What is the maximum preferred size that can SlotChild request and still probably get it.

Definition at line 29 of file Slot.hpp.

◆ preferredSize

DirtyAttr< float3 > iv::SlotChild::preferredSize

Definition at line 32 of file Slot.hpp.

◆ size

DirtyAttr< float3 > iv::SlotChild::size

Definition at line 35 of file Slot.hpp.


The documentation for this class was generated from the following files: