More widgets can use the color picker now.

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-06-19 17:21:11 +02:00
parent f1ff5e7d2c
commit bb7fa7987b
32 changed files with 49 additions and 77 deletions

View file

@ -11,7 +11,7 @@
<property>
<name>button_type</name>
<type>string</type>
<default>push_button</default>
<default>toggle_button</default>
</property>
<property>
<name>pushed</name>
@ -30,17 +30,17 @@
</property>
<property>
<name>color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>col_pushed</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>col_over</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>CtrlButton</name>
<guiname>CCtrlButton</guiname>
<classname>button</classname>
<ancestor>CtrlBaseButton</ancestor>
<description></description>
<abstract>false</abstract>
@ -12,17 +11,17 @@
<property>
<name>tx_normal</name>
<type>string</type>
<default>log_but_r.tga</default>
<default></default>
</property>
<property>
<name>tx_pushed</name>
<type>string</type>
<default>log_but_r.tga</default>
<default></default>
</property>
<property>
<name>tx_over</name>
<type>string</type>
<default>log_but_over_r.tga</default>
<default></default>
</property>
<property>
<name>scale</name>

View file

@ -2,7 +2,6 @@
<header>
<name>CtrlColPick</name>
<guiname>CCtrlColPick</guiname>
<classname>colpick</classname>
<ancestor>CtrlBase</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>CtrlScroll</name>
<guiname>CCtrlScroll</guiname>
<classname>scroll</classname>
<ancestor>CtrlBase</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>DBGroupSelectNumber</name>
<guiname>CDBGroupSelectNumber</guiname>
<classname>select_number</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>DBViewBar</name>
<guiname>CDBViewBar</guiname>
<classname>bar</classname>
<ancestor>ViewBitmap</ancestor>
<description></description>
<abstract>false</abstract>
@ -26,7 +25,7 @@
</property>
<property>
<name>color_negative</name>
<type>string</type>
<type>color</type>
<default>0 0 0 0</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>DBViewBar3</name>
<guiname>CDBViewBar3</guiname>
<classname>bar3</classname>
<ancestor>ViewBitmap</ancestor>
<description></description>
<abstract>false</abstract>
@ -41,32 +40,32 @@
</property>
<property>
<name>color1</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>color2</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>color3</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>color1_negative</name>
<type>string</type>
<type>color</type>
<default>0 0 0 0</default>
</property>
<property>
<name>color2_negative</name>
<type>string</type>
<type>color</type>
<default>0 0 0 0</default>
</property>
<property>
<name>color3_negative</name>
<type>string</type>
<type>color</type>
<default>0 0 0 0</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>DBViewDigit</name>
<guiname>CDBViewDigit</guiname>
<classname>digit</classname>
<ancestor>CtrlBase</ancestor>
<description></description>
<abstract>false</abstract>
@ -12,7 +11,7 @@
<property>
<name>value</name>
<type>string</type>
<default>0</default>
<default></default>
</property>
<property>
<name>numdigit</name>
@ -26,7 +25,7 @@
</property>
<property>
<name>color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
</properties>

View file

@ -2,7 +2,6 @@
<header>
<name>DBViewNumber</name>
<guiname>CDBViewNumber</guiname>
<classname>text_number</classname>
<ancestor>ViewText</ancestor>
<description></description>
<abstract>false</abstract>
@ -12,7 +11,7 @@
<property>
<name>value</name>
<type>string</type>
<default>0</default>
<default></default>
</property>
<property>
<name>positive</name>

View file

@ -2,7 +2,6 @@
<header>
<name>DBViewQuantity</name>
<guiname>CDBViewQuantity</guiname>
<classname>text_quantity</classname>
<ancestor>ViewText</ancestor>
<description></description>
<abstract>false</abstract>
@ -12,17 +11,17 @@
<property>
<name>value</name>
<type>string</type>
<default>0</default>
<default></default>
</property>
<property>
<name>valuemax</name>
<type>string</type>
<default>100</default>
<default></default>
</property>
<property>
<name>emptytext</name>
<type>string</type>
<default>empty text</default>
<default></default>
</property>

View file

