1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/shadereditor/shadereditor.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,71 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> 1.9 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> 1.10 +<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?> 1.11 +<?xml-stylesheet href="chrome://browser/skin/devtools/shadereditor.css" type="text/css"?> 1.12 +<?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?> 1.13 +<!DOCTYPE window [ 1.14 + <!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/shadereditor.dtd"> 1.15 + %debuggerDTD; 1.16 +]> 1.17 + 1.18 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.19 + 1.20 + <script type="application/javascript;version=1.8" 1.21 + src="chrome://browser/content/devtools/theme-switching.js"/> 1.22 + 1.23 + <script type="application/javascript" src="shadereditor.js"/> 1.24 + 1.25 + <vbox class="theme-body" flex="1"> 1.26 + <hbox id="reload-notice" 1.27 + class="notice-container" 1.28 + align="center" 1.29 + pack="center" 1.30 + flex="1"> 1.31 + <button id="requests-menu-reload-notice-button" 1.32 + class="devtools-toolbarbutton" 1.33 + label="&shaderEditorUI.reloadNotice1;" 1.34 + oncommand="gFront.setup({ reload: true });"/> 1.35 + <label id="requests-menu-reload-notice-label" 1.36 + class="plain" 1.37 + value="&shaderEditorUI.reloadNotice2;"/> 1.38 + </hbox> 1.39 + <hbox id="waiting-notice" 1.40 + class="notice-container" 1.41 + align="center" 1.42 + pack="center" 1.43 + flex="1" 1.44 + hidden="true"> 1.45 + <label id="requests-menu-waiting-notice-label" 1.46 + class="plain" 1.47 + value="&shaderEditorUI.emptyNotice;"/> 1.48 + </hbox> 1.49 + 1.50 + <box id="content" 1.51 + class="devtools-responsive-container" 1.52 + flex="1" 1.53 + hidden="true"> 1.54 + <vbox id="shaders-pane"/> 1.55 + <splitter class="devtools-side-splitter"/> 1.56 + <box id="shaders-editors" class="devtools-responsive-container" flex="1"> 1.57 + <vbox flex="1"> 1.58 + <vbox id="vs-editor" flex="1"/> 1.59 + <label id="vs-editor-label" 1.60 + class="plain editor-label" 1.61 + value="&shaderEditorUI.vertexShader;"/> 1.62 + </vbox> 1.63 + <splitter id="editors-splitter" class="devtools-side-splitter"/> 1.64 + <vbox flex="1"> 1.65 + <vbox id="fs-editor" flex="1"/> 1.66 + <label id="fs-editor-label" 1.67 + class="plain editor-label" 1.68 + value="&shaderEditorUI.fragmentShader;"/> 1.69 + </vbox> 1.70 + </box> 1.71 + </box> 1.72 + </vbox> 1.73 + 1.74 +</window>