16 constexpr 
const int GUI_MSG_WINDOW_INIT    = 1;  
    17 constexpr 
const int GUI_MSG_WINDOW_DEINIT  = 2;  
    18 constexpr 
const int GUI_MSG_WINDOW_RESET   = 27; 
    20 constexpr 
const int GUI_MSG_SETFOCUS       = 3;  
    21 constexpr 
const int GUI_MSG_LOSTFOCUS      = 4;  
    23 constexpr 
const int GUI_MSG_CLICKED        = 5;  
    25 constexpr 
const int GUI_MSG_VISIBLE        = 6;  
    26 constexpr 
const int GUI_MSG_HIDDEN         = 7;   
    28 constexpr 
const int GUI_MSG_ENABLED        = 8;   
    29 constexpr 
const int GUI_MSG_DISABLED       = 9;   
    31 constexpr 
const int GUI_MSG_SET_SELECTED   = 10;   
    32 constexpr 
const int GUI_MSG_SET_DESELECTED = 11;   
    34 constexpr 
const int GUI_MSG_LABEL_ADD      = 12;   
    36 constexpr 
const int GUI_MSG_LABEL_SET      = 13;  
    38 constexpr 
const int GUI_MSG_LABEL_RESET    = 14;  
    40 constexpr 
const int GUI_MSG_ITEM_SELECTED  = 15;  
    41 constexpr 
const int GUI_MSG_ITEM_SELECT    = 16;  
    42 constexpr 
const int GUI_MSG_LABEL2_SET     = 17;
    43 constexpr 
const int GUI_MSG_SHOWRANGE      = 18;
    45 constexpr 
const int GUI_MSG_FULLSCREEN     = 19;  
    46 constexpr 
const int GUI_MSG_EXECUTE        = 20;  
    48 constexpr 
const int GUI_MSG_NOTIFY_ALL     = 21;  
    51 constexpr 
const int GUI_MSG_REFRESH_THUMBS = 22; 
    53 constexpr 
const int GUI_MSG_MOVE           = 23; 
    56 constexpr 
const int GUI_MSG_LABEL_BIND     = 24;   
    58 constexpr 
const int GUI_MSG_FOCUSED        = 26;  
    60 constexpr 
const int GUI_MSG_PAGE_CHANGE    = 28;  
    62 constexpr 
const int GUI_MSG_REFRESH_LIST   = 29; 
    64 constexpr 
const int GUI_MSG_PAGE_UP      = 30; 
    65 constexpr 
const int GUI_MSG_PAGE_DOWN    = 31; 
    66 constexpr 
const int GUI_MSG_MOVE_OFFSET  = 32; 
   115 constexpr 
const int GUI_MSG_SET_TEXT    = 42;
   117 constexpr 
const int GUI_MSG_WINDOW_LOAD = 43;
   119 constexpr 
const int GUI_MSG_VALIDITY_CHANGED = 44;
   163 constexpr 
const int GUI_MSG_USER = 1000;
   174 #define CONTROL_SELECT(controlID) \   177     CGUIMessage _msg(GUI_MSG_SET_SELECTED, GetID(), controlID); \   185 #define CONTROL_DESELECT(controlID) \   188     CGUIMessage _msg(GUI_MSG_SET_DESELECTED, GetID(), controlID); \   197 #define CONTROL_ENABLE(controlID) \   200     CGUIMessage _msg(GUI_MSG_ENABLED, GetID(), controlID); \   208 #define CONTROL_DISABLE(controlID) \   211     CGUIMessage _msg(GUI_MSG_DISABLED, GetID(), controlID); \   220 #define CONTROL_ENABLE_ON_CONDITION(controlID, bCondition) \   223     CGUIMessage _msg(bCondition ? GUI_MSG_ENABLED : GUI_MSG_DISABLED, GetID(), controlID); \   232 #define CONTROL_SELECT_ITEM(controlID, iItem) \   235     CGUIMessage _msg(GUI_MSG_ITEM_SELECT, GetID(), controlID, iItem); \   243 #define SET_CONTROL_LABEL(controlID, label) \   246     CGUIMessage _msg(GUI_MSG_LABEL_SET, GetID(), controlID); \   247     _msg.SetLabel(label); \   255 #define SET_CONTROL_LABEL_THREAD_SAFE(controlID, label) \   257     CGUIMessage _msg(GUI_MSG_LABEL_SET, GetID(), controlID); \   258     _msg.SetLabel(label); \   259     if (CServiceBroker::GetAppMessenger()->IsProcessThread()) \   262       CServiceBroker::GetGUI()->GetWindowManager().SendThreadMessage(_msg, GetID()); \   269 #define SET_CONTROL_LABEL2(controlID, label) \   272     CGUIMessage _msg(GUI_MSG_LABEL2_SET, GetID(), controlID); \   273     _msg.SetLabel(label); \   281 #define SET_CONTROL_LABELS(controlID, defaultValue, labels) \   284     CGUIMessage _msg(GUI_MSG_SET_LABELS, GetID(), controlID, defaultValue); \   285     _msg.SetPointer(labels); \   293 #define SET_CONTROL_FILENAME(controlID, label) \   296     CGUIMessage _msg(GUI_MSG_SET_FILENAME, GetID(), controlID); \   297     _msg.SetLabel(label); \   305 #define SET_CONTROL_HIDDEN(controlID) \   308     CGUIMessage _msg(GUI_MSG_HIDDEN, GetID(), controlID); \   316 #define SET_CONTROL_FOCUS(controlID, dwParam) \   319     CGUIMessage _msg(GUI_MSG_SETFOCUS, GetID(), controlID, dwParam); \   327 #define SET_CONTROL_VISIBLE(controlID) \   330     CGUIMessage _msg(GUI_MSG_VISIBLE, GetID(), controlID); \   334 #define SET_CONTROL_SELECTED(dwSenderId, controlID, bSelect) \   337     CGUIMessage _msg(bSelect ? GUI_MSG_SET_SELECTED : GUI_MSG_SET_DESELECTED, dwSenderId, \   346 #define SEND_CLICK_MESSAGE(id, parentID, action) \   349     CGUIMessage _msg(GUI_MSG_CLICKED, id, parentID, action); \   350     SendWindowMessage(_msg); \   368   CGUIMessage(
int dwMsg, 
int senderID, 
int controlID, int64_t param1 = 0, int64_t param2 = 0);
   370       int msg, 
int senderID, 
int controlID, int64_t param1, int64_t param2, 
CFileItemList* item);
   376               const std::shared_ptr<CGUIListItem>& item);
   381   int GetControlId() 
const ;
   382   int GetMessage() 
const;
   383   void* GetPointer() 
const;
   384   std::shared_ptr<CGUIListItem> GetItem() 
const;
   385   int GetParam1() 
const;
   386   int64_t GetParam1AsI64() 
const;
   387   int GetParam2() 
const;
   388   int64_t GetParam2AsI64() 
const;
   389   int GetSenderId() 
const;
   390   void SetParam1(int64_t param1);
   391   void SetParam2(int64_t param2);
   392   void SetPointer(
void* pointer);
   393   void SetLabel(
const std::string& strLabel);
   394   void SetLabel(
int iString);               
   395   const std::string& GetLabel() 
const;
   396   void SetStringParam(
const std::string &strParam);
   397   void SetStringParams(
const std::vector<std::string> ¶ms);
   398   const std::string& GetStringParam(
size_t param = 0) 
const;
   399   size_t GetNumStringParams() 
const;
   400   void SetItem(std::shared_ptr<CGUIListItem> item);
   403   std::string m_strLabel;
   404   std::vector<std::string> m_params;
   411   std::shared_ptr<CGUIListItem> m_item;
   413   static std::string empty_string;
 constexpr const int GUI_MSG_EXCLUSIVE_MOUSE
A control wishes to have (or release) exclusive access to mouse actions. 
Definition: GUIMessage.h:93
constexpr const int GUI_MSG_RENDERER_LOST
Message indicating loss of renderer, prior to reset Any controls that keep shared resources should fr...
Definition: GUIMessage.h:82
Definition: GUIListItem.h:29
constexpr const int GUI_MSG_ADD_CONTROL
A request to add a control. 
Definition: GUIMessage.h:103
constexpr const int GUI_MSG_UNFOCUS_ALL
A request to unfocus all currently focused controls. 
Definition: GUIMessage.h:113
Represents a list of files. 
Definition: FileItem.h:702
constexpr const int GUI_MSG_GET_FILENAME
Get the filename of an image control. 
Definition: GUIMessage.h:140
constexpr const int GUI_MSG_SET_FILENAME
Set the filename for an image control. 
Definition: GUIMessage.h:134
constexpr const int GUI_MSG_SET_LABELS
Bind a set of labels to a spin (or similar) control. 
Definition: GUIMessage.h:129
constexpr const int GUI_MSG_IS_SELECTED
Check whether a button is selected. 
Definition: GUIMessage.h:124
Definition: GUIMessage.h:365
constexpr const int GUI_MSG_GESTURE_NOTIFY
A request for supported gestures is made. 
Definition: GUIMessage.h:98
constexpr const int GUI_MSG_SET_TYPE
Instruct a control to set it's type appropriately. 
Definition: GUIMessage.h:68
constexpr const int GUI_MSG_UI_READY
The user interface is ready for usage. 
Definition: GUIMessage.h:145
constexpr const int GUI_MSG_RENDERER_RESET
Message indicating regain of renderer, after reset Any controls that keep shared resources may reallo...
Definition: GUIMessage.h:88
constexpr const int GUI_MSG_REMOVE_CONTROL
A request to remove a control. 
Definition: GUIMessage.h:108
constexpr const int GUI_MSG_STATE_CHANGED
Called if state has changed which could lead to GUI changes. 
Definition: GUIMessage.h:155
constexpr const int GUI_MSG_CODINGTABLE_LOOKUP_COMPLETED
Complete to get codingtable page. 
Definition: GUIMessage.h:168
constexpr const int GUI_MSG_REFRESH_TIMER
Called every 500ms to allow time dependent updates. 
Definition: GUIMessage.h:150
constexpr const int GUI_MSG_WINDOW_RESIZE
Message indicating the window has been resized Any controls that keep stored sizing information based...
Definition: GUIMessage.h:75
constexpr const int GUI_MSG_SUBTITLE_DOWNLOADED
Called when a subtitle download has finished. 
Definition: GUIMessage.h:160