Skip to content

Commit

Permalink
maximize library and the possibility for layouts added
Browse files Browse the repository at this point in the history
now we have three levels for customizing:

1. the viewport can have many different screens (layouts)

2. a screen (layout) can have many different units (rows)

3. a unit (row) can have many different devices (group of widgets)
  • Loading branch information
22degrees committed Nov 11, 2017
1 parent 839a77f commit 7152d39
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 145 deletions.
160 changes: 160 additions & 0 deletions screen/first.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<!DOCTYPE template>
<Template>

<!--
**************************************************************************************
FIRST SCREEN BEGIN
**************************************************************************************
-->
<Template src="skin:unit/menubar/index.xml"/>

<Template src="skin:unit/waveform/index.xml">
<SetVariable name="Number1">1</SetVariable>
<SetVariable name="Widget1">[Deck1]</SetVariable>
<SetVariable name="Group1">[Channel1]</SetVariable>
<SetVariable name="Align1">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor1">#d4ddd7</SetVariable>
<SetVariable name="SignalMidColor1">#a4aba6</SetVariable>
<SetVariable name="SignalLowColor1">#737875</SetVariable>
<SetVariable name="MarkRangeColor1">#417587</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#979a9c</SetVariable>

<SetVariable name="Number2">2</SetVariable>
<SetVariable name="Widget2">[Deck2]</SetVariable>
<SetVariable name="Group2">[Channel2]</SetVariable>
<SetVariable name="Align2">top</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor2">#9ab0b5</SetVariable>
<SetVariable name="SignalMidColor2">#7c9297</SetVariable>
<SetVariable name="SignalLowColor2">#5e7479</SetVariable>
<SetVariable name="MarkRangeColor2">#36457d</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#828590</SetVariable>

<SetVariable name="Number3">3</SetVariable>
<SetVariable name="Widget3">[Deck3]</SetVariable>
<SetVariable name="Group3">[Channel3]</SetVariable>
<SetVariable name="Align3">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor3">#918b74</SetVariable>
<SetVariable name="SignalMidColor3">#736d56</SetVariable>
<SetVariable name="SignalLowColor3">#554f38</SetVariable>
<SetVariable name="MarkRangeColor3">#5e5c26</SetVariable>
<SetVariable name="MarkRangeDisabledColor3">#6d6c5c</SetVariable>

<SetVariable name="Number4">4</SetVariable>
<SetVariable name="Widget4">[Deck4]</SetVariable>
<SetVariable name="Group4">[Channel4]</SetVariable>
<SetVariable name="Align4">top</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor4">#776a54</SetVariable>
<SetVariable name="SignalMidColor4">#594c36</SetVariable>
<SetVariable name="SignalLowColor4">#3b2e18</SetVariable>
<SetVariable name="MarkRangeColor4">#4d431b</SetVariable>
<SetVariable name="MarkRangeDisabledColor4">#595546</SetVariable>
</Template>

<Template src="skin:unit/deck/index.xml">
<SetVariable name="Number1">1</SetVariable>
<SetVariable name="Widget1">[Deck1]</SetVariable>
<SetVariable name="Group1">[Channel1]</SetVariable>
<SetVariable name="Align1">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor1">#d4ddd7</SetVariable>
<SetVariable name="SignalMidColor1">#a4aba6</SetVariable>
<SetVariable name="SignalLowColor1">#737875</SetVariable>
<SetVariable name="MarkRangeColor1">#417587</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#979a9c</SetVariable>

<SetVariable name="Number2">2</SetVariable>
<SetVariable name="Widget2">[Deck2]</SetVariable>
<SetVariable name="Group2">[Channel2]</SetVariable>
<SetVariable name="Align2">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor2">#9ab0b5</SetVariable>
<SetVariable name="SignalMidColor2">#7c9297</SetVariable>
<SetVariable name="SignalLowColor2">#5e7479</SetVariable>
<SetVariable name="MarkRangeColor2">#36457d</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#828590</SetVariable>

<SetVariable name="Number3">1</SetVariable>
<SetVariable name="Widget3">[Mixer1]</SetVariable>

<SetVariable name="Widget4">[DeckRow1]</SetVariable>
</Template>

