summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/floater_mem_leaking.xml
blob: 560acafd4f8f65e74c0751e947b9e1724e982994 (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
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 can_minimize="false"
 follows="left|top"
 height="175"
 layout="topleft"
 name="MemLeak"
 help_topic="memleak"
 title="Simulate a Memory Leak"
 width="350">
    <spinner
     decimal_digits="0"
     follows="left|top"
     height="20"
     increment="256"
     initial_value="512"
     label="Leaking Speed (bytes per frame):"
     label_width="220"
     layout="topleft"
     left="10"
     max_val="4.29497e+009"
     name="leak_speed"
     top="30"
     width="330">
		<spinner.commit_callback
		function="MemLeak.ChangeLeakingSpeed" />
	</spinner>
    <spinner
     decimal_digits="0"
     follows="left|top"
     height="20"
     increment="4"
     initial_value="512"
     label="Max Leaked Memory (MB):"
     label_width="220"
     layout="topleft"
     left_delta="0"
     max_val="4096"
     name="max_leak"
     top_pad="5"
     width="330">
		<spinner.commit_callback
		function="MemLeak.ChangeMaxMemLeaking" />
	</spinner>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="25"
     layout="topleft"
     left_delta="0"
     name="total_leaked_label"
     top_delta="20"
     width="300">
        Current leaked memory: [SIZE] KB
    </text>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="25"
     layout="topleft"
     left_delta="0"
     name="note_label_1"
     top_delta="25"
     width="330">
        [NOTE1]
    </text>
    <text
     type="string"
     length="1"
     follows="left|top"
     height="25"
     layout="topleft"
     left_delta="0"
     name="note_label_2"
     top_delta="25"
     width="330">
        [NOTE2]
    </text>
    <button
     follows="left|top"
     height="20"
     label="Start"
     layout="topleft"
     left_delta="0"
     name="start_btn"
     top_delta="20"
     width="70">
		<button.commit_callback
		function="MemLeak.Start" />
	</button>
    <button
     follows="left|top"
     height="20"
     label="Stop"
     layout="topleft"
     left_pad="7"
     name="stop_btn"
     top_delta="0"
     width="70">
		<button.commit_callback
		function="MemLeak.Stop" />
	</button>
    <button
     follows="left|top"
     height="20"
     label="Release"
     layout="topleft"
     left_pad="7"
     name="release_btn"
     top_delta="0"
     width="70">
		<button.commit_callback
		function="MemLeak.Release" />
	</button>
    <button
     follows="left|top"
     height="20"
     label="Close"
     layout="topleft"
     left_pad="36"
     name="close_btn"
     top_delta="0"
     width="70">
		<button.commit_callback
		function="MemLeak.Close" />
	</button>
</floater>