Pyro higlevel API
Public Types | Public Member Functions | Public Attributes | List of all members
os::IconView::Private Class Reference

Public Types

enum  adj_direction {
  ADJ_LEFT,
  ADJ_RIGHT,
  ADJ_UP,
  ADJ_DOWN
}
 

Public Member Functions

 Private (os::IconView *pcControl)
 
void Lock ()
 
void Unlock ()
 
void CalculateMaxIconSize ()
 
void SortIcons ()
 
os::Rect GetViewFrame ()
 
void LayoutIcons ()
 
void LayoutIconsIfNecessary ()
 
int HitTest (const os::Point &cPosition)
 
void DeselectAll ()
 
void Select (uint nIcon, bool bSelected)
 
void Select (os::Point cStart, os::Point cEnd, bool bKeepSelection)
 
void SelectAdjacent (adj_direction eDirection, bool bAddToSelection=false)
 
void RenderSelection (uint nIcon, os::View *pcView, os::Point cPosition)
 
void RenderIcon (uint nIcon, os::View *pcView, os::Point cPosition)
 
void RenderIcon (os::String zName, os::Image *pcImage, os::View *pcView, os::Point cPosition)
 
void AdjustScrollBars ()
 

Public Attributes

os::IconViewm_pcControl
 
os::Viewm_pcView
 
os::ScrollBarm_pcHScrollBar
 
os::ScrollBarm_pcVScrollBar
 
os::Lockerm_pcIconLock
 
std::vector< Icon * > m_cIcons
 
view_type m_eType
 
os::Imagem_pcBackground
 
os::Color32_s m_sBackgroundColor
 
os::Color32_s m_sTextColor
 
os::Color32_s m_sTextShadowColor
 
os::Color32_s m_sSelectionColor
 
int m_nLastActiveIcon
 
float m_vIconWidth
 
float m_vIconHeight
 
float m_vStringWidth [10]
 
int m_nIconsPerRow
 
bool m_bMouseDown
 
bool m_bMouseDownOverIcon
 
os::Point m_cMouseDownPos
 
bool m_bMouseSelectedIcon
 
bool m_bDragging
 
bool m_bSelecting
 
float m_vLastXPos
 
float m_vLastYPos
 
os::Point m_cSelectStart
 
os::Point m_cLastSelectPosition
 
bigtime_t m_nLastClick
 
os::Messagem_pcSelChangeMsg
 
bool m_bAdjusting
 
bool m_bScrollDown
 
bool m_bScrollUp
 
bool m_bScrollLeft
 
bool m_bScrollRight
 
float m_vScrollBarWidth
 
float m_vScrollBarHeight
 
bool m_bSingleClick
 
bool m_bAutoSort
 
bool m_bMultiSelect
 
bool m_bVScrollBarVisible
 
bool m_bHScrollBarVisible
 
os::String m_cSearchString
 
bigtime_t m_nLastKeyDownTime
 

Member Enumeration Documentation

Enumerator
ADJ_LEFT 
ADJ_RIGHT 
ADJ_UP 
ADJ_DOWN 

Constructor & Destructor Documentation

os::IconView::Private::Private ( os::IconView pcControl)
inline

Member Function Documentation

void os::IconView::Private::AdjustScrollBars ( )
inline
void os::IconView::Private::CalculateMaxIconSize ( )
inline
void os::IconView::Private::DeselectAll ( )
inline
os::Rect os::IconView::Private::GetViewFrame ( )
inline
int os::IconView::Private::HitTest ( const os::Point cPosition)
inline
void os::IconView::Private::LayoutIcons ( )
inline
void os::IconView::Private::LayoutIconsIfNecessary ( )
inline
void os::IconView::Private::Lock ( )
inline
void os::IconView::Private::RenderIcon ( uint  nIcon,
os::View pcView,
os::Point  cPosition 
)
inline
void os::IconView::Private::RenderIcon ( os::String  zName,
os::Image pcImage,
os::View pcView,
os::Point  cPosition 
)
inline
void os::IconView::Private::RenderSelection ( uint  nIcon,
os::View pcView,
os::Point  cPosition 
)
inline
void os::IconView::Private::Select ( uint  nIcon,
bool  bSelected 
)
inline
void os::IconView::Private::Select ( os::Point  cStart,
os::Point  cEnd,
bool  bKeepSelection 
)
inline
void os::IconView::Private::SelectAdjacent ( adj_direction  eDirection,
bool  bAddToSelection = false 
)
inline
void os::IconView::Private::SortIcons ( )
inline
void os::IconView::Private::Unlock ( )
inline

Member Data Documentation

bool os::IconView::Private::m_bAdjusting
bool os::IconView::Private::m_bAutoSort
bool os::IconView::Private::m_bDragging
bool os::IconView::Private::m_bHScrollBarVisible
bool os::IconView::Private::m_bMouseDown
bool os::IconView::Private::m_bMouseDownOverIcon
bool os::IconView::Private::m_bMouseSelectedIcon
bool os::IconView::Private::m_bMultiSelect
bool os::IconView::Private::m_bScrollDown
bool os::IconView::Private::m_bScrollLeft
bool os::IconView::Private::m_bScrollRight
bool os::IconView::Private::m_bScrollUp
bool os::IconView::Private::m_bSelecting
bool os::IconView::Private::m_bSingleClick
bool os::IconView::Private::m_bVScrollBarVisible
std::vector<Icon*> os::IconView::Private::m_cIcons
os::Point os::IconView::Private::m_cLastSelectPosition
os::Point os::IconView::Private::m_cMouseDownPos
os::String os::IconView::Private::m_cSearchString
os::Point os::IconView::Private::m_cSelectStart
view_type os::IconView::Private::m_eType
int os::IconView::Private::m_nIconsPerRow
int os::IconView::Private::m_nLastActiveIcon
bigtime_t os::IconView::Private::m_nLastClick
bigtime_t os::IconView::Private::m_nLastKeyDownTime
os::Image* os::IconView::Private::m_pcBackground
os::IconView* os::IconView::Private::m_pcControl
os::ScrollBar* os::IconView::Private::m_pcHScrollBar
os::Locker* os::IconView::Private::m_pcIconLock
os::Message* os::IconView::Private::m_pcSelChangeMsg
os::View* os::IconView::Private::m_pcView
os::ScrollBar* os::IconView::Private::m_pcVScrollBar
os::Color32_s os::IconView::Private::m_sBackgroundColor
os::Color32_s os::IconView::Private::m_sSelectionColor
os::Color32_s os::IconView::Private::m_sTextColor
os::Color32_s os::IconView::Private::m_sTextShadowColor
float os::IconView::Private::m_vIconHeight
float os::IconView::Private::m_vIconWidth
float os::IconView::Private::m_vLastXPos
float os::IconView::Private::m_vLastYPos
float os::IconView::Private::m_vScrollBarHeight
float os::IconView::Private::m_vScrollBarWidth
float os::IconView::Private::m_vStringWidth[10]