blob: 5c2401bc7b76947edb33d1d13dda5575d9707c5f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.10"/>
<template class="CurrentCallView" parent="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<!-- <property name="spacing">10</property> -->
<!-- box which shows all the call info,
name, the video, status, etc -->
<child>
<object class="GtkBox" id="vbox_call_contents">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<!-- box which contains peer image and name -->
<child>
<object class="GtkBox" id="hbox_peer_identity">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="spacing">10</property>
<child>
<object class="GtkImage" id="image_peer">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xpad">10</property>
<property name="ypad">10</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_identity">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selectable">True</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of box which contains peer image and name -->
<!-- video widget should go here -->
<child>
<object class="GtkFrame" id="frame_video">
<property name="visible">False</property>
<property name="shadow-type">GTK_SHADOW_NONE</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of video widget -->
<!-- start of text message area -->
<child>
<object class="GtkRevealer" id="revealer_chat">
<property name="visible">True</property>
<child>
<object class="GtkBox" id="vbox_chat">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<property name="margin-start">5</property>
<!-- start of chat text view -->
<child>
<object class="GtkScrolledWindow" id="scrolledwindow_chat">
<property name="visible">True</property>
<property name="min-content-height">150</property>
<child>
<object class="GtkTextView" id="textview_chat">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="editable">False</property>
<property name="wrap-mode">word-char</property>
<property name="left-margin">5</property>
<property name="right-margin">5</property>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of chat text view -->
<!-- start of chat entry -->
<child>
<object class="GtkBox" id="hbox_chat_input">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="spacing">0</property>
<style>
<class name="linked"/>
</style>
<child>
<object class="GtkEntry" id="entry_chat_input">
<property name="visible">True</property>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkButton" id="button_chat_input">
<property name="visible">True</property>
<property name="label" translatable="yes">Send</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of chat entry -->
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of text message area -->
<!-- call status box -->
<child>
<object class="GtkBox" id="hbox_call_status">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="spacing">10</property>
<child>
<object class="GtkLabel" id="label_status">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_duration">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="selectable">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
</packing>
</child>
<!-- end of call status box -->
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of box which shows all the call info,
name, the video, status, etc -->
<!-- box which contains the control buttons -->
<child>
<object class="GtkBox" id="hbox_controls">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">10</property>
<!-- call conrol button box -->
<child>
<object class="GtkBox" id="buttonbox_call_controls">
<property name="name">call-controls</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="spacing">15</property>
<child>
<object class="GtkButton" id="button_hangup">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="action-name">app.hangup</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">End this call</property>
<property name="image">image_end</property>
<child internal-child="accessible">
<object class="AtkObject" id="button_hangup-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">End call</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="togglebutton_hold">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="action-name">app.hold</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Toggle hold</property>
<property name="image">image_pause</property>
<child internal-child="accessible">
<object class="AtkObject" id="togglebutton_hold-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Hold</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="togglebutton_muteaudio">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="action-name">app.mute_audio</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Toggle mute audio</property>
<property name="image">image_mute_audio</property>
<child internal-child="accessible">
<object class="AtkObject" id="togglebutton_muteaudio-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Hold</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="togglebutton_mutevideo">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="action-name">app.mute_video</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Toggle mute video</property>
<property name="image">image_mute_video</property>
<child internal-child="accessible">
<object class="AtkObject" id="togglebutton_mutevideo-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Mute video</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="togglebutton_record">
<!-- TODO: set visible when feature enabled -->
<property name="visible">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="action-name">app.record</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Toggle record</property>
<child internal-child="accessible">
<object class="AtkObject" id="togglebutton_record-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Record</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkToggleButton" id="togglebutton_chat">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Toggle show chat</property>
<property name="image">image_chat</property>
<child internal-child="accessible">
<object class="AtkObject" id="togglebutton_chat-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Chat</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
<object class="GtkScaleButton" id="scalebutton_quality">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="width-request">42</property>
<property name="height-request">42</property>
<property name="has_tooltip">True</property>
<property name="tooltip-text" translatable="yes">Adjust outgoing video quality (bit/s)</property>
<property name="image">image_quality</property>
<property name="adjustment">adjustment_quality</property>
<child internal-child="accessible">
<object class="AtkObject" id="scalebutton_quality-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">Video quality</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">False</property>
</packing>
</child>
<!-- end of call control button box -->
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<!-- end of box which contains the control buttons -->
</template>
<object class="GtkImage" id="image_chat">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/chat</property>
<child internal-child="accessible">
<object class="AtkObject" id="image_chat-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Chat</property>
</object>
</child>
</object>
<object class="GtkImage" id="image_mute_audio">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/mute_audio</property>
<child internal-child="accessible">
<object class="AtkObject" id="image_mute_audio-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Mute audio</property>
</object>
</child>
</object>
<object class="GtkImage" id="image_mute_video">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/mute_video</property>
<child internal-child="accessible">
<object class="AtkObject" id="image_mute_video-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Mute video</property>
</object>
</child>
</object>
<object class="GtkImage" id="image_pause">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/pause</property>
<child internal-child="accessible">
<object class="AtkObject" id="image_pause-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Hold</property>
</object>
</child>
</object>
<object class="GtkImage" id="image_end">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/end</property>
<child internal-child="accessible">
<object class="AtkObject" id="image_end-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">End call</property>
</object>
</child>
</object>
<object class="GtkImage" id="image_quality">
<property name="visible">True</property>
<property name="resource">/cx/ring/RingGnome/quality</property>
<child internal-child="accessible">
<object class="AtkObject" id="image_quality-atkobject">
<property name="AtkObject::accessible-description" translatable="yes">Video quality</property>
</object>
</child>
</object>
<object class="GtkAdjustment" id="adjustment_quality">
<property name="lower">200</property>
<property name="upper">3000</property>
<property name="value">800</property>
<property name="step_increment">10</property>
<property name="page_increment">50</property>
</object>
</interface>