This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
dev:v3:gui_api:dialog:inputgui3 [2020/07/09 14:56] – created jedi18 | dev:v3:gui_api:dialog:inputgui3 [2020/07/09 15:02] – jedi18 | ||
---|---|---|---|
Line 68: | Line 68: | ||
* <code lua> text1: | * <code lua> text1: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Color Picker GUI Class ===== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | [[https:// | ||
+ | <code cpp-qt> namespace lc::ui::api </ | ||
+ | |||
+ | The Color Picker GUI widget allows the user to enter color data by choosing it visually. | ||
+ | ---- | ||
+ | |||
+ | ==== Constructor ==== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | Constructs a Color GUI widget. | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | * <code lua> local color1 = gui.Color(" | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Get and Set Values ==== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | Used to get and set the desired value for the color widget. Data of type // | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | * <code lua> local col = color1: | ||
+ | * <code lua> color1: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Add Callback ==== | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Description === | ||
+ | |||
+ | Adds a callback which is called whenever a color is selected in the color gui widget. | ||
+ | |||
+ | === Examples === | ||
+ | |||
+ | * <code lua> color1: | ||
---- | ---- |