kodi
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
CGUIViewControl Class Reference
Collaboration diagram for CGUIViewControl:
Collaboration graph
[legend]

Public Member Functions

void Reset ()
 
void SetParentWindow (int window)
 
void AddView (const CGUIControl *control)
 
void SetViewControlID (int control)
 
void SetCurrentView (int viewMode, bool bRefresh=false)
 
void SetItems (CFileItemList &items)
 
void SetSelectedItem (int item)
 
void SetSelectedItem (const std::string &itemPath)
 
int GetSelectedItem () const
 
std::string GetSelectedItemPath () const
 
void SetFocused ()
 
bool HasControl (int controlID) const
 
int GetNextViewMode (int direction=1) const
 
int GetViewModeNumber (int number) const
 
int GetViewModeCount () const
 
int GetViewModeByID (int id) const
 
int GetCurrentControl () const
 
void Clear ()
 

Protected Types

typedef std::vector< CGUIControl * >::const_iterator ciViews
 

Protected Member Functions

int GetSelectedItem (const CGUIControl *control) const
 
void UpdateContents (const CGUIControl *control, int currentItem) const
 
void UpdateView ()
 
void UpdateViewAsControl (const std::string &viewLabel)
 
void UpdateViewVisibility ()
 
int GetView (VIEW_TYPE type, int id) const
 

Protected Attributes

std::vector< CGUIControl * > m_allViews
 
std::vector< CGUIControl * > m_visibleViews
 
CFileItemListm_fileItems
 
int m_viewAsControl
 
int m_parentWindow
 
int m_currentView
 

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