<Template src="skin:unit/deck/index.xml">
<SetVariable name="Number1">3</SetVariable>
<SetVariable name="Widget1">[Deck3]</SetVariable>
<SetVariable name="Group1">[Channel3]</SetVariable>
<SetVariable name="Align1">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor1">#918b74</SetVariable>
<SetVariable name="SignalMidColor1">#736d56</SetVariable>
<SetVariable name="SignalLowColor1">#554f38</SetVariable>
<SetVariable name="MarkRangeColor1">#5e5c26</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#6d6c5c</SetVariable>

<SetVariable name="Number2">4</SetVariable>
<SetVariable name="Widget2">[Deck4]</SetVariable>
<SetVariable name="Group2">[Channel4]</SetVariable>
<SetVariable name="Align2">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor2">#776a54</SetVariable>
<SetVariable name="SignalMidColor2">#594c36</SetVariable>
<SetVariable name="SignalLowColor2">#3b2e18</SetVariable>
<SetVariable name="MarkRangeColor2">#4d431b</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#595546</SetVariable>

<SetVariable name="Number3">2</SetVariable>
<SetVariable name="Widget3">[Mixer2]</SetVariable>

<SetVariable name="Widget4">[DeckRow2]</SetVariable>
</Template>

<Template src="skin:unit/vinylcontrol/index.xml"/>

<Template src="skin:unit/microphone/index.xml"/>

<Template src="skin:unit/sampler/index.xml">
<SetVariable name="Number1">1</SetVariable>
<SetVariable name="Widget1">[Sampler1]</SetVariable>
<SetVariable name="Group1">[Sampler1]</SetVariable>
<SetVariable name="SignalHighColor1">#d4ddd7</SetVariable>
<SetVariable name="SignalMidColor1">#a4aba6</SetVariable>
<SetVariable name="SignalLowColor1">#737875</SetVariable>
<SetVariable name="MarkRangeColor1">#417587</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#979a9c</SetVariable>

<SetVariable name="Number2">2</SetVariable>
<SetVariable name="Widget2">[Sampler2]</SetVariable>
<SetVariable name="Group2">[Sampler2]</SetVariable>
<SetVariable name="SignalHighColor2">#9ab0b5</SetVariable>
<SetVariable name="SignalMidColor2">#7c9297</SetVariable>
<SetVariable name="SignalLowColor2">#5e7479</SetVariable>
<SetVariable name="MarkRangeColor2">#36457d</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#828590</SetVariable>

<SetVariable name="Number3">3</SetVariable>
<SetVariable name="Widget3">[Sampler3]</SetVariable>
<SetVariable name="Group3">[Sampler3]</SetVariable>
<SetVariable name="SignalHighColor3">#918b74</SetVariable>
<SetVariable name="SignalMidColor3">#736d56</SetVariable>
<SetVariable name="SignalLowColor3">#554f38</SetVariable>
<SetVariable name="MarkRangeColor3">#5e5c26</SetVariable>
<SetVariable name="MarkRangeDisabledColor3">#6d6c5c</SetVariable>

<SetVariable name="Number4">4</SetVariable>
<SetVariable name="Widget4">[Sampler4]</SetVariable>
<SetVariable name="Group4">[Sampler4]</SetVariable>
<SetVariable name="SignalHighColor4">#776a54</SetVariable>
<SetVariable name="SignalMidColor4">#594c36</SetVariable>
<SetVariable name="SignalLowColor4">#3b2e18</SetVariable>
<SetVariable name="MarkRangeColor4">#4d431b</SetVariable>
<SetVariable name="MarkRangeDisabledColor4">#595546</SetVariable>
</Template>

<Template src="skin:unit/effect/index.xml">
<SetVariable name="EffectRackNumber">1</SetVariable>
</Template>

<Template src="skin:unit/library/index.xml"/>
<!--
**************************************************************************************
FIRST SCREEN END
**************************************************************************************
-->

</Template>
46 changes: 46 additions & 0 deletions screen/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE template>
<Template>

<!--
**************************************************************************************
SCREEN INDEX BEGIN
**************************************************************************************
-->
<WidgetStack>
<!--
<NextControl>[Master],maximize_library</NextControl>
<PrevControl>[Channel1],hotcuepage_prev</PrevControl>
-->
<Children>

<WidgetGroup>
<MinimumSize>1024,-1</MinimumSize>
<SizePolicy>me,me</SizePolicy>
<Layout>vertical</Layout>
<Children>

<Template src="skin:screen/first.xml"/>

</Children>
</WidgetGroup>

<WidgetGroup trigger="[Master],maximize_library">
<MinimumSize>1024,-1</MinimumSize>
<SizePolicy>me,me</SizePolicy>
<Layout>vertical</Layout>
<Children>

<Template src="skin:screen/second.xml"/>

</Children>
</WidgetGroup>

</Children>
</WidgetStack>
<!--
**************************************************************************************
SCREEN INDEX END
**************************************************************************************
-->

</Template>
16 changes: 16 additions & 0 deletions screen/second.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE template>
<Template>

<!--
**************************************************************************************
FIRST SCREEN BEGIN
**************************************************************************************
-->
<Template src="skin:unit/library/index.xml"/>
<!--
**************************************************************************************
FIRST SCREEN END
**************************************************************************************
-->

</Template>
146 changes: 1 addition & 145 deletions skin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,151 +102,7 @@
<Layout>vertical</Layout>
<Children>

<Template src="skin:unit/menubar/index.xml"/>

<Template src="skin:unit/waveform/index.xml">
<SetVariable name="Number1">1</SetVariable>
<SetVariable name="Widget1">[Deck1]</SetVariable>
<SetVariable name="Group1">[Channel1]</SetVariable>
<SetVariable name="Align1">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor1">#d4ddd7</SetVariable>
<SetVariable name="SignalMidColor1">#a4aba6</SetVariable>
<SetVariable name="SignalLowColor1">#737875</SetVariable>
<SetVariable name="MarkRangeColor1">#417587</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#979a9c</SetVariable>

<SetVariable name="Number2">2</SetVariable>
<SetVariable name="Widget2">[Deck2]</SetVariable>
<SetVariable name="Group2">[Channel2]</SetVariable>
<SetVariable name="Align2">top</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor2">#9ab0b5</SetVariable>
<SetVariable name="SignalMidColor2">#7c9297</SetVariable>
<SetVariable name="SignalLowColor2">#5e7479</SetVariable>
<SetVariable name="MarkRangeColor2">#36457d</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#828590</SetVariable>

<SetVariable name="Number3">3</SetVariable>
<SetVariable name="Widget3">[Deck3]</SetVariable>
<SetVariable name="Group3">[Channel3]</SetVariable>
<SetVariable name="Align3">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor3">#918b74</SetVariable>
<SetVariable name="SignalMidColor3">#736d56</SetVariable>
<SetVariable name="SignalLowColor3">#554f38</SetVariable>
<SetVariable name="MarkRangeColor3">#5e5c26</SetVariable>
<SetVariable name="MarkRangeDisabledColor3">#6d6c5c</SetVariable>

<SetVariable name="Number4">4</SetVariable>
<SetVariable name="Widget4">[Deck4]</SetVariable>
<SetVariable name="Group4">[Channel4]</SetVariable>
<SetVariable name="Align4">top</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor4">#776a54</SetVariable>
<SetVariable name="SignalMidColor4">#594c36</SetVariable>
<SetVariable name="SignalLowColor4">#3b2e18</SetVariable>
<SetVariable name="MarkRangeColor4">#4d431b</SetVariable>
<SetVariable name="MarkRangeDisabledColor4">#595546</SetVariable>
</Template>

<Template src="skin:unit/deck/index.xml">
<SetVariable name="Number1">1</SetVariable>
<SetVariable name="Widget1">[Deck1]</SetVariable>
<SetVariable name="Group1">[Channel1]</SetVariable>
<SetVariable name="Align1">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor1">#d4ddd7</SetVariable>
<SetVariable name="SignalMidColor1">#a4aba6</SetVariable>
<SetVariable name="SignalLowColor1">#737875</SetVariable>
<SetVariable name="MarkRangeColor1">#417587</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#979a9c</SetVariable>

<SetVariable name="Number2">2</SetVariable>
<SetVariable name="Widget2">[Deck2]</SetVariable>
<SetVariable name="Group2">[Channel2]</SetVariable>
<SetVariable name="Align2">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor2">#9ab0b5</SetVariable>
<SetVariable name="SignalMidColor2">#7c9297</SetVariable>
<SetVariable name="SignalLowColor2">#5e7479</SetVariable>
<SetVariable name="MarkRangeColor2">#36457d</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#828590</SetVariable>

<SetVariable name="Number3">1</SetVariable>
<SetVariable name="Widget3">[Mixer1]</SetVariable>

<SetVariable name="Widget4">[DeckRow1]</SetVariable>
</Template>

<Template src="skin:unit/deck/index.xml">
<SetVariable name="Number1">3</SetVariable>
<SetVariable name="Widget1">[Deck3]</SetVariable>
<SetVariable name="Group1">[Channel3]</SetVariable>
<SetVariable name="Align1">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor1">#918b74</SetVariable>
<SetVariable name="SignalMidColor1">#736d56</SetVariable>
<SetVariable name="SignalLowColor1">#554f38</SetVariable>
<SetVariable name="MarkRangeColor1">#5e5c26</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#6d6c5c</SetVariable>

<SetVariable name="Number2">4</SetVariable>
<SetVariable name="Widget2">[Deck4]</SetVariable>
<SetVariable name="Group2">[Channel4]</SetVariable>
<SetVariable name="Align2">bottom</SetVariable> <!-- Values: top/center/bottom -->
<SetVariable name="SignalHighColor2">#776a54</SetVariable>
<SetVariable name="SignalMidColor2">#594c36</SetVariable>
<SetVariable name="SignalLowColor2">#3b2e18</SetVariable>
<SetVariable name="MarkRangeColor2">#4d431b</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#595546</SetVariable>

<SetVariable name="Number3">2</SetVariable>
<SetVariable name="Widget3">[Mixer2]</SetVariable>

<SetVariable name="Widget4">[DeckRow2]</SetVariable>
</Template>

<Template src="skin:unit/vinylcontrol/index.xml"/>

<Template src="skin:unit/microphone/index.xml"/>

<Template src="skin:unit/sampler/index.xml">
<SetVariable name="Number1">1</SetVariable>
<SetVariable name="Widget1">[Sampler1]</SetVariable>
<SetVariable name="Group1">[Sampler1]</SetVariable>
<SetVariable name="SignalHighColor1">#d4ddd7</SetVariable>
<SetVariable name="SignalMidColor1">#a4aba6</SetVariable>
<SetVariable name="SignalLowColor1">#737875</SetVariable>
<SetVariable name="MarkRangeColor1">#417587</SetVariable>
<SetVariable name="MarkRangeDisabledColor1">#979a9c</SetVariable>

<SetVariable name="Number2">2</SetVariable>
<SetVariable name="Widget2">[Sampler2]</SetVariable>
<SetVariable name="Group2">[Sampler2]</SetVariable>
<SetVariable name="SignalHighColor2">#9ab0b5</SetVariable>
<SetVariable name="SignalMidColor2">#7c9297</SetVariable>
<SetVariable name="SignalLowColor2">#5e7479</SetVariable>
<SetVariable name="MarkRangeColor2">#36457d</SetVariable>
<SetVariable name="MarkRangeDisabledColor2">#828590</SetVariable>

<SetVariable name="Number3">3</SetVariable>
<SetVariable name="Widget3">[Sampler3]</SetVariable>
<SetVariable name="Group3">[Sampler3]</SetVariable>
<SetVariable name="SignalHighColor3">#918b74</SetVariable>
<SetVariable name="SignalMidColor3">#736d56</SetVariable>
<SetVariable name="SignalLowColor3">#554f38</SetVariable>
<SetVariable name="MarkRangeColor3">#5e5c26</SetVariable>
<SetVariable name="MarkRangeDisabledColor3">#6d6c5c</SetVariable>

<SetVariable name="Number4">4</SetVariable>
<SetVariable name="Widget4">[Sampler4]</SetVariable>
<SetVariable name="Group4">[Sampler4]</SetVariable>
<SetVariable name="SignalHighColor4">#776a54</SetVariable>
<SetVariable name="SignalMidColor4">#594c36</SetVariable>
<SetVariable name="SignalLowColor4">#3b2e18</SetVariable>
<SetVariable name="MarkRangeColor4">#4d431b</SetVariable>
<SetVariable name="MarkRangeDisabledColor4">#595546</SetVariable>
</Template>

<Template src="skin:unit/effect/index.xml">
<SetVariable name="EffectRackNumber">1</SetVariable>
</Template>

<Template src="skin:unit/library/index.xml"/>
<Template src="skin:screen/index.xml"/>

</Children>
</skin>

0 comments on commit 7152d39

Please sign in to comment.