11 #include "GUIDialogBoxBase.h" 12 #include "view/GUIViewControl.h" 25 bool OnBack(
int actionID)
override;
49 CGUIControl* GetFirstFocusableControl(
int id)
override;
50 void OnWindowLoaded()
override;
52 void OnDeinitWindow(
int nextWindowID)
override;
53 void OnWindowUnload()
override;
55 virtual void OnSelect(
int idx);
58 int GetSelectedItem()
const;
62 bool m_focusToButton =
false;
63 std::string m_selectedColor;
Definition: GUIViewControl.h:19
void LoadColors()
Load a list of colors from the default xml.
Definition: GUIDialogColorPicker.cpp:157
void SetSelectedColor(const std::string &hexColor)
Set the selected color by hex value.
Definition: GUIDialogColorPicker.cpp:199
Represents a list of files.
Definition: FileItem.h:721
Base class for controls.
Definition: GUIControl.h:75
void AddItem(const CFileItem &item)
Add a color item (Label property must be the color name, Label2 property must be the color hex) ...
Definition: GUIDialogColorPicker.cpp:145
Definition: GUIDialogColorPicker.h:19
void SetItems(const CFileItemList &pList)
Set a list of color items (Label property must be the color name, Label2 property must be the color h...
Definition: GUIDialogColorPicker.cpp:150
Definition: GUIMessage.h:365
std::string GetSelectedColor() const
Get the hex value of the selected color.
Definition: GUIDialogColorPicker.cpp:180
void OnInitWindow() override
Called on window open.
Definition: GUIDialogColorPicker.cpp:224
Definition: GUIDialogBoxBase.h:27
void SetButtonFocus(bool buttonFocus)
Set the focus to the control button.
Definition: GUIDialogColorPicker.cpp:204
Represents a file on a share.
Definition: FileItem.h:102