Home /Modules/telephony-skya/skya-ui.xml

skya-ui.xml

telephony-skya/javafx/src/main/resources/skya-ui.xml · 41 line(s) · xml

<?xml version="1.0" encoding="UTF-8"?>
<bodi-ui id="skya-ui" title="Skya — SLeeLa Telephony" protocol="Guia™">
  <window id="main-window" width="1100" height="760" min-width="980" min-height="700"/>
  <header id="skya-header" logo="/images/skya-logo-blue.jpeg" style-ref="skya-header-surface"/>
  <connection id="connection-bar">
    <control id="host" type="text"/>
    <control id="port" type="text"/>
    <control id="room" type="select"/>
    <command id="connect" action="CLIENT.CONNECT"/>
    <command id="disconnect" action="SESSION.CLOSE"/>
  </connection>
  <styles id="skya-visual-styles">
    <style id="skya-header-surface">
      <gradient id="skya-header-gradient" type="linear" direction="vertical" start="#ffffff" end="#e6e6e6"/>
      <bevel id="skya-header-bevel" orientation="horizontal" style="raised" size="3" light="#ffffff" shadow="#a6a6a6"/>
    </style>
    <style id="skya-content-surface">
      <gradient id="skya-content-gradient" type="linear" direction="vertical" start="#ffffff" end="#f0f0f0"/>
    </style>
    <style id="skya-footer-surface">
      <gradient id="skya-footer-gradient" type="linear" direction="vertical" start="#f7f7f7" end="#dedede"/>
    </style>
  </styles>
  <content id="tabs" style-ref="skya-content-surface">
    <view id="chat" type="chat"/><view id="video" type="video"/><view id="audio" type="audio"/><view id="file-transfer" type="file"/>
  </content>
  <footer id="protocol-footer" title="Protocol Message Scroller" callback="Guia™" position="bottom" style-ref="skya-footer-surface">
    <divider id="protocol-divider" orientation="horizontal" style="2d-bevel"/>
    <message-bar id="guia-message-bar" mode="scroll" messages="1-16" position="lowest"/>
  </footer>
  <bindings>
    <binding event="GUI.CREATE" target="guia-message-bar" message="1"/>
    <binding event="CLIENT.CONNECT" target="guia-message-bar" message="4"/>
    <binding event="SESSION.CLOSE" target="guia-message-bar" message="6"/>
    <binding event="CIRCUIT.START" target="guia-message-bar" message="9"/>
    <binding event="CIRCUIT.PAUSE" target="guia-message-bar" message="9"/>
    <binding event="CIRCUIT.STOP" target="guia-message-bar" message="15"/>
    <binding event="CONTROL.UPDATE" target="guia-message-bar" message="16"/>
  </bindings>
</bodi-ui>