blob: d8211c24a72744f149cdc82c4126fcc79c251654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
can_close="true"
can_dock="false"
can_minimize="false"
can_resize="false"
default_tab_group="1"
height="375"
help_topic="toybox"
layout="topleft"
legacy_header_height="18"
name="Toybox"
positioning="centered"
save_rect="true"
single_instance="true"
title="TOOLBAR BUTTONS"
width="650">
<text
follows="left|top"
font="SansSerifMedium"
valign="top"
halign="left"
height="20"
layout="topleft"
left="20"
length="1"
name="toybox label 1"
right="-20"
top="35"
type="string">
Add or remove buttons by dragging them to or from the toolbars.
</text>
<text
follows="left|top"
font="SansSerifMedium"
valign="top"
halign="left"
height="20"
layout="topleft"
left="20"
length="1"
name="toybox label 2"
right="-20"
top="55"
type="string">
Buttons will appear as shown or as icon-only depending on each toolbar's settings.
</text>
<toolbar
bottom="310"
button_display_mode="icons_with_text"
follows="all"
left="20"
button_icon_and_text.button_width.max="140"
button_icon_and_text.button_width.min="70"
name="toybox_toolbar"
pad_left="5"
pad_right="5"
pad_top="5"
pad_bottom="5"
pad_between="15"
read_only="true"
right="-20"
side="top"
top="85">
<button_panel background_visible="false" />
<button_icon_and_text image_unselected="PushButton_Off"
image_selected="PushButton_Off"
image_disabled_selected="PushButton_Disabled"
image_disabled="PushButton_Disabled"
label_color="ButtonLabelColor"
label_color_selected="ButtonLabelColor"
label_color_disabled="ButtonLabelDisabledColor"
label_color_disabled_selected="ButtonLabelDisabledColor"
image_color="ButtonImageColor"
image_color_disabled="ButtonImageColor"
flash_color="ButtonUnselectedFgColor"
halign="left"
hover_glow_amount="0.15"
sound_flags="0"
display_pressed_state="false" />
</toolbar>
<panel
bevel_style="none"
border="true"
bottom="311"
follows="left|bottom|right"
left="20"
right="-20"
top="311" />
<button
follows="left|bottom|right"
height="23"
label="Clear all toolbars"
label_selected="Clear all toolbars"
layout="topleft"
left="185"
name="btn_clear_all"
top="330"
width="130">
<button.commit_callback function="Toybox.ClearAll" />
</button>
<button
follows="left|bottom|right"
height="23"
label="Restore defaults"
label_selected="Restore defaults"
layout="topleft"
left="335"
name="btn_restore_defaults"
top="330"
width="130">
<button.commit_callback function="Toybox.RestoreDefaults" />
</button>
</floater>
|