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

92 lines
2.3 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-03-31 19:48:56 +08:00
<style name="1:green_btn" bg-image-draw-type="3patch_x" text-color="white">
<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-03-31 19:48:56 +08:00
<style name="2:red_btn" bg-image-draw-type="3patch_x" text-color="white">
<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>
<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">
<normal text-color="green" text-align-h="center" border-color="#a0a0a0" />
</style>
<style name="4:right">
<normal text-color="blue" text-align-h="right" border-color="#a0a0a0" margin="4"/>
</style>
</label>
<progress_bar>
<style>
<normal bg-color="#f0f0f0" text-color="gold" fg-color="black" border-color="#a0a0a0" />
</style>
</progress_bar>
2018-04-01 08:13:10 +08:00
<check_button font-name="ap" font-size="12">
2018-03-31 19:48:56 +08:00
<style name="default" bg-color="#f0f0f0" text-color="black">
<checked icon="checked" />
<unchecked icon="unchecked" />
2018-03-31 13:48:18 +08:00
</style>
</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>
</radio_button>
<image>
<style name="1:border">
<normal border-color="#000000" bg-color="#e0e0e0"/>
</style>
</image>
<dialog_title>
<style name="default">
<normal bg-image="dialog_title" bg-image-draw-type="3patch_x" icon="info"/>
</style>
</dialog_title>
<dialog_client>
<style name="default">
<normal bg-color="#ededed" border-color="#a9a9a0" />
</style>
</dialog_client>
2018-02-21 19:36:38 +08:00