awtk/demos/res/raw/theme/theme.xml

175 lines
4.5 KiB
XML
Raw Normal View History

2018-03-31 13:48:18 +08:00
<window>
<style name="default">
2018-04-21 07:43:02 +08:00
<normal bg_color="#f0f0f0"/>
2018-03-31 13:48:18 +08:00
</style>
<style name="1:bricks">
2018-04-21 07:43:02 +08:00
<normal bg_image="bricks" bg_image_draw_type="repeat"/>
2018-03-31 13:48:18 +08:00
</style>
</window>
<button>
2018-04-21 07:43:02 +08:00
<style name="default" border_color="#a0a0a0" text_color="black">
<normal bg_color="#f0f0f0" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#e0e0e0" />
<disable bg_color="gray" text_color="#d0d0d0" />
2018-03-31 13:48:18 +08:00
</style>
2018-04-01 18:19:28 +08:00
</button>
2018-03-31 13:48:18 +08:00
2018-04-21 07:43:02 +08:00
<button bg_image_draw_type="3patch_x" text_color="blue">
2018-04-01 18:19:28 +08:00
<style name="1:green_btn" >
2018-04-21 07:43:02 +08:00
<normal bg_image="green_btn_n" />
<pressed bg_image="green_btn_p" />
<over bg_image="green_btn_o" />
2018-03-31 13:48:18 +08:00
</style>
2018-04-01 18:19:28 +08:00
<style name="2:red_btn">
2018-04-21 07:43:02 +08:00
<normal bg_image="red_btn_n" />
<pressed bg_image="red_btn_p" />
<over bg_image="red_btn_o" />
2018-03-31 13:48:18 +08:00
</style>
</button>
2018-04-08 07:32:48 +08:00
<edit>
2018-04-21 07:43:02 +08:00
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left" margin="4">
<normal bg_color="#f0f0f0" />
<focused bg_color="#f0f0f0" border_color="black"/>
<disable bg_color="gray" text_color="#d0d0d0" />
<error bg_color="#f0f0f0" text_color="red" />
<empty bg_color="#f0f0f0" text_color="#a0a0a0" />
2018-04-08 07:32:48 +08:00
</style>
</edit>
2018-03-31 13:48:18 +08:00
<label>
<style name="default">
2018-04-21 07:43:02 +08:00
<normal text_color="black" />
2018-03-31 13:48:18 +08:00
</style>
<style name="1:green">
2018-04-21 07:43:02 +08:00
<normal text_color="green" />
2018-03-31 13:48:18 +08:00
</style>
<style name="2:left">
2018-04-21 07:43:02 +08:00
<normal text_color="red" text_align_h="left" border_color="#a0a0a0" margin="4" />
2018-03-31 13:48:18 +08:00
</style>
<style name="3:center">
2018-04-21 07:43:02 +08:00
<normal text_color="green" text_align_h="center" border_color="#a0a0a0"/>
2018-03-31 13:48:18 +08:00
</style>
2018-04-01 19:44:39 +08:00
2018-03-31 13:48:18 +08:00
<style name="4:right">
2018-04-21 07:43:02 +08:00
<normal text_color="blue" text_align_h="right" border_color="#a0a0a0" margin="4"/>
2018-03-31 13:48:18 +08:00
</style>
2018-04-01 19:44:39 +08:00
2018-04-21 07:43:02 +08:00
<style name="5:center_ap">
<normal text_color="green" text_align_h="center" border_color="#a0a0a0" font_name="ap" font_size="12"/>
2018-04-01 19:44:39 +08:00
</style>
2018-03-31 13:48:18 +08:00
</label>
<progress_bar>
<style>
2018-04-21 07:43:02 +08:00
<normal bg_color="#f0f0f0" text_color="gold" fg_color="#c0c0c0" border_color="#a0a0a0" />
2018-04-05 07:55:00 +08:00
</style>
2018-04-21 07:43:02 +08:00
<style name="1:img" bg_image="slider_bg" fg_image="slider_fg">
2018-04-05 07:55:00 +08:00
<normal icon="slider_drag"/>
</style>
2018-04-21 07:43:02 +08:00
<style name="2:img_v" bg_image="slider_v_bg" fg_image="slider_v_fg" bg_image_draw_type="3patch_y" fg_image_draw_type="3patch_y">
2018-04-05 07:55:00 +08:00
<normal icon="slider_drag"/>
2018-03-31 13:48:18 +08:00
</style>
</progress_bar>
2018-04-02 17:35:20 +08:00
<slider>
<style>
2018-04-21 07:43:02 +08:00
<normal bg_color="#a0a0a0" fg_color="blue" border_color="#ffd700"/>
<pressed bg_color="#a0a0a0" fg_color="blue" border_color="#ffa700"/>
<over bg_color="#a0a0a0" fg_color="blue" border_color="#ffe700"/>
2018-04-02 17:35:20 +08:00
</style>
2018-04-05 07:55:00 +08:00
2018-04-21 07:43:02 +08:00
<style name="1:img" bg_image="slider_bg" fg_image="slider_fg">
2018-04-05 07:55:00 +08:00
<normal icon="slider_drag"/>
<pressed icon="slider_drag_p"/>
<over icon="slider_drag_o"/>
</style>
2018-04-21 07:43:02 +08:00
<style name="2:img_v" bg_image="slider_v_bg" fg_image="slider_v_fg" bg_image_draw_type="3patch_y" fg_image_draw_type="3patch_y">
2018-04-05 07:55:00 +08:00
<normal icon="slider_drag"/>
<pressed icon="slider_drag_p"/>
<over icon="slider_drag_o"/>
</style>
2018-04-02 17:35:20 +08:00
</slider>
2018-04-01 19:44:39 +08:00
<group_box>
2018-04-05 18:00:06 +08:00
<style>
<normal />
</style>
2018-04-01 19:44:39 +08:00
<style name="1:box">
2018-04-21 07:43:02 +08:00
<normal bg_color="#f0f0f0" border_color="#a0a0a0" />
2018-04-01 19:44:39 +08:00
</style>
</group_box>
2018-04-21 07:43:02 +08:00
<check_button bg_color="#f0f0f0" text_color="black">
2018-04-01 19:44:39 +08:00
<style name="default">
2018-03-31 19:48:56 +08:00
<checked icon="checked" />
<unchecked icon="unchecked" />
2018-03-31 13:48:18 +08:00
</style>
2018-04-01 19:44:39 +08:00
<style name="1:mute" >
<checked icon="unmuted" />
<unchecked icon="muted" />
</style>
2018-03-31 13:48:18 +08:00
</check_button>
<radio_button>
2018-04-21 07:43:02 +08:00
<style name="default" bg_color="#f0f0f0" text_color="black">
2018-03-31 19:48:56 +08:00
<checked icon="radio_checked" />
<unchecked icon="radio_unchecked" />
2018-03-31 13:48:18 +08:00
</style>
2018-04-01 19:44:39 +08:00
<style name="2:left">
<checked icon="left_on" />
<unchecked icon="left_off" />
</style>
<style name="3:middle">
<checked icon="middle_on" />
<unchecked icon="middle_off" />
</style>
<style name="4:right">
<checked icon="right_on" />
<unchecked icon="right_off" />
</style>
2018-03-31 13:48:18 +08:00
</radio_button>
<image>
<style name="1:border">
2018-04-21 07:43:02 +08:00
<normal border_color="#000000" bg_color="#e0e0e0"/>
2018-03-31 13:48:18 +08:00
</style>
</image>
2018-04-08 12:41:48 +08:00
<dialog>
2018-03-31 13:48:18 +08:00
<style name="default">
2018-04-21 07:43:02 +08:00
<normal border_color="#606060" />
2018-04-08 12:41:48 +08:00
</style>
</dialog>
<dialog_title icon="info">
<style name="default">
2018-04-21 07:43:02 +08:00
<normal bg_color="#a9a9a0" />
2018-04-08 12:41:48 +08:00
</style>
<style name="1:default1">
2018-04-21 07:43:02 +08:00
<normal bg_image="dialog_title" bg_image_draw_type="3patch_x"/>
2018-03-31 13:48:18 +08:00
</style>
</dialog_title>
<dialog_client>
<style name="default">
2018-04-21 07:43:02 +08:00
<normal bg_color="#ededed" />
2018-04-08 12:41:48 +08:00
</style>
<style name="1:default1">
2018-04-21 07:43:02 +08:00
<normal bg_color="#ededed" border_color="gray" />
2018-03-31 13:48:18 +08:00
</style>
</dialog_client>
2018-02-21 19:36:38 +08:00