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">
<normal bg-color="#f0f0f0"/>
</style>
<style name="1:bricks">
<normal bg-image="bricks" bg-image-draw-type="repeat"/>
</style>
</window>
<button>
2018-03-31 19:48:56 +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-01 19:44:39 +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-03-31 19:48:56 +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-03-31 19:48:56 +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>
<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="gold"/>
<disable bg-color="gray" text-color="#d0d0d0" />
<error bg-color="#f0f0f0" text-color="red" />
<empty bg-color="#f0f0f0" text-color="#a0a0a0" />
</style>
</edit>
2018-03-31 13:48:18 +08:00
<label>
<style name="default">
<normal text-color="black" />
</style>
<style name="1:green">
<normal text-color="green" />
</style>
<style name="2:left">
<normal text-color="red" text-align-h="left" border-color="#a0a0a0" margin="4" />
</style>
<style name="3:center">
2018-04-01 19:44:39 +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">
<normal text-color="blue" text-align-h="right" border-color="#a0a0a0" margin="4"/>
</style>
2018-04-01 19:44:39 +08:00
<style name="5:center-ap">
<normal text-color="green" text-align-h="center" border-color="#a0a0a0" font-name="ap" font-size="12"/>
</style>
2018-03-31 13:48:18 +08:00
</label>
<progress_bar>
<style>
2018-04-05 07:55:00 +08:00
<normal bg-color="#f0f0f0" text-color="gold" fg-color="#c0c0c0" border-color="#a0a0a0" />
</style>
<style name="1:img" bg-image="slider_bg" fg-image="slider_fg">
<normal icon="slider_drag"/>
</style>
<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">
<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>
<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"/>
</style>
2018-04-05 07:55:00 +08:00
<style name="1:img" bg-image="slider_bg" fg-image="slider_fg">
<normal icon="slider_drag"/>
<pressed icon="slider_drag_p"/>
<over icon="slider_drag_o"/>
</style>
<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">
<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">
<normal bg-color="#f0f0f0" border-color="#a0a0a0" />
</style>
</group_box>
<check_button bg-color="#f0f0f0" text-color="black">
<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-03-31 19:48:56 +08:00
<style name="default" bg-color="#f0f0f0" text-color="black">
<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">
<normal border-color="#000000" bg-color="#e0e0e0"/>
</style>
</image>
2018-04-08 12:41:48 +08:00
<dialog>
2018-03-31 13:48:18 +08:00
<style name="default">
2018-04-08 12:41:48 +08:00
<normal border-color="#606060" />
</style>
</dialog>
<dialog_title icon="info">
<style name="default">
<normal bg-color="#a9a9a0" />
</style>
<style name="1:default1">
<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-08 12:41:48 +08:00
<normal bg-color="#ededed" />
</style>
<style name="1:default1">
<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