@ -30,7 +30,7 @@
</property>
<property>
<name>bgcolor</name>
<type>string</type>
<type>color</type>
<default>0 0 0 0</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupContainer</name>
<guiname>CGroupContainer</guiname>
<classname>container</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>
@ -46,7 +45,7 @@
</property>
<property>
<name>header_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupEditBox</name>
<guiname>CGroupEditBox</guiname>
<classname>edit_box</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -15,7 +15,7 @@
</property>
<property>
<name>color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupHTML</name>
<guiname>CGroupHTML</guiname>
<classname>html</classname>
<ancestor>GroupScrollText</ancestor>
<description></description>
<abstract>false</abstract>
@ -21,47 +20,47 @@
</property>
<property>
<name>background_color</name>
<type>string</type>
<type>color</type>
<default>0 0 0 255</default>
</property>
<property>
<name>error_color</name>
<type>string</type>
<type>color</type>
<default>255 0 0 255</default>
</property>
<property>
<name>link_color</name>
<type>string</type>
<type>color</type>
<default>0 0 255 255</default>
</property>
<property>
<name>h1_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>h2_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>h3_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>h4_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>h5_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>h6_color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupHeader</name>
<guiname>CGroupHeader</guiname>
<classname>header</classname>
<ancestor>GroupList</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupList</name>
<guiname>CGroupList</guiname>
<classname>list</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>
@ -41,7 +40,7 @@
</property>
<property>
<name>col_over</name>
<type>string</type>
<type>color</type>
<default>255 255 255 32</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupMenu</name>
<guiname>CGroupMenu</guiname>
<classname>menu</classname>
<ancestor>GroupModal</ancestor>
<description></description>
<abstract>false</abstract>
@ -16,7 +15,7 @@
</property>
<property>
<name>color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
@ -26,32 +25,32 @@
</property>
<property>
<name>shadow_color</name>
<type>string</type>
<type>color</type>
<default>0 0 0 255</default>
</property>
<property>
<name>color_over</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
<name>shadow_color_over</name>
<type>string</type>
<type>color</type>
<default>0 0 0 255</default>
</property>
<property>
<name>highlight_over</name>
<type>string</type>
<type>color</type>
<default>128 0 0 255</default>
</property>
<property>
<name>color_grayed</name>
<type>string</type>
<type>color</type>
<default>128 128 128 255</default>
</property>
<property>
<name>shadow_color_grayed</name>
<type>string</type>
<type>color</type>
<default>0 0 0 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupModal</name>
<guiname>CGroupModal</guiname>
<classname>modal</classname>
<ancestor>GroupFrame</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -30,7 +30,7 @@
</property>
<property>
<name>col_over</name>
<type>string</type>
<type>color</type>
<default>255 255 255 32</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupScrollText</name>
<guiname>CGroupScrollText</guiname>
<classname>scroll_text</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupTab</name>
<guiname>CGroupTab</guiname>
<classname>tab</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupTable</name>
<guiname>CGroupTable</guiname>
<classname>table</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>
@ -26,7 +25,7 @@
</property>
<property>
<name>bgcolor</name>
<type>string</type>
<type>color</type>
<default>0 0 0 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>GroupTree</name>
<guiname>CGroupTree</guiname>
<classname>tree</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>
@ -11,17 +10,17 @@
<properties>
<property>
<name>col_over</name>
<type>string</type>
<type>color</type>
<default>255 255 255 128</default>
</property>
<property>
<name>col_select</name>
<type>string</type>
<type>color</type>
<default>255 128 128 128</default>
</property>
<property>
<name>col_over_back</name>
<type>string</type>
<type>color</type>
<default>64 64 64 255</default>
</property>
<property>

View file

@ -2,7 +2,6 @@
<header>
<name>InterfaceGroup</name>
<guiname>CInterfaceGroup</guiname>
<classname>interface_group</classname>
<ancestor>CtrlBase</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>InterfaceGroupWheel</name>
<guiname>CInterfaceGroupWheel</guiname>
<classname>group_wheel</classname>
<ancestor>InterfaceGroup</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>ViewBitmap</name>
<guiname>CViewBitmap</guiname>
<classname>bitmap</classname>
<ancestor>CtrlBase</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>ViewBitmapCombo</name>
<guiname>CViewBitmapCombo</guiname>
<classname>bitmap_combo</classname>
<ancestor>CtrlBase</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>ViewText</name>
<guiname>CViewText</guiname>
<classname>text</classname>
<ancestor>InterfaceElement</ancestor>
<description></description>
<abstract>false</abstract>
@ -11,7 +10,7 @@
<properties>
<property>
<name>color</name>
<type>string</type>
<type>color</type>
<default>255 255 255 255</default>
</property>
<property>
@ -31,7 +30,7 @@
</property>
<property>
<name>shadow_color</name>
<type>string</type>
<type>color</type>
<default>0 0 0 255</default>
</property>
<property>
@ -47,7 +46,7 @@
<property>
<name>line_maxw</name>
<type>int</type>
<default>100</default>
<default>0</default>
</property>
<property>
<name>multi_line_space</name>
@ -102,7 +101,7 @@
<property>
<name>hardtext</name>
<type>string</type>
<default>some text</default>
<default></default>
</property>
<property>
<name>hardtext_format</name>

View file

@ -2,7 +2,6 @@
<header>
<name>ViewTextFormated</name>
<guiname>CViewTextFormated</guiname>
<classname>text_formated</classname>
<ancestor>ViewText</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>ViewTextID</name>
<guiname>CViewTextID</guiname>
<classname>text_id</classname>
<ancestor>ViewText</ancestor>
<description></description>
<abstract>false</abstract>

View file

@ -2,7 +2,6 @@
<header>
<name>ViewTextIDFormated</name>
<guiname>CViewTextIDFormated</guiname>
<classname>text_id_formated</classname>
<ancestor>ViewTextID</ancestor>
<description></description>
<abstract>false</abstract>