summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_twitter_photo.xml
blob: c2be56da2174e3cd32de376d844b583c370db709 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
    <panel
      height="420"
      width="304"
      layout="topleft"
      name="panel_twitter_photo">
      <layout_stack
	   layout="topleft"
       border_size="0"
       height="412"
       follows="all"
       orientation="vertical"
       name="stack_photo"
       top="8">
        <layout_panel
         name="text_panel"
         height="160">
          <text
           length="1"
           follows="top|left|right"
           font="SansSerif"
           height="16"
           left="9"
           name="status_label"
           top="3"
           type="string">
            What's happening?
          </text>
          <text
           length="1"
           follows="top|left"
           font="SansSerif"
           text_color="EmphasisColor"
           halign="right"
           height="16"
           width="30"
           left="227"
           name="status_counter_label"
           top="3"
           type="string">
            140
          </text>
          <text_editor
           follows="left|top"
           height="87"
           width="250"
           left="9"
           length="1"
           max_length="140"
           name="photo_status"
           type="string"
           word_wrap="true">
          </text_editor>
          <check_box
           follows="left|top"
           initial_value="true"
           label="Include SL location"
           name="add_location_cb"
            left="9"
            height="16"
           top_pad="10"/>
          <check_box
           follows="left|top"
           initial_value="true"
           label="Include a photo"
           name="add_photo_cb"
            left="9"
            height="16"
           top_pad="10"/>
        </layout_panel>
          <layout_panel
           name="snapshot_panel"
           height="227">
            <combo_box
             control_name="TwitterPhotoResolution"
             follows="left|top"
             top="6"
             left="9"
             name="resolution_combobox"
             tool_tip="Image resolution"
             height="21"
             width="135">
              <combo_box.item
               label="Current Window"
               name="CurrentWindow"
               value="[i0,i0]" />
              <combo_box.item
               label="640x480"
               name="640x480"
               value="[i640,i480]" />
              <combo_box.item
               label="800x600"
               name="800x600"
               value="[i800,i600]" />
              <combo_box.item
               label="1024x768"
               name="1024x768"
               value="[i1024,i768]" />
            </combo_box>
              <combo_box
                  control_name="TwitterPhotoFilters"
                  follows="right|top"
                  name="filters_combobox"
                  tool_tip="Image filters"
                  top="6"
                  left="165"
                  height="21"
                  width="135">
                  <combo_box.item
                  label="No Filter"
                  name="NoFilter"
                  value="NoFilter" />
              </combo_box>
            <panel
                height="150"
                width="250"
                visible="true"
                name="thumbnail_placeholder"
                top="33"
                follows="left|top"
                left="9">
            </panel>
            <button
             follows="left|top"
             height="23"
             label="Refresh"
             left="9"
             top_pad="5"
             name="new_snapshot_btn"
             tool_tip="Click to refresh"
             visible="true"
             width="100" >
             <button.commit_callback
               function="SocialSharing.RefreshPhoto" />
            </button>
            <text
                follows="left|top"
                font="SansSerif"
                text_color="EmphasisColor"
                height="14"
                top_pad="-19"
                left_pad="-30"
                length="1"
                halign="center"
                name="working_lbl"
                translate="false"
                type="string"
                visible="true"
                width="150">
                Refreshing...
            </text>
              <button
                  follows="right|top"
                  height="23"
                  label="Preview"
                  left="200"
                  top_pad="-19"
                  name="big_preview_btn"
                  tool_tip="Click to toggle preview"
                  is_toggle="true"
                  visible="true"
                  width="100" >
                  <button.commit_callback
                  function="SocialSharing.BigPreview" />
              </button>
        </layout_panel>
        <layout_panel
          name="photo_button_panel"
          height="25">
          <button
           follows="left|top"
           top="0"
           left="9"
           height="23"
           label="Tweet"
           name="post_photo_btn"
           width="100">
            <button.commit_callback
             function="SocialSharing.SendPhoto" />
          </button>
          <button
               follows="left|top"
               height="23"
               label="Cancel"
               name="cancel_photo_btn"
               left_pad="15"
               top_delta="0"
               width="100">
            <button.commit_callback
             function="SocialSharing.Cancel" />
          </button>          
        </layout_panel>        
      </layout_stack>
    </panel>