Skip to content

Commit

Permalink
separate hotcues from Play/Cue/Rev
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Sep 27, 2019
1 parent a1bc61c commit 40f4220
Showing 1 changed file with 80 additions and 29 deletions.
109 changes: 80 additions & 29 deletions res/skins/LateNight/deck_row_5_transportLoopJump.xml
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@
</WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Skin],show_intro_outro_cues</ConfigKey>
<BindProperty>visible</BindProperty>
<ConfigKey>[Skin],show_intro_outro_cues</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup><!-- / Intro + Outro -->

Expand All @@ -189,36 +189,101 @@
<SizePolicy>min,min</SizePolicy>
</WidgetGroup>

<WidgetGroup><!-- HotCues, Play, Cue, Reverse -->
<WidgetGroup>
<ObjectName>HotCueGrid</ObjectName>
<Layout>vertical</Layout>
<SizePolicy>f,min</SizePolicy>
<Children>
<WidgetGroup><!-- HotCues 1-4(5), Cue -->
<ObjectName>PlayCueRevHotCues</ObjectName>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">1</SetVariable>
</Template>

<Template src="skin:button_hotcue.xml">
<SetVariable name="number">2</SetVariable>
</Template>

<Template src="skin:button_hotcue.xml">
<SetVariable name="number">3</SetVariable>
</Template>

</Children>
</WidgetGroup>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">6</SetVariable>
</Template>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">7</SetVariable>
</Template>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">4</SetVariable>
<SetVariable name="number">8</SetVariable>
</Template>
</Children>
</WidgetGroup>
<WidgetGroup><Size>0min,2f</Size></WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Skin],show_8_hotcues</ConfigKey>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>

<WidgetGroup><!-- HotCues, Play, Cue, Reverse -->
<Layout>vertical</Layout>
<SizePolicy>f,min</SizePolicy>
<Children>
<WidgetGroup><!-- HotCues 1-4(5), Cue -->
<ObjectName>PlayCueRevHotCues</ObjectName>
<Layout>horizontal</Layout>
<Children>
<WidgetGroup>
<ObjectName>HotCueGrid</ObjectName>
<Layout>vertical</Layout>
<Children>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">1</SetVariable>
</Template>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">2</SetVariable>
</Template>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">3</SetVariable>
</Template>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">4</SetVariable>
</Template>
<WidgetGroup><Size>2f,0min</Size></WidgetGroup>
</Children>
</WidgetGroup>
<WidgetGroup><Size>2f,2f</Size></WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Skin],show_8_hotcues</ConfigKey>
<Transform><Not/></Transform>
<BindProperty>visible</BindProperty>
</Connection>
</WidgetGroup>
<WidgetGroup>
<Layout>horizontal</Layout>
<ObjectName>HotCueGrid</ObjectName>
<Layout>vertical</Layout>
<Children>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">5</SetVariable>
</Template>
<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">4</SetVariable>
</Template>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">5</SetVariable>
</Template>
<WidgetGroup><Size>2f,0min</Size></WidgetGroup>
</Children>
</WidgetGroup>
<WidgetGroup><Size>2f,2f</Size></WidgetGroup>
</Children>
<Connection>
<ConfigKey>[Skin],show_8_hotcues</ConfigKey>
Expand All @@ -245,22 +310,8 @@
<ObjectName>PlayCueRevHotCues</ObjectName>
<Layout>horizontal</Layout>
<Children>

<WidgetGroup>
<Layout>horizontal</Layout>
<Children>
<Template src="skin:button_hotcue.xml">
<SetVariable name="number">6</SetVariable>
</Template>

<Template src="skin:button_hotcue.xml">
<SetVariable name="number">7</SetVariable>
</Template>

<Template src="skin:button_hotcue.xml">
<SetVariable name="number">8</SetVariable>
</Template>
</Children>
<Size>2f,0min</Size>
<Connection>
<ConfigKey>[Skin],show_8_hotcues</ConfigKey>
<BindProperty>visible</BindProperty>
Expand Down

0 comments on commit 40f4220

Please sign in to comment.