comparison chrome/content/screenshot/screenshot.xul @ 2:472a16863ecc

expanded nightly.jar
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 02 Dec 2008 20:38:20 +0900
parents
children
comparison
equal deleted inserted replaced
1:93e46514f20d 2:472a16863ecc
1 <?xml version="1.0"?>
2
3 <!DOCTYPE window SYSTEM "chrome://nightly/locale/screenshot.dtd">
4
5 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
6 <?xml-stylesheet href="chrome://nightly/skin/screenshot/screenshot.css" type="text/css"?>
7
8 <window title="&screenshot.window.title;" id="NightlyScreenshot"
9 persist="width height screenX screenY sizemode"
10 xmlns:xhtml="http://www.w3.org/1999/xhtml"
11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
12
13 <script src="screenshot.js" type="application/x-javascript"/>
14 <script src="providers.js" type="application/x-javascript"/>
15
16 <stringbundleset>
17 <stringbundle id="bundle" src="chrome://nightly/locale/screenshot.properties"/>
18 </stringbundleset>
19
20 <toolbox>
21 <toolbar>
22 <toolbarbutton label="&screenshot.save.label;" oncommand="saveScreenshot()"/>
23 <toolbarbutton label="&screenshot.copy.label;" oncommand="copyScreenshot()"/>
24 <toolbarbutton id="imgsubmit" hidden="true" label="&screenshot.submit.label;" oncommand="submitScreenshot(); window.close();"/>
25 <toolbaritem align="center">
26 <label control="winlist" value="&screenshot.window.label;"/>
27 <menulist id="winlist">
28 <menupopup id="winpopup">
29 </menupopup>
30 </menulist>
31 </toolbaritem>
32 <toolbarbutton label="&screenshot.redraw.label;" oncommand="drawScreenshot();"/>
33 <toolbarbutton id="timerbtn" label="&screenshot.timer.label;" oncommand="timedCapture();"/>
34 </toolbar>
35 </toolbox>
36
37 <scrollbox flex="1" style="overflow: auto" align="start" pack="start" id="container">
38 <xhtml:img id="previewImage"/>
39 </scrollbox>
40
41 <vbox height="0" style="overflow: hidden">
42 <xhtml:canvas id="canvas" style="visibility: hidden"/>
43 </vbox>
44
45 </window>