Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <string>
#include <vector>
#include <memory>
Classes | |
class | CGUIMessage |
Macros | |
#define | CONTROL_SELECT(controlID) |
#define | CONTROL_DESELECT(controlID) |
#define | CONTROL_ENABLE(controlID) |
#define | CONTROL_DISABLE(controlID) |
#define | CONTROL_ENABLE_ON_CONDITION(controlID, bCondition) |
#define | CONTROL_SELECT_ITEM(controlID, iItem) |
#define | SET_CONTROL_LABEL(controlID, label) |
Set the label of the current control. | |
#define | SET_CONTROL_LABEL_THREAD_SAFE(controlID, label) |
Set the label of the current control. | |
#define | SET_CONTROL_LABEL2(controlID, label) |
Set the second label of the current control. | |
#define | SET_CONTROL_LABELS(controlID, defaultValue, labels) |
Set a bunch of labels on the given control. | |
#define | SET_CONTROL_FILENAME(controlID, label) |
Set the label of the current control. | |
#define | SET_CONTROL_HIDDEN(controlID) |
#define | SET_CONTROL_FOCUS(controlID, dwParam) |
#define | SET_CONTROL_VISIBLE(controlID) |
#define | SET_CONTROL_SELECTED(dwSenderId, controlID, bSelect) |
#define | SEND_CLICK_MESSAGE(id, parentID, action) |
Click message sent from controls to windows. | |
Variables | |
constexpr const int | GUI_MSG_WINDOW_INIT = 1 |
constexpr const int | GUI_MSG_WINDOW_DEINIT = 2 |
constexpr const int | GUI_MSG_WINDOW_RESET = 27 |
constexpr const int | GUI_MSG_SETFOCUS = 3 |
constexpr const int | GUI_MSG_LOSTFOCUS = 4 |
constexpr const int | GUI_MSG_CLICKED = 5 |
constexpr const int | GUI_MSG_VISIBLE = 6 |
constexpr const int | GUI_MSG_HIDDEN = 7 |
constexpr const int | GUI_MSG_ENABLED = 8 |
constexpr const int | GUI_MSG_DISABLED = 9 |
constexpr const int | GUI_MSG_SET_SELECTED = 10 |
constexpr const int | GUI_MSG_SET_DESELECTED = 11 |
constexpr const int | GUI_MSG_LABEL_ADD = 12 |
constexpr const int | GUI_MSG_LABEL_SET = 13 |
constexpr const int | GUI_MSG_LABEL_RESET = 14 |
constexpr const int | GUI_MSG_ITEM_SELECTED = 15 |
constexpr const int | GUI_MSG_ITEM_SELECT = 16 |
constexpr const int | GUI_MSG_LABEL2_SET = 17 |
constexpr const int | GUI_MSG_SHOWRANGE = 18 |
constexpr const int | GUI_MSG_FULLSCREEN = 19 |
constexpr const int | GUI_MSG_EXECUTE = 20 |
constexpr const int | GUI_MSG_NOTIFY_ALL = 21 |
constexpr const int | GUI_MSG_REFRESH_THUMBS = 22 |
constexpr const int | GUI_MSG_MOVE = 23 |
constexpr const int | GUI_MSG_LABEL_BIND = 24 |
constexpr const int | GUI_MSG_FOCUSED = 26 |
constexpr const int | GUI_MSG_PAGE_CHANGE = 28 |
constexpr const int | GUI_MSG_REFRESH_LIST = 29 |
constexpr const int | GUI_MSG_PAGE_UP = 30 |
constexpr const int | GUI_MSG_PAGE_DOWN = 31 |
constexpr const int | GUI_MSG_MOVE_OFFSET = 32 |
constexpr const int | GUI_MSG_SET_TYPE = 33 |
Instruct a control to set it's type appropriately. | |
constexpr const int | GUI_MSG_WINDOW_RESIZE = 34 |
Message indicating the window has been resized Any controls that keep stored sizing information based on aspect ratio or window size should recalculate sizing information. | |
constexpr const int | GUI_MSG_RENDERER_LOST = 35 |
Message indicating loss of renderer, prior to reset Any controls that keep shared resources should free them on receipt of this message, as the renderer is about to be reset. | |
constexpr const int | GUI_MSG_RENDERER_RESET = 36 |
Message indicating regain of renderer, after reset Any controls that keep shared resources may reallocate them now that the renderer is back. | |
constexpr const int | GUI_MSG_EXCLUSIVE_MOUSE = 37 |
A control wishes to have (or release) exclusive access to mouse actions. | |
constexpr const int | GUI_MSG_GESTURE_NOTIFY = 38 |
A request for supported gestures is made. | |
constexpr const int | GUI_MSG_ADD_CONTROL = 39 |
A request to add a control. | |
constexpr const int | GUI_MSG_REMOVE_CONTROL = 40 |
A request to remove a control. | |
constexpr const int | GUI_MSG_UNFOCUS_ALL = 41 |
A request to unfocus all currently focused controls. | |
constexpr const int | GUI_MSG_SET_TEXT = 42 |
constexpr const int | GUI_MSG_WINDOW_LOAD = 43 |
constexpr const int | GUI_MSG_VALIDITY_CHANGED = 44 |
constexpr const int | GUI_MSG_IS_SELECTED = 45 |
Check whether a button is selected. | |
constexpr const int | GUI_MSG_SET_LABELS = 46 |
Bind a set of labels to a spin (or similar) control. | |
constexpr const int | GUI_MSG_SET_FILENAME = 47 |
Set the filename for an image control. | |
constexpr const int | GUI_MSG_GET_FILENAME = 48 |
Get the filename of an image control. | |
constexpr const int | GUI_MSG_UI_READY = 49 |
The user interface is ready for usage. | |
constexpr const int | GUI_MSG_REFRESH_TIMER = 50 |
Called every 500ms to allow time dependent updates. | |
constexpr const int | GUI_MSG_STATE_CHANGED = 51 |
Called if state has changed which could lead to GUI changes. | |
constexpr const int | GUI_MSG_SUBTITLE_DOWNLOADED = 52 |
Called when a subtitle download has finished. | |
constexpr const int | GUI_MSG_RESET_MULTI_IMAGE = 53 |
Reset a multiimage to its initial state. | |
constexpr const int | GUI_MSG_USER = 1000 |
constexpr const int | GUI_MSG_CODINGTABLE_LOOKUP_COMPLETED = 65000 |
Complete to get codingtable page. | |
#define SET_CONTROL_SELECTED | ( | dwSenderId, | |
controlID, | |||
bSelect ) |
|
constexpr |
A request to add a control.
|
constexpr |
|
constexpr |
Complete to get codingtable page.
|
constexpr |
|
constexpr |
|
constexpr |
A control wishes to have (or release) exclusive access to mouse actions.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
A request for supported gestures is made.
|
constexpr |
Get the filename of an image control.
|
constexpr |
|
constexpr |
Check whether a button is selected.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Called every 500ms to allow time dependent updates.
|
constexpr |
A request to remove a control.
|
constexpr |
Message indicating loss of renderer, prior to reset Any controls that keep shared resources should free them on receipt of this message, as the renderer is about to be reset.
|
constexpr |
Message indicating regain of renderer, after reset Any controls that keep shared resources may reallocate them now that the renderer is back.
|
constexpr |
Reset a multiimage to its initial state.
|
constexpr |
|
constexpr |
Set the filename for an image control.
|
constexpr |
Bind a set of labels to a spin (or similar) control.
|
constexpr |
|
constexpr |
|
constexpr |
Instruct a control to set it's type appropriately.
|
constexpr |
|
constexpr |
|
constexpr |
Called if state has changed which could lead to GUI changes.
|
constexpr |
Called when a subtitle download has finished.
|
constexpr |
The user interface is ready for usage.
|
constexpr |
A request to unfocus all currently focused controls.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Message indicating the window has been resized Any controls that keep stored sizing information based on aspect ratio or window size should recalculate sizing information.