awtk/demos/assets/raw/styles/default.xml

456 lines
14 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>
2018-09-05 15:48:58 +08:00
<style name="dark">
<normal bg_color="#664d74"/>
</style>
2018-03-31 13:48:18 +08:00
2018-07-17 11:27:14 +08:00
<style name="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>
2018-06-08 07:50:15 +08:00
2018-07-17 11:27:14 +08:00
<style name="sky">
2018-06-08 07:50:15 +08:00
<normal bg_image="bg800x480"/>
</style>
2018-03-31 13:48:18 +08:00
</window>
2018-10-04 18:48:07 +08:00
<calibration_win>
<style name="default" fg_color="black" text_color="black">
<normal bg_color="#f0f0f0"/>
</style>
</calibration_win>
2018-07-26 19:05:15 +08:00
<popup>
<style name="default" border_color="#a0a0a0">
<normal bg_color="#f0f0f0"/>
</style>
</popup>
2018-03-31 13:48:18 +08:00
<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-06-08 07:50:15 +08:00
2018-07-26 19:05:15 +08:00
<style name="combobox_down" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_down_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_down_p"/>
<over bg_color="#e0e0e0" icon="arrow_down_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="spinbox_down" border_color="#a0a0a0">
2018-06-29 17:22:57 +08:00
<normal bg_color="#f0f0f0" icon="arrow_down_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_down_p"/>
<over bg_color="#e0e0e0" icon="arrow_down_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="spinbox_up" border_color="#a0a0a0">
2018-06-29 17:22:57 +08:00
<normal bg_color="#f0f0f0" icon="arrow_up_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_up_p"/>
<over bg_color="#e0e0e0" icon="arrow_up_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="spinbox_left" border_color="#a0a0a0">
2018-06-29 17:22:57 +08:00
<normal bg_color="#f0f0f0" icon="arrow_left_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_left_p"/>
<over bg_color="#e0e0e0" icon="arrow_left_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="spinbox_right" border_color="#a0a0a0">
2018-06-29 17:22:57 +08:00
<normal bg_color="#f0f0f0" icon="arrow_right_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_right_p"/>
<over bg_color="#e0e0e0" icon="arrow_right_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="edit_clear">
2018-06-29 17:22:57 +08:00
<normal icon="edit_clear_n"/>
<pressed icon="edit_clear_p"/>
<over icon="edit_clear_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="grid_item" border_color="#a0a0a0" text_color="black">
2018-06-08 07:50:15 +08:00
<pressed bg_color="#c0c0c0" />
</style>
2018-07-02 18:17:35 +08:00
2018-07-17 11:27:14 +08:00
<style name="scroll_down" border_color="#a0a0a0">
2018-07-02 18:17:35 +08:00
<normal bg_color="#f0f0f0" icon="arrow_down_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_down_p"/>
<over bg_color="#e0e0e0" icon="arrow_down_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="scroll_up" border_color="#a0a0a0">
2018-07-02 18:17:35 +08:00
<normal bg_color="#f0f0f0" icon="arrow_up_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_up_p"/>
<over bg_color="#e0e0e0" icon="arrow_up_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="scroll_left" border_color="#a0a0a0">
2018-07-02 18:17:35 +08:00
<normal bg_color="#f0f0f0" icon="arrow_left_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_left_p"/>
<over bg_color="#e0e0e0" icon="arrow_left_o"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="scroll_right" border_color="#a0a0a0">
2018-07-02 18:17:35 +08:00
<normal bg_color="#f0f0f0" icon="arrow_right_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_right_p"/>
<over bg_color="#e0e0e0" icon="arrow_right_o"/>
</style>
2018-04-01 18:19:28 +08:00
</button>
2018-03-31 13:48:18 +08:00
2018-04-08 07:32:48 +08:00
<edit>
2018-06-30 18:07:28 +08:00
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left">
2018-04-21 07:43:02 +08:00
<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>
2018-10-26 11:19:38 +08:00
<style name="number" border_color="#a0a0a0" text_color="black" text_align_h="right">
<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" />
</style>
2018-07-17 11:27:14 +08:00
<style name="line" border="bottom" border_color="#a0a0a0" text_color="black" text_align_h="left" text_align_v="bottom">
2018-06-29 19:12:04 +08:00
<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" />
</style>
2018-04-08 07:32:48 +08:00
</edit>
2018-06-30 18:07:28 +08:00
<spin_box>
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left">
<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" />
</style>
</spin_box>
2018-11-03 12:10:42 +08:00
<digit_clock>
<style name="default">
<normal text_color="black" />
</style>
</digit_clock>
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>
2018-07-17 11:27:14 +08:00
<style name="green">
2018-04-21 07:43:02 +08:00
<normal text_color="green" />
2018-03-31 13:48:18 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="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>
2018-07-17 11:27:14 +08:00
<style name="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-07-17 11:27:14 +08:00
<style name="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-07-17 11:27:14 +08:00
<style name="center_ap">
2018-04-21 07:43:02 +08:00
<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-08-06 12:21:12 +08:00
<style name="big_green">
<normal text_color="green" font_size="24" text_align_h="center" border_color="#a0a0a0"/>
</style>
2018-04-01 19:44:39 +08:00
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-07-17 11:27:14 +08:00
<style name="img" bg_image="slider_bg" fg_image="slider_fg">
2018-04-05 07:55:00 +08:00
<normal icon="slider_drag"/>
</style>
<style name="img_v" bg_image="slider_v_bg" fg_image="slider_v_fg" bg_image_draw_type="patch3_y" fg_image_draw_type="patch3_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-07-17 11:27:14 +08:00
<style name="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>
<style name="img_v" bg_image="slider_v_bg" fg_image="slider_v_fg" bg_image_draw_type="patch3_y" fg_image_draw_type="patch3_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-07-17 11:27:14 +08:00
<style name="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-10-28 12:19:27 +08:00
<normal icon="unchecked" />
<pressed icon="unchecked" />
<over icon="unchecked" text_color="green"/>
<normal_of_checked icon="checked" text_color="blue"/>
<pressed_of_checked icon="checked" text_color="blue"/>
<over_of_checked icon="checked" text_color="green"/>
2018-03-31 13:48:18 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="mute" >
2018-10-28 12:19:27 +08:00
<normal icon="unmuted" />
<pressed icon="unmuted" icon_x_offset="1" icon_y_offset="1"/>
2018-10-28 12:19:27 +08:00
<over icon="unmuted" />
<normal_of_checked icon="muted" />
<pressed_of_checked icon="muted" icon_x_offset="1" icon_y_offset="1"/>
2018-10-28 12:19:27 +08:00
<over_of_checked icon="muted" />
</style>
<style name="odd_icon_right" icon_at="right" text_color="black" margin="4" bg_color="#f5f5f5">
<normal />
<pressed />
<over />
<normal_of_checked icon="check" />
<pressed_of_checked icon="check" />
<over_of_checked icon="check" />
</style>
<style name="even_icon_right" icon_at="right" text_color="black" margin="4" bg_color="#eaeaea">
<normal />
<pressed />
<over />
<normal_of_checked icon="check" />
<pressed_of_checked icon="check" />
<over_of_checked icon="check" />
2018-07-19 19:26:52 +08:00
</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-10-28 12:19:27 +08:00
<normal icon="radio_unchecked" />
<pressed icon="radio_unchecked" />
<over icon="radio_unchecked" text_color="green"/>
<normal_of_checked icon="radio_checked" text_color="red"/>
<pressed_of_checked icon="radio_checked" text_color="red"/>
<over_of_checked icon="radio_checked" text_color="green"/>
2018-03-31 13:48:18 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="left">
2018-10-28 12:19:27 +08:00
<normal icon="left_off" />
<pressed icon="left_off" />
<over icon="left_off" />
<normal_of_checked icon="left_on" />
<pressed_of_checked icon="left_on" />
<over_of_checked icon="left_on" />
2018-04-01 19:44:39 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="middle">
2018-10-28 12:19:27 +08:00
<normal icon="middle_off" />
<pressed icon="middle_off" />
<over icon="middle_off" />
<normal_of_checked icon="middle_on" />
<pressed_of_checked icon="middle_on" />
<over_of_checked icon="middle_on" />
2018-04-01 19:44:39 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="right">
2018-10-28 12:19:27 +08:00
<normal icon="right_off" />
<pressed icon="right_off" />
<over icon="right_off" />
<normal_of_checked icon="right_on" />
<pressed_of_checked icon="right_on" />
<over_of_checked icon="right_on" />
</style>
<style name="odd_icon_right" text_color="black" margin="4" icon_at="right" bg_color="#f5f5f5">
<normal />
<pressed />
<over />
<normal_of_checked icon="check" />
<pressed_of_checked icon="check" />
<over_of_checked icon="check" />
</style>
<style name="even_icon_right" text_color="black" margin="4" icon_at="right" bg_color="#eaeaea">
<normal />
<pressed />
<over />
<normal_of_checked icon="check" />
<pressed_of_checked icon="check" />
<over_of_checked icon="check" />
2018-07-19 19:26:52 +08:00
</style>
2018-03-31 13:48:18 +08:00
</radio_button>
<image>
2018-07-17 11:27:14 +08:00
<style name="border">
2018-07-11 17:37:08 +08:00
<normal border_color="#000000" bg_color="#e0e0e0" text_color="black"/>
2018-03-31 13:48:18 +08:00
</style>
2018-07-18 14:15:50 +08:00
<style name="selectable">
<normal text_color="black"/>
<pressed border_color="#000000" bg_color="#e0e0e0" text_color="black"/>
<selected icon="check" border_color="#000000" bg_color="#e0e0e0" text_color="black"/>
</style>
2018-03-31 13:48:18 +08:00
</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>
2018-05-04 15:26:32 +08:00
<dialog_title icon="info" text_color="black">
2018-04-08 12:41:48 +08:00
<style name="default">
2018-04-21 07:43:02 +08:00
<normal bg_color="#a9a9a0" />
2018-04-08 12:41:48 +08:00
</style>
2018-03-31 13:48:18 +08:00
</dialog_title>
2018-07-19 19:26:52 +08:00
<dialog_title>
<style name="empty">
<normal bg_color="#a9a9a0" />
</style>
</dialog_title>
2018-03-31 13:48:18 +08:00
<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>
2018-03-31 13:48:18 +08:00
</dialog_client>
2018-02-21 19:36:38 +08:00
2018-07-02 18:17:35 +08:00
<scroll_bar>
<style name="default">
<normal bg_color="#c0c0c0" fg_color="#808080"/>
<over bg_color="#c0c0c0" fg_color="#808080"/>
<pressed bg_color="#c0c0c0" fg_color="#808080"/>
</style>
2018-07-17 11:27:14 +08:00
<style name="destkop" border_color="gray">
2018-07-02 18:17:35 +08:00
<normal bg_color="#f0f0f0"/>
<over bg_color="#f0f0f0" />
<pressed bg_color="#f0f0f0" />
</style>
</scroll_bar>
<dragger>
2018-07-17 11:27:14 +08:00
<style name="scroll_bar" >
2018-07-05 15:22:04 +08:00
<normal bg_color="#d0d0d0" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#c0c0c0" />
2018-07-02 18:17:35 +08:00
</style>
2018-07-05 15:22:04 +08:00
</dragger>
<list_item>
<style name="default" border_color="#a0a0a0" border="bottom" text_color="black">
<normal bg_color="#f0f0f0" />
<pressed bg_color="#c0c0c0" />
2018-07-18 08:49:02 +08:00
<over bg_color="#f0f0f0" />
2018-07-05 15:22:04 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="odd_clickable" border_color="#a0a0a0" border="bottom" text_color="black">
2018-07-05 15:22:04 +08:00
<normal bg_color="#f5f5f5" />
<pressed bg_color="#c0c0c0" />
2018-07-18 08:49:02 +08:00
<over bg_color="#f5f5f5" />
2018-07-05 15:22:04 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="even_clickable" border_color="#a0a0a0" border="bottom" text_color="black">
2018-07-05 15:22:04 +08:00
<normal bg_color="#eaeaea" />
<pressed bg_color="#c0c0c0" />
2018-07-18 08:49:02 +08:00
<over bg_color="#eaeaea" />
2018-07-05 15:22:04 +08:00
</style>
2018-07-17 11:27:14 +08:00
<style name="odd" border_color="#a0a0a0" border="bottom" text_color="black">
2018-07-05 15:22:04 +08:00
<normal bg_color="#f5f5f5" />
<pressed bg_color="#f5f5f5" />
<over bg_color="#f5f5f5" />
</style>
2018-07-17 11:27:14 +08:00
<style name="even" border_color="#a0a0a0" border="bottom" text_color="black">
2018-07-05 15:22:04 +08:00
<normal bg_color="#eaeaea" />
<pressed bg_color="#eaeaea" />
<over bg_color="#eaeaea" />
</style>
2018-07-17 11:27:14 +08:00
<style name="empty" >
2018-07-05 17:27:17 +08:00
<normal />
<pressed />
<over />
</style>
2018-07-05 15:22:04 +08:00
</list_item>
2018-07-22 14:22:09 +08:00
<tab_button>
2018-07-26 19:05:15 +08:00
<style name="default" border_color="#a0a0a0" text_color="black">
<normal bg_color="#d0d0d0" />
<pressed bg_color="#f0f0f0" />
<over bg_color="#e0e0e0" />
<normal_of_active bg_color="#f0f0f0" />
<pressed_of_active bg_color="#f0f0f0" />
<over_of_active bg_color="#f0f0f0" />
2018-07-22 14:22:09 +08:00
</style>
</tab_button>
2018-07-23 18:53:40 +08:00
<tab_button_group>
<style name="default">
<normal/>
</style>
</tab_button_group>
2018-07-26 19:05:15 +08:00
<combo_box>
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left">
<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" />
</style>
</combo_box>
<combo_box_item>
<style name="default" icon_at="left" text_color="black" bg_color="#f0f0f0">
<normal icon="empty"/>
<pressed icon="empty" bg_color="#1296db" text_color="white" />
<over icon="empty" bg_color="#1296db" text_color="white" />
2018-10-28 11:33:38 +08:00
<normal_of_checked icon="check"/>
<pressed_of_checked icon="check" bg_color="#1296db" text_color="white" />
<over_of_checked icon="check" bg_color="#1296db" text_color="white" />
2018-07-26 19:05:15 +08:00
</style>
</combo_box_item>
2018-09-25 18:00:27 +08:00
<text_selector>
<style name="default" fg_color="#a0a0a0" text_color="black" text_align_h="center">
<normal bg_color="#f0f0f0" />
</style>
</text_selector>
2018-09-27 11:38:11 +08:00
<switch>
<style name="default">
<normal bg_image="switch" />
</style>
<style name="color" fg_color="#f0f0f0" bg_color="4ed164" text_color="black">
<normal />
</style>
</switch>
2018-10-20 11:21:25 +08:00
<slide_view>
<style name="default">
<normal fg_color="red" />
</style>
<style name="dot">
<normal icon="dot" active_icon="active_dot"/>
</style>
2018-10-20 11:21:25 +08:00
</slide_view>