webaudioeditor.xul 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://devtools/content/shared/widgets/widgets.css" type="text/css"?>
  7. <?xml-stylesheet href="chrome://devtools/skin/widgets.css" type="text/css"?>
  8. <?xml-stylesheet href="chrome://devtools/skin/webaudioeditor.css" type="text/css"?>
  9. <!DOCTYPE window [
  10. <!ENTITY % debuggerDTD SYSTEM "chrome://devtools/locale/webaudioeditor.dtd">
  11. %debuggerDTD;
  12. ]>
  13. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  14. <script type="application/javascript;version=1.8"
  15. src="chrome://devtools/content/shared/theme-switching.js"/>
  16. <script type="application/javascript" src="chrome://devtools/content/shared/vendor/d3.js"/>
  17. <script type="application/javascript" src="chrome://devtools/content/shared/vendor/dagre-d3.js"/>
  18. <script type="application/javascript" src="includes.js"/>
  19. <script type="application/javascript" src="models.js"/>
  20. <script type="application/javascript" src="controller.js"/>
  21. <script type="application/javascript" src="views/utils.js"/>
  22. <script type="application/javascript" src="views/context.js"/>
  23. <script type="application/javascript" src="views/inspector.js"/>
  24. <script type="application/javascript" src="views/properties.js"/>
  25. <script type="application/javascript" src="views/automation.js"/>
  26. <vbox class="theme-body" flex="1">
  27. <hbox id="reload-notice"
  28. class="notice-container"
  29. align="center"
  30. pack="center"
  31. flex="1">
  32. <button id="requests-menu-reload-notice-button"
  33. class="devtools-toolbarbutton"
  34. standalone="true"
  35. label="&webAudioEditorUI.reloadNotice1;"
  36. oncommand="gFront.setup({ reload: true });"/>
  37. <label id="requests-menu-reload-notice-label"
  38. class="plain"
  39. value="&webAudioEditorUI.reloadNotice2;"/>
  40. </hbox>
  41. <hbox id="waiting-notice"
  42. class="notice-container devtools-throbber"
  43. align="center"
  44. pack="center"
  45. flex="1"
  46. hidden="true">
  47. <label id="requests-menu-waiting-notice-label"
  48. class="plain"
  49. value="&webAudioEditorUI.emptyNotice;"/>
  50. </hbox>
  51. <vbox id="content"
  52. flex="1"
  53. hidden="true">
  54. <toolbar id="web-audio-toolbar" class="devtools-toolbar">
  55. <spacer flex="1"></spacer>
  56. <toolbarbutton id="inspector-pane-toggle" class="devtools-toolbarbutton"
  57. tabindex="0"/>
  58. </toolbar>
  59. <splitter class="devtools-horizontal-splitter"/>
  60. <box id="web-audio-content-pane"
  61. class="devtools-responsive-container"
  62. flex="1">
  63. <hbox flex="1">
  64. <box id="web-audio-graph" flex="1">
  65. <vbox flex="1">
  66. <svg id="graph-svg"
  67. xmlns="http://www.w3.org/2000/svg"
  68. xmlns:xlink="http://www.w3.org/1999/xlink">
  69. <g id="graph-target" transform="translate(20,20)"/>
  70. </svg>
  71. </vbox>
  72. </box>
  73. </hbox>
  74. <splitter id="inspector-splitter" class="devtools-side-splitter"/>
  75. <vbox id="web-audio-inspector" hidden="true">
  76. <deck id="web-audio-editor-details-pane" flex="1">
  77. <vbox id="web-audio-editor-details-pane-empty" flex="1">
  78. <label value="&webAudioEditorUI.inspectorEmpty;"></label>
  79. </vbox>
  80. <tabbox id="web-audio-editor-tabs"
  81. class="devtools-sidebar-tabs"
  82. handleCtrlTab="false">
  83. <toolbar id="audio-node-toolbar" class="devtools-toolbar">
  84. <hbox class="devtools-toolbarbutton-group">
  85. <toolbarbutton class="bypass devtools-toolbarbutton"
  86. data-command="bypass"
  87. tabindex="0"/>
  88. </hbox>
  89. </toolbar>
  90. <tabs>
  91. <tab id="properties-tab"
  92. label="&webAudioEditorUI.tab.properties2;"/>
  93. <!-- bug 1134036
  94. <tab id="automation-tab"
  95. label="&webAudioEditorUI.tab.automation;"/>
  96. -->
  97. </tabs>
  98. <tabpanels flex="1">
  99. <!-- Properties Panel -->
  100. <tabpanel id="properties-tabpanel"
  101. class="tabpanel-content">
  102. <vbox id="properties-content" flex="1" hidden="true">
  103. </vbox>
  104. <vbox id="properties-empty" flex="1" hidden="true">
  105. <label value="&webAudioEditorUI.propertiesEmpty;"></label>
  106. </vbox>
  107. </tabpanel>
  108. <!-- Automation Panel -->
  109. <tabpanel id="automation-tabpanel"
  110. class="tabpanel-content">
  111. <vbox id="automation-content" flex="1" hidden="true">
  112. <toolbar id="automation-param-toolbar" class="devtools-toolbar">
  113. <hbox id="automation-param-toolbar-buttons" class="devtools-toolbarbutton-group">
  114. </hbox>
  115. </toolbar>
  116. <box id="automation-graph-container" flex="1">
  117. <canvas id="automation-graph"></canvas>
  118. </box>
  119. <vbox id="automation-no-events" flex="1" hidden="true">
  120. <label value="&webAudioEditorUI.automationNoEvents;"></label>
  121. </vbox>
  122. </vbox>
  123. <vbox id="automation-empty" flex="1" hidden="true">
  124. <label value="&webAudioEditorUI.automationEmpty;"></label>
  125. </vbox>
  126. </tabpanel>
  127. </tabpanels>
  128. </tabbox>
  129. </deck>
  130. </vbox>
  131. </box>
  132. </vbox>
  133. </vbox>
  134. </window>