2013-10-25 00:18:41 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/shadereditor.css" type="text/css"?>
|
|
|
|
<?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/shadereditor.dtd">
|
|
|
|
%debuggerDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
2013-11-13 10:02:05 -08:00
|
|
|
|
2013-11-15 18:46:59 -08:00
|
|
|
<script type="application/javascript;version=1.8"
|
2013-11-13 10:02:05 -08:00
|
|
|
src="chrome://browser/content/devtools/theme-switching.js"/>
|
2013-11-15 18:46:59 -08:00
|
|
|
|
2013-10-25 00:18:41 -07:00
|
|
|
<script type="application/javascript" src="shadereditor.js"/>
|
|
|
|
|
2014-01-30 11:25:51 -08:00
|
|
|
<vbox class="theme-body" flex="1">
|
2013-10-25 00:18:41 -07:00
|
|
|
<hbox id="reload-notice"
|
|
|
|
class="notice-container"
|
|
|
|
align="center"
|
|
|
|
pack="center"
|
|
|
|
flex="1">
|
|
|
|
<button id="requests-menu-reload-notice-button"
|
|
|
|
class="devtools-toolbarbutton"
|
|
|
|
label="&shaderEditorUI.reloadNotice1;"
|
2013-10-30 09:54:01 -07:00
|
|
|
oncommand="gFront.setup({ reload: true });"/>
|
2013-10-25 00:18:41 -07:00
|
|
|
<label id="requests-menu-reload-notice-label"
|
|
|
|
class="plain"
|
|
|
|
value="&shaderEditorUI.reloadNotice2;"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox id="waiting-notice"
|
|
|
|
class="notice-container"
|
|
|
|
align="center"
|
|
|
|
pack="center"
|
|
|
|
flex="1"
|
|
|
|
hidden="true">
|
|
|
|
<label id="requests-menu-waiting-notice-label"
|
|
|
|
class="plain"
|
|
|
|
value="&shaderEditorUI.emptyNotice;"/>
|
|
|
|
</hbox>
|
|
|
|
|
2014-01-30 11:25:51 -08:00
|
|
|
<box id="content"
|
|
|
|
class="devtools-responsive-container"
|
|
|
|
flex="1"
|
|
|
|
hidden="true">
|
2013-10-25 00:18:41 -07:00
|
|
|
<vbox id="shaders-pane"/>
|
|
|
|
<splitter class="devtools-side-splitter"/>
|
2013-10-26 03:19:08 -07:00
|
|
|
<box id="shaders-editors" class="devtools-responsive-container" flex="1">
|
2013-10-25 00:18:41 -07:00
|
|
|
<vbox flex="1">
|
|
|
|
<vbox id="vs-editor" flex="1"/>
|
|
|
|
<label id="vs-editor-label"
|
|
|
|
class="plain editor-label"
|
|
|
|
value="&shaderEditorUI.vertexShader;"/>
|
|
|
|
</vbox>
|
|
|
|
<splitter id="editors-splitter" class="devtools-side-splitter"/>
|
|
|
|
<vbox flex="1">
|
|
|
|
<vbox id="fs-editor" flex="1"/>
|
|
|
|
<label id="fs-editor-label"
|
|
|
|
class="plain editor-label"
|
|
|
|
value="&shaderEditorUI.fragmentShader;"/>
|
|
|
|
</vbox>
|
2013-10-26 03:19:08 -07:00
|
|
|
</box>
|
|
|
|
</box>
|
2013-10-25 00:18:41 -07:00
|
|
|
</vbox>
|
|
|
|
|
|
|
|
</window>
|