#include <StaticProvider.h>
§ CStaticListProvider() [1/2]
CStaticListProvider::CStaticListProvider |
( |
const TiXmlElement * |
element, |
|
|
int |
parentID |
|
) |
| |
§ CStaticListProvider() [2/2]
CStaticListProvider::CStaticListProvider |
( |
const std::vector< CGUIStaticItemPtr > & |
items | ) |
|
|
explicit |
§ ~CStaticListProvider()
CStaticListProvider::~CStaticListProvider |
( |
| ) |
|
|
overridedefault |
§ AlwaysFocusDefaultItem()
bool CStaticListProvider::AlwaysFocusDefaultItem |
( |
| ) |
const |
|
overridevirtual |
§ Fetch()
Fetch the current list of items.
- Parameters
-
items | [out] the list to be filled. |
Implements IListProvider.
§ GetDefaultItem()
int CStaticListProvider::GetDefaultItem |
( |
| ) |
const |
|
overridevirtual |
§ OnClick()
Click event on an item.
- Parameters
-
item | the item that was clicked. |
- Returns
- true if the click was handled, false otherwise.
Implements IListProvider.
§ OnContextMenu()
Open the context menu for an item provided by this IListProvider.
- Parameters
-
item | the item that was clicked. |
- Returns
- true if the click was handled, false otherwise.
Implements IListProvider.
§ OnInfo()
Open the info dialog for an item provided by this IListProvider.
- Parameters
-
item | the item that was clicked. |
- Returns
- true if the dialog was shown, false otherwise.
Implements IListProvider.
§ SetDefaultItem()
void CStaticListProvider::SetDefaultItem |
( |
int |
item, |
|
|
bool |
always |
|
) |
| |
|
overridevirtual |
§ Update()
bool CStaticListProvider::Update |
( |
bool |
forceRefresh | ) |
|
|
overridevirtual |
Update the list content.
- Returns
- true if the content has changed, false otherwise.
- Todo:
- Also returned changed if properties are changed (if so, need to update scroll to letter).
Implements IListProvider.
The documentation for this class was generated from the following files: