11 #include "windowing/GraphicContext.h" 26 void SetParentWindow(
int window);
28 void SetViewControlID(
int control);
30 void SetCurrentView(
int viewMode,
bool bRefresh =
false);
34 void SetSelectedItem(
int item);
35 void SetSelectedItem(
const std::string &itemPath);
37 int GetSelectedItem()
const;
38 std::string GetSelectedItemPath()
const;
41 bool HasControl(
int controlID)
const;
42 int GetNextViewMode(
int direction = 1)
const;
43 int GetViewModeNumber(
int number)
const;
44 int GetViewModeCount()
const;
45 int GetViewModeByID(
int id)
const;
47 int GetCurrentControl()
const;
52 int GetSelectedItem(
const CGUIControl *control)
const;
53 void UpdateContents(
const CGUIControl *control,
int currentItem)
const;
55 void UpdateViewAsControl(
const std::string &viewLabel);
56 void UpdateViewVisibility();
57 int GetView(VIEW_TYPE type,
int id)
const;
59 std::vector<CGUIControl*> m_allViews;
60 std::vector<CGUIControl*> m_visibleViews;
61 typedef std::vector<CGUIControl*>::const_iterator ciViews;
Definition: GUIViewControl.h:19
Represents a list of files.
Definition: FileItem.h:713
Base class for controls.
Definition: GUIControl.h:75