2
<!-- ***** BEGIN LICENSE BLOCK *****
4
Copyright (c) 2006 Jason Adams <imagezoom@yellowgorilla.net>
6
This file is part of Image Zoom.
8
Image Zoom is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
13
Image Zoom is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License
19
along with Image Zoom; if not, write to the Free Software
20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
***** END LICENSE BLOCK ***** -->
23
<!DOCTYPE window SYSTEM "chrome://imagezoom/locale/imageZoom.dtd">
25
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
26
<?xml-stylesheet href="chrome://imagezoom/skin/imagezoom.css" type="text/css"?>
28
<page xmlns:html="http://www.w3.org/1999/xhtml"
29
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
30
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
31
headertitle="&iz.product.name; &iz.options.label;"
32
onload="parent.initPanel('chrome://imagezoom/content/pref-main.xul');">
35
<script type="application/x-javascript" src="chrome://imagezoom/content/options.js"/>
36
<script type="application/x-javascript" src="chrome://imagezoom/content/utils.js"/>
38
<script type="application/x-javascript">
40
var _elementIDs = [ "imagezoomusemouseoptions", "imagezoommouseaccess", "imagezoomimagefitbutton",
41
"imagezoomimageresetbutton", "imagezoomscrollvalue", "imagezoomscrollmode", "imagezoomreversescroll",
42
"imagezoomzoomvalue", "imagezoomautocenter", "imagezoomzoomvalueglobal", "imagezoomshowviewmenu", "imagezoomshowautofit", "imagezoomtogglefitreset", "imagezoomglobalzoomwarning"];
47
<label id="visitHome" class="url help" value="Help Page" onclick="openURL('http://imagezoom.yellowgorilla.net/help/?source=options&version=&iz.product.version;');" />
48
<groupbox align="start">
50
<checkbox id="imagezoomusemouseoptions" label="&iz.options.usemouse.label;" prefstring="imagezoom.usescroll" oncommand="setDisableAllChildren(document.getElementById('mouseoptions'), !this.checked);"/>
52
<vbox flex="1" id="mouseoptions">
53
<hbox flex="1" align="center">
54
<label id="imagezoommouseaccessbutton" value="&iz.options.mouseaccess.label1;" control="imagezoommouseaccess"/>
55
<menulist id="imagezoommouseaccess" prefstring="imagezoom.triggerbutton">
57
<menuitem label="&iz.options.lmb.label;" value="1"/>
58
<menuitem label="&iz.options.mmb.label;" value="2"/>
59
<menuitem label="&iz.options.rmb.label;" value="3"/>
62
<label id="imagezoommouseaccessbutton" value="&iz.options.mouseaccess.label2;" control="imagezoommouseaccess"/>
72
<row align="center" flex="1">
73
<label id="imagezoomimagefitbuttonlable" value="&iz.options.imagefit.label;" control="imagezoomimagefitbutton"/>
75
<menulist id="imagezoomimagefitbutton" prefstring="imagezoom.imagefitbutton">
77
<menuitem label="&iz.options.none.label;" value="0"/>
78
<menuitem label="&iz.options.lmb.label;" value="1"/>
79
<menuitem label="&iz.options.mmb.label;" value="2"/>
80
<menuitem label="&iz.options.rmb.label;" value="3"/>
84
<hbox align="center" flex="1">
85
<spacer style="min-width: 15px" flex="1" />
86
<checkbox id="imagezoomtogglefitreset" label="&iz.options.togglefitreset.label;" prefstring="imagezoom.toggleFitReset"/>
90
<row align="center" flex="1">
91
<label id="imagezoomimageresetbuttonlable" value="&iz.options.imagereset.label;" control="imagezoomimageresetbutton"/>
92
<menulist id="imagezoomimageresetbutton" prefstring="imagezoom.imageresetbutton">
94
<menuitem label="&iz.options.none.label;" value="0"/>
95
<menuitem label="&iz.options.lmb.label;" value="1"/>
96
<menuitem label="&iz.options.mmb.label;" value="2"/>
97
<menuitem label="&iz.options.rmb.label;" value="3"/>
102
<row align="center" flex="1">
103
<label id="imagezoomscrollvaluelabelbefore" value="&iz.options.defaultscroll.label;" control="imagezoomscrollvalue"/>
104
<hbox align="center">
105
<menulist id="imagezoomscrollvalue" prefstring="imagezoom.scrollvalue">
107
<menuitem label="100" value="100"/>
108
<menuitem label="75" value="75"/>
109
<menuitem label="50" value="50"/>
110
<menuitem label="25" value="25"/>
111
<menuitem label="10" value="10"/>
112
<menuitem label="7" value="7"/>
113
<menuitem label="5" value="5"/>
114
<menuitem label="4" value="4"/>
115
<menuitem label="3" value="3"/>
116
<menuitem label="2" value="2"/>
117
<menuitem label="1" value="1"/>
120
<label id="imagezoomscrollvaluelabelafter" value="%" />
122
<hbox align="center" flex="1">
123
<spacer style="min-width: 15px" flex="1" />
124
<checkbox id="imagezoomreversescroll" label="&iz.options.reversescroll.label;" prefstring="imagezoom.reversescrollzoom"/>
127
<row align="center" flex="1">
128
<label id="imagezoomscrollmodelabelbefore" value="&iz.options.scrollmode.label;" control="imagezoomscrollmode"/>
129
<menulist id="imagezoomscrollmode" prefstring="imagezoom.scrollmode">
131
<menuitem label="&iz.options.scrollrelative.label;" value="0"/>
132
<menuitem label="&iz.options.scrollabsolute.label;" value="1"/>
142
<groupbox align="start">
143
<caption label="&iz.options.singlezoom.label;"/>
152
<label style="width: 130px" value="&iz.options.defaultzoom.label;" control="imagezoomzoomvalue"/>
153
<menulist id="imagezoomzoomvalue" prefstring="imagezoom.zoomvalue">
155
<menuitem label="400" value="400"/>
156
<menuitem label="300" value="300"/>
157
<menuitem label="200" value="200"/>
158
<menuitem label="175" value="175"/>
159
<menuitem label="150" value="150"/>
160
<menuitem label="125" value="125"/>
161
<menuitem label="110" value="110"/>
168
<checkbox id="imagezoomautocenter" label="&iz.options.autocenter.label;" prefstring="imagezoom.autocenter"/>
170
<groupbox align="start">
172
<checkbox id="imagezoomshowviewmenu" label="&iz.options.globalzoom.label;" prefstring="imagezoom.showViewMenu" oncommand="setDisableAllChildren(document.getElementById('globalOptions'), !this.checked);"/>
174
<vbox id="globalOptions">
175
<checkbox id="imagezoomshowautofit" label="&iz.options.showautofit.label;" prefstring="imagezoom.showAutoFitInMenu"/>
176
<checkbox id="imagezoomglobalzoomwarning" label="&iz.options.warnifnotdefaultglobalzoom.label;" prefstring="imagezoom.globalZoomWarning"/>