PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/floater_mem_leaking.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 129 lines | 129 code | 0 blank | 0 comment | 0 complexity | 35caddd29c1ed3a55b23d01506624318 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<floater
  3 legacy_header_height="18"
  4 can_minimize="false"
  5 height="175"
  6 layout="topleft"
  7 name="MemLeak"
  8 help_topic="memleak"
  9 title="SIMULATE A MEMORY LEAK"
 10 width="350">
 11    <spinner
 12     decimal_digits="0"
 13     follows="left|top"
 14     height="20"
 15     increment="256"
 16     initial_value="512"
 17     label="Leaking Speed (bytes per frame):"
 18     label_width="220"
 19     layout="topleft"
 20     left="10"
 21     max_val="4.29497e+009"
 22     name="leak_speed"
 23     top="30"
 24     width="330">
 25		<spinner.commit_callback
 26		function="MemLeak.ChangeLeakingSpeed" />
 27	</spinner>
 28    <spinner
 29     decimal_digits="0"
 30     follows="left|top"
 31     height="20"
 32     increment="4"
 33     initial_value="512"
 34     label="Max Leaked Memory (MB):"
 35     label_width="220"
 36     layout="topleft"
 37     left_delta="0"
 38     max_val="4096"
 39     name="max_leak"
 40     top_pad="5"
 41     width="330">
 42		<spinner.commit_callback
 43		function="MemLeak.ChangeMaxMemLeaking" />
 44	</spinner>
 45    <text
 46     type="string"
 47     length="1"
 48     follows="left|top"
 49     height="25"
 50     layout="topleft"
 51     left_delta="0"
 52     name="total_leaked_label"
 53     top_delta="20"
 54     width="300">
 55        Current leaked memory: [SIZE] KB
 56    </text>
 57    <text
 58     type="string"
 59     length="1"
 60     follows="left|top"
 61     height="25"
 62     layout="topleft"
 63     left_delta="0"
 64     name="note_label_1"
 65     top_delta="25"
 66     width="330">
 67        [NOTE1]
 68    </text>
 69    <text
 70     type="string"
 71     length="1"
 72     follows="left|top"
 73     height="25"
 74     layout="topleft"
 75     left_delta="0"
 76     name="note_label_2"
 77     top_delta="25"
 78     width="330">
 79        [NOTE2]
 80    </text>
 81    <button
 82     follows="left|top"
 83     height="20"
 84     label="Start"
 85     layout="topleft"
 86     left_delta="0"
 87     name="start_btn"
 88     top_delta="20"
 89     width="70">
 90		<button.commit_callback
 91		function="MemLeak.Start" />
 92	</button>
 93    <button
 94     follows="left|top"
 95     height="20"
 96     label="Stop"
 97     layout="topleft"
 98     left_pad="7"
 99     name="stop_btn"
100     top_delta="0"
101     width="70">
102		<button.commit_callback
103		function="MemLeak.Stop" />
104	</button>
105    <button
106     follows="left|top"
107     height="20"
108     label="Release"
109     layout="topleft"
110     left_pad="7"
111     name="release_btn"
112     top_delta="0"
113     width="70">
114		<button.commit_callback
115		function="MemLeak.Release" />
116	</button>
117    <button
118     follows="left|top"
119     height="20"
120     label="Close"
121     layout="topleft"
122     left_pad="36"
123     name="close_btn"
124     top_delta="0"
125     width="70">
126		<button.commit_callback
127		function="MemLeak.Close" />
128	</button>
129</floater>