aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/skins/default
diff options
context:
space:
mode:
authorPatrick Sapinski2010-08-24 21:19:42 -0400
committerMcCabe Maxsted2010-08-30 17:19:35 -0700
commit46ce6b78d479a0da264f933a694cb84b00a6c6c8 (patch)
treec5eb7724973f12f047847f243a18db6971c6d847 /linden/indra/newview/skins/default
parentupdated chatbar command line and added the necessary settings and hooks to us... (diff)
downloadmeta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.zip
meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.gz
meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.bz2
meta-impy-46ce6b78d479a0da264f933a694cb84b00a6c6c8.tar.xz
added autocorrect functionality and floater
Diffstat (limited to 'linden/indra/newview/skins/default')
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/floater_autocorrect.xml83
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml2
2 files changed, 85 insertions, 0 deletions
diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_autocorrect.xml b/linden/indra/newview/skins/default/xui/en-us/floater_autocorrect.xml
new file mode 100644
index 0000000..d11b5ed
--- /dev/null
+++ b/linden/indra/newview/skins/default/xui/en-us/floater_autocorrect.xml
@@ -0,0 +1,83 @@
1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
2<floater border="true" can_close="true" can_minimize="true" bottom="400" left="300" can_resize="false" height="430" width="400"
3 name="em_ac_floater" title="Autocorrect Settings">
4 <check_box bottom_delta="-50" left_delta="5" height="16" width="100" enabled="true" follows="left|top"
5 font="SansSerifSmall" mouse_opaque="true" radio_style="false" label="Enable Autocorrect"
6 control_name="EmeraldEnableAutoCorrect" name="em_ac_enable" tool_tip="You must have this check box enabled to use any of these settings,
7 it will search your writable text entry, and replace any of the search entries with their replacement"/>
8 <button bottom_delta="-2" left_delta="150" height="22" width="80" enabled="true" follows="left|top"
9 font="SansSerif" mouse_opaque="true" halign="center" scale_image="true"
10 name="em_ac_loadlist" label="Load List.." tool_tip="Click this to load a previously exported list from a file"/>
11 <view_border bottom_delta="-10" left_delta="100" height="40" width="120" follows="left|top"
12 bevel_style="in" mouse_opaque="false" name="em_ac_notecard_target"/>
13 <text bottom_delta="18" left_delta="0" height="16" width="120" follows="left|top" halign="center"
14 font="SansSerifSmall" mouse_opaque="true" name="em_ac_notecard"
15 >
16 Drop a Notecard here
17 to load from it.
18 </text>
19 <view_border bottom="-70" left="2" height="0" width="396" follows="left|top"
20 bevel_style="none" border_thickness="1" mouse_opaque="false" name="em_divisor1"/>
21 <text bottom_delta="-20" left_delta="0" height="16" width="400" follows="left|top" halign="center"
22 font="SansSerifSmall" mouse_opaque="true" name="em_ac_text1"
23 >List Name List Entries</text>
24 <scroll_list bottom_delta="-280" left_delta="0" height="280" width="199" follows="left|top"
25 column_padding="0" draw_heading="true" multi_select="false"
26 name="em_ac_list_name" search_column="1">
27 </scroll_list>
28 <scroll_list bottom_delta="100" left_delta="199" height="180" width="198" follows="left|top"
29 column_padding="0" draw_heading="true" multi_select="false"
30 name="em_ac_list_entry" search_column="1">
31 </scroll_list>
32 <view_border bottom_delta="-20" left_delta="10" height="16" width="180" follows="left|top"
33 bevel_style="in" mouse_opaque="false" name="em_ac_box1"/>
34 <text bottom_delta="0" left_delta="0" height="16" width="180" follows="left|top" halign="center"
35 font="SansSerifSmall" mouse_opaque="true" name="em_ac_text_name"
36 >List Name</text>
37 <text bottom_delta="-20" left_delta="-2" height="16" width="40" follows="left|top" halign="center"
38 font="SansSerifSmall" mouse_opaque="true" name="em_ac_text2"
39 >Author:</text>
40 <view_border bottom_delta="-0" left_delta="42" height="16" width="140" follows="left|top"
41 bevel_style="in" mouse_opaque="false" name="em_ac_box2"/>
42 <text bottom_delta="0" left_delta="0" height="16" width="140" follows="left|top" halign="center"
43 font="SansSerifSmall" mouse_opaque="true" name="em_ac_text_author"
44 >Author Name</text>
45 <check_box bottom_delta="-20" left_delta="-32" height="16" width="100" enabled="true" follows="left|top"
46 font="SansSerifSmall" mouse_opaque="true" radio_style="false" label="Enabled, priority:"
47 control_name="em_ac_enabled" name="em_ac_list_enabled" tool_tip="Whether or not you with to use this particular list"/>
48 <spinner bottom_delta="-0" left_delta="120" height="16" width="50" follows="left|top"
49 decimal_digits="0" increment="1" min_val="0" max_val="10" mouse_opaque="true"
50 label="" label_width="0" name="em_ac_priority" tool_tip="This number determine what order your list will be used to replace words. A higher priority means it will be used before lower priority lists"/>
51 <check_box bottom_delta="-20" left_delta="-120" height="16" width="100" enabled="true" follows="left|top"
52 font="SansSerifSmall" mouse_opaque="true" radio_style="false" label="Show Notifications"
53 control_name="em_ac_list_show" name="em_ac_list_show" tool_tip="having this enabled will make a notification pop up every time a word is replaced"/>
54 <check_box bottom_delta="-20" left_delta="-0" height="16" width="100" enabled="true" follows="left|top"
55 font="SansSerifSmall" mouse_opaque="true" radio_style="false" label="Word Style"
56 control_name="em_ac_list_style" name="em_ac_list_style" tool_tip="having this checked means the list is for full words that should be replaced, unchecked means that it will look within words contents as well"/>
57 <view_border bottom="-405" left="201" height="40" width="0" follows="left|top"
58 bevel_style="none" border_thickness="1" mouse_opaque="false" name="em_divisor2"/>
59 <view_border bottom_delta="-0" left="2" height="0" width="396" follows="left|top"
60 bevel_style="none" border_thickness="1" mouse_opaque="false" name="em_divisor3"/>
61 <button bottom="-400" left="5" height="22" width="90" enabled="true" follows="left|top"
62 font="SansSerif" mouse_opaque="true" halign="center" scale_image="true"
63 name="em_ac_deletelist" label="Delete List" tool_tip="This will delete the entire list of words and their replacements, it is not undoable"/>
64 <button bottom_delta="-0" left_delta="95" height="22" width="90" enabled="true" follows="left|top"
65 font="SansSerif" mouse_opaque="true" halign="center" scale_image="true"
66 name="em_ac_exportlist" label="Export List" tool_tip="This will save your current list to a file so you can share it with your friends or edit it"/>
67 <button bottom_delta="0" left_delta="110" height="22" width="90" enabled="true" follows="left|top"
68 font="SansSerif" mouse_opaque="true" halign="center" scale_image="true"
69 name="em_ac_addentry" label="Add Entry"/>
70 <button bottom_delta="0" left_delta="95" height="22" width="90" enabled="true" follows="left|top"
71 font="SansSerif" mouse_opaque="true" halign="center" scale_image="true"
72 name="em_ac_rementry" label="Remove Entry"/>
73 <text bottom_delta="-25" left_delta="-240" height="16" width="170" follows="left|top" halign="center"
74 font="SansSerifSmall" mouse_opaque="true" name="em_ac_text3"
75 >Words automatically corrected:</text>
76 <view_border bottom_delta="-0" left_delta="180" height="16" width="70" follows="left|top"
77 bevel_style="in" mouse_opaque="false" name="em_ac_statsbox"/>
78 <text bottom_delta="0" left_delta="0" height="16" width="70" follows="left|top" halign="center"
79 font="SansSerifSmall" mouse_opaque="true" name="em_ac_stats"
80 >Count</text>
81
82
83</floater> \ No newline at end of file
diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
index d0a0c21..bf261c6 100644
--- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml
@@ -270,6 +270,8 @@
270 To spellcheck, right click a misspelled word 270 To spellcheck, right click a misspelled word
271 (red or not) and click on its replacement 271 (red or not) and click on its replacement
272 </text> 272 </text>
273 <button name="ac_button" label="AutoCorrect Options…" halign="center" tool_tip="Modify the AutoCorrect word list and settings" left="5"
274 bottom_delta="-64" width="180" height="20" font="SansSerifSmall" follows="left|top"/>
273 </panel> 275 </panel>
274 </tab_container> 276 </tab_container>
275</panel> 277</panel>