Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 32 additions & 11 deletions res/skins/LateNight/button_hotcue.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
<!-- A hotcue button. The only variable that needs to be specified is "number" -->
<Template>
<Template src="skin:button_2state_right_display.xml">
<SetVariable name="TooltipId">hotcue</SetVariable>
<SetVariable name="state_0_pressed">hotcue_<Variable name="number"/>_down.svg</SetVariable>
<SetVariable name="state_0_unpressed">hotcue_<Variable name="number"/>.svg</SetVariable>
<SetVariable name="state_1_pressed">hotcue_<Variable name="number"/>_overdown.svg</SetVariable>
<SetVariable name="state_1_unpressed">hotcue_<Variable name="number"/>_over.svg</SetVariable>
<SetVariable name="ConfigKey"><Variable name="group"/>,hotcue_<Variable name="number"/>_activate</SetVariable>
<SetVariable name="ConfigKeyRight"><Variable name="group"/>,hotcue_<Variable name="number"/>_clear</SetVariable>
<SetVariable name="ConfigKeyDisp"><Variable name="group"/>,hotcue_<Variable name="number"/>_enabled</SetVariable>
<SetVariable name="Size">26,26</SetVariable>
</Template>
<PushButton>
<TooltipId>hotcue</TooltipId>
<ObjectName>HotcueButton</ObjectName>
<Size>26f,26f</Size>
<NumberStates>2</NumberStates>
<State>
<Number>0</Number>
<Unpressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_hotcue_<Variable name="number"/>_unset.svg</Unpressed>
<Pressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_hotcue_<Variable name="number"/>_pressed.svg</Pressed>
</State>
<State>
<Number>1</Number>
<Unpressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_hotcue_<Variable name="number"/>.svg</Unpressed>
<Pressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_hotcue_<Variable name="number"/>_pressed.svg</Pressed>
</State>
<Connection>
<ConfigKey><Variable name="group"/>,hotcue_<Variable name="number"/>_activate</ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
<Connection>
<ConfigKey><Variable name="group"/>,hotcue_<Variable name="number"/>_clear</ConfigKey>
<ButtonState>RightButton</ButtonState>
</Connection>
<Connection>
<ConfigKey><Variable name="group"/>,hotcue_<Variable name="number"/>_enabled</ConfigKey>
<ConnectValueFromWidget>false</ConnectValueFromWidget>
</Connection>
<Connection>
<ConfigKey><Variable name="group"/>,hotcue_<Variable name="number"/>_color_id</ConfigKey>
<BindProperty>highlight</BindProperty>
</Connection>
</PushButton>
</Template>
12 changes: 4 additions & 8 deletions res/skins/LateNight/button_special_cue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@ Variables:
<RightClickIsPushButton>true</RightClickIsPushButton>
<State>
<Number>0</Number>
<Text><Variable name="label"/></Text>
<Alignment><Variable name="Align"/></Alignment>
<Pressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_<Variable name="state_0_pressed"/></Pressed>
<Unpressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_<Variable name="state_0_unpressed"/></Unpressed>
<Unpressed scalemode="STRETCH">skin:/buttons/btn_<Variable name="cue_type"/>.svg</Unpressed>
<Pressed scalemode="STRETCH">skin:/buttons/btn_<Variable name="cue_type"/>_pressed.svg</Pressed>
</State>
<State>
<Number>1</Number>
<Text><Variable name="label"/></Text>
<Alignment><Variable name="Align"/></Alignment>
<Pressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_<Variable name="state_1_pressed"/></Pressed>
<Unpressed scalemode="STRETCH_ASPECT">skin:/buttons/btn_<Variable name="state_1_unpressed"/></Unpressed>
<Unpressed scalemode="STRETCH">skin:/buttons/btn_<Variable name="cue_type"/>.svg</Unpressed>
<Pressed scalemode="STRETCH">skin:/buttons/btn_<Variable name="cue_type"/>_pressed.svg</Pressed>
</State>
<Connection>
<ConfigKey><Variable name="group"/>,<Variable name="cue_type"/>_activate</ConfigKey>
Expand Down
1 change: 1 addition & 0 deletions res/skins/LateNight/buttons/btn_cue_N_set.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/skins/LateNight/buttons/btn_cue_over.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion res/skins/LateNight/buttons/btn_hotcue_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion res/skins/LateNight/buttons/btn_hotcue_1_down.svg

This file was deleted.

1 change: 0 additions & 1 deletion res/skins/LateNight/buttons/btn_hotcue_1_over.svg

This file was deleted.

Loading