Skip to content

Commit

Permalink
Add RtNeuralMulti plug
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Mar 10, 2024
1 parent 4f51a41 commit 3d0c685
Show file tree
Hide file tree
Showing 10 changed files with 1,123 additions and 49 deletions.
289 changes: 289 additions & 0 deletions trunk/src/gx_head/builder/mrtneural_ui.glade
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.40.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<requires lib="gxwidgets" version="0.0"/>
<object class="GtkWindow" id="window1">
<property name="can-focus">False</property>
<child>
<object class="GtkBox" id="vbox1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="minibox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="spacing">4</property>
<child>
<object class="GxHSlider">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="var-id">mrtneural.input</property>
<property name="show-value">False</property>
<property name="label-ref">master_label</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="master_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<style>
<class name="rack_label"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="rackbox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
<!-- n-columns=4 n-rows=5 -->
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="column-spacing">30</property>
<property name="column-homogeneous">True</property>
<child>
<object class="GxMidKnob">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="var-id">mrtneural.input</property>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
<property name="height">2</property>
</packing>
</child>
<child>
<object class="GxMidKnob">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="var-id">mrtneural.output</property>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">3</property>
<property name="height">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">340</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="margin-bottom">10</property>
<property name="ellipsize">end</property>
<property name="max-width-chars">56</property>
<signal name="notify::label" handler="mrtneural.afile" swapped="no"/>
<style>
<class name="rack_label"/>
<class name="gx_rack_box_label"/>
</style>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
<property name="width">4</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="input_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Input</property>
<style>
<class name="rack_label"/>
</style>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="output_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Output</property>
<style>
<class name="rack_label"/>
</style>
</object>
<packing>
<property name="left-attach">2</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkLabel">
<property name="width-request">340</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
<property name="margin-bottom">10</property>
<property name="ellipsize">end</property>
<property name="max-width-chars">56</property>
<signal name="notify" handler="mrtneural.bfile" swapped="no"/>
<style>
<class name="rack_label"/>
<class name="gx_rack_box_label"/>
</style>
</object>
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
<property name="width">4</property>
</packing>
</child>
<child>
<object class="GxSmallKnobR">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="var-id">mrtneural.mix</property>
</object>
<packing>
<property name="left-attach">3</property>
<property name="top-attach">3</property>
<property name="height">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="output_label1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Blend A/B</property>
<style>
<class name="rack_label"/>
</style>
</object>
<packing>
<property name="left-attach">3</property>
<property name="top-attach">2</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="valign">center</property>
<property name="margin-top">40</property>
<property name="orientation">vertical</property>
<property name="homogeneous">True</property>
<child>
<object class="GxSwitch" id="fload1">
<property name="label" translatable="yes">Load A</property>
<property name="name">fload</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
<property name="tooltip-text" translatable="yes">Load *.json file</property>
<property name="halign">center</property>
<property name="valign">end</property>
<property name="margin-left">3</property>
<property name="margin-right">3</property>
<property name="margin-start">3</property>
<property name="margin-end">3</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<property name="draw-indicator">True</property>
<property name="base-name">fbutton</property>
<signal name="toggled" handler="rtneural:load_json_file mrtneural.loadafile" swapped="no"/>
<style>
<class name="gx_effect_on_off"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GxSwitch" id="fload">
<property name="label" translatable="yes">Load B</property>
<property name="name">fload</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">False</property>
<property name="tooltip-text" translatable="yes">Load *.json file</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="margin-left">3</property>
<property name="margin-right">3</property>
<property name="margin-start">3</property>
<property name="margin-end">3</property>
<property name="margin-top">10</property>
<property name="margin-bottom">10</property>
<property name="draw-indicator">True</property>
<property name="base-name">fbutton</property>
<signal name="toggled" handler="rtneural:load_json_file mrtneural.loadbfile" swapped="no"/>
<style>
<class name="gx_effect_on_off"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="left-attach">1</property>
<property name="top-attach">3</property>
<property name="height">2</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</interface>
Loading

0 comments on commit 3d0c685

Please sign in to comment.