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
|
<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
Copyright (c) 2006 Jason Adams <imagezoom@yellowgorilla.net>
This file is part of Image Zoom.
Image Zoom is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Image Zoom is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Image Zoom; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***** END LICENSE BLOCK ***** -->
<!DOCTYPE window SYSTEM "chrome://imagezoom/locale/imageZoom.dtd">
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://imagezoom/skin/imagezoom.css" type="text/css"?>
<page xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
headertitle="&iz.product.name; &iz.options.label;"
onload="parent.initPanel('chrome://imagezoom/content/pref-main.xul');">
<script type="application/x-javascript" src="chrome://imagezoom/content/options.js"/>
<script type="application/x-javascript" src="chrome://imagezoom/content/utils.js"/>
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = [ "imagezoomusemouseoptions", "imagezoommouseaccess", "imagezoomimagefitbutton",
"imagezoomimageresetbutton", "imagezoomscrollvalue", "imagezoomscrollmode", "imagezoomreversescroll",
"imagezoomzoomvalue", "imagezoomautocenter", "imagezoomzoomvalueglobal", "imagezoomshowviewmenu", "imagezoomshowautofit", "imagezoomtogglefitreset", "imagezoomglobalzoomwarning"];
]]>
</script>
<vbox flex="1">
<label id="visitHome" class="url help" value="Help Page" onclick="openURL('http://imagezoom.yellowgorilla.net/help/?source=options&version=&iz.product.version;');" />
<groupbox align="start">
<caption>
<checkbox id="imagezoomusemouseoptions" label="&iz.options.usemouse.label;" prefstring="imagezoom.usescroll" oncommand="setDisableAllChildren(document.getElementById('mouseoptions'), !this.checked);"/>
</caption>
<vbox flex="1" id="mouseoptions">
<hbox flex="1" align="center">
<label id="imagezoommouseaccessbutton" value="&iz.options.mouseaccess.label1;" control="imagezoommouseaccess"/>
<menulist id="imagezoommouseaccess" prefstring="imagezoom.triggerbutton">
<menupopup>
<menuitem label="&iz.options.lmb.label;" value="1"/>
<menuitem label="&iz.options.mmb.label;" value="2"/>
<menuitem label="&iz.options.rmb.label;" value="3"/>
</menupopup>
</menulist>
<label id="imagezoommouseaccessbutton" value="&iz.options.mouseaccess.label2;" control="imagezoommouseaccess"/>
</hbox>
<hbox flex="1">
<grid flex="1">
<columns>
<column />
<column />
<column />
</columns>
<rows>
<row align="center" flex="1">
<label id="imagezoomimagefitbuttonlable" value="&iz.options.imagefit.label;" control="imagezoomimagefitbutton"/>
<hbox align="center">
<menulist id="imagezoomimagefitbutton" prefstring="imagezoom.imagefitbutton">
<menupopup>
<menuitem label="&iz.options.none.label;" value="0"/>
<menuitem label="&iz.options.lmb.label;" value="1"/>
<menuitem label="&iz.options.mmb.label;" value="2"/>
<menuitem label="&iz.options.rmb.label;" value="3"/>
</menupopup>
</menulist>
</hbox>
<hbox align="center" flex="1">
<spacer style="min-width: 15px" flex="1" />
<checkbox id="imagezoomtogglefitreset" label="&iz.options.togglefitreset.label;" prefstring="imagezoom.toggleFitReset"/>
</hbox>
<spacer flex="1" />
</row>
<row align="center" flex="1">
<label id="imagezoomimageresetbuttonlable" value="&iz.options.imagereset.label;" control="imagezoomimageresetbutton"/>
<menulist id="imagezoomimageresetbutton" prefstring="imagezoom.imageresetbutton">
<menupopup>
<menuitem label="&iz.options.none.label;" value="0"/>
<menuitem label="&iz.options.lmb.label;" value="1"/>
<menuitem label="&iz.options.mmb.label;" value="2"/>
<menuitem label="&iz.options.rmb.label;" value="3"/>
</menupopup>
</menulist>
<spacer flex="1" />
</row>
<row align="center" flex="1">
<label id="imagezoomscrollvaluelabelbefore" value="&iz.options.defaultscroll.label;" control="imagezoomscrollvalue"/>
<hbox align="center">
<menulist id="imagezoomscrollvalue" prefstring="imagezoom.scrollvalue">
<menupopup>
<menuitem label="100" value="100"/>
<menuitem label="75" value="75"/>
<menuitem label="50" value="50"/>
<menuitem label="25" value="25"/>
<menuitem label="10" value="10"/>
<menuitem label="7" value="7"/>
<menuitem label="5" value="5"/>
<menuitem label="4" value="4"/>
<menuitem label="3" value="3"/>
<menuitem label="2" value="2"/>
<menuitem label="1" value="1"/>
</menupopup>
</menulist>
<label id="imagezoomscrollvaluelabelafter" value="%" />
</hbox>
<hbox align="center" flex="1">
<spacer style="min-width: 15px" flex="1" />
<checkbox id="imagezoomreversescroll" label="&iz.options.reversescroll.label;" prefstring="imagezoom.reversescrollzoom"/>
</hbox>
</row>
<row align="center" flex="1">
<label id="imagezoomscrollmodelabelbefore" value="&iz.options.scrollmode.label;" control="imagezoomscrollmode"/>
<menulist id="imagezoomscrollmode" prefstring="imagezoom.scrollmode">
<menupopup>
<menuitem label="&iz.options.scrollrelative.label;" value="0"/>
<menuitem label="&iz.options.scrollabsolute.label;" value="1"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
</hbox>
</vbox>
</groupbox>
<groupbox align="start">
<caption label="&iz.options.singlezoom.label;"/>
<grid flex="1">
<columns>
<column/>
<column/>
<column/>
</columns>
<rows>
<row align="center">
<label style="width: 130px" value="&iz.options.defaultzoom.label;" control="imagezoomzoomvalue"/>
<menulist id="imagezoomzoomvalue" prefstring="imagezoom.zoomvalue">
<menupopup>
<menuitem label="400" value="400"/>
<menuitem label="300" value="300"/>
<menuitem label="200" value="200"/>
<menuitem label="175" value="175"/>
<menuitem label="150" value="150"/>
<menuitem label="125" value="125"/>
<menuitem label="110" value="110"/>
</menupopup>
</menulist>
<label value="%"/>
</row>
</rows>
</grid>
<checkbox id="imagezoomautocenter" label="&iz.options.autocenter.label;" prefstring="imagezoom.autocenter"/>
</groupbox>
<groupbox align="start">
<caption>
<checkbox id="imagezoomshowviewmenu" label="&iz.options.globalzoom.label;" prefstring="imagezoom.showViewMenu" oncommand="setDisableAllChildren(document.getElementById('globalOptions'), !this.checked);"/>
</caption>
<vbox id="globalOptions">
<checkbox id="imagezoomshowautofit" label="&iz.options.showautofit.label;" prefstring="imagezoom.showAutoFitInMenu"/>
<checkbox id="imagezoomglobalzoomwarning" label="&iz.options.warnifnotdefaultglobalzoom.label;" prefstring="imagezoom.globalZoomWarning"/>
</vbox>
</groupbox>
</vbox>
</page>
|