summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_facebook_photo.xml
blob: b5b6dee004a97ffcb10e6a0fad29fc03132b617c (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
    <panel
      height="400"
      width="304"
      layout="topleft"
      follows="all"
      name="panel_facebook_photo">
      <layout_stack
	   layout="topleft"
       border_size="0"
       height="392"
       follows="all"
       orientation="vertical"
       name="stack_photo"
       top="8">
        <layout_panel	
         name="snapshot_panel"
         height="367">
            <combo_box
             control_name="FacebookPhotoResolution"
             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.item
               label="1200x630"
               name="1200x630"
               value="[i1200,i630]" />
            </combo_box>
            <combo_box
                control_name="FacebookPhotoFilters"
                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|right"
                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>
            <text
             length="1"
             follows="top|left|right"
             font="SansSerif"
             height="16"
             left="9"
             name="caption_label"
             top_pad="20"
             type="string">
              Comment (optional):
            </text>
            <text_editor
             follows="left|top|right|bottom"
             height="87"
             width="250"
             left="9"
             length="1"
             max_length="700"
             name="photo_caption"
             type="string"
             word_wrap="true">
            </text_editor>
        </layout_panel>
        <layout_panel
          name="photo_button_panel"
          height="25">
          <button
           follows="left|bottom"
           top="0"
           left="9"
           height="23"
           label="Post"
           name="post_photo_btn"
           width="100">
            <button.commit_callback
             function="SocialSharing.SendPhoto" />
          </button>
          <button
               follows="left|bottom"
               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>