-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12947 from ronso0/late-vinyl-toggle-status
LateNight: merge vinyl control toggle and status light
- Loading branch information
Showing
6 changed files
with
163 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!-- | ||
Description: | ||
A button that has click or display controls. | ||
Variables: | ||
ObjectName : object name | ||
ToolTipID : standard Tooltip from mixxx db | ||
see: https://github.com/mixxxdj/mixxx/blob/master/src/skin/TooltipIds.cpp | ||
Size : button size | ||
state_X_text : label text for state X | ||
state_X_pressed : background graphic for pressed state X | ||
state_X_unpressed : background graphic for unpressed state X | ||
Align : alignment of text | ||
ConfigKey : left-click control | ||
ConfigKeyDisp : display control | ||
--> | ||
<Template> | ||
<PushButton> | ||
<TooltipId><Variable name="TooltipId"/></TooltipId> | ||
<ObjectName><Variable name="ObjectName"/></ObjectName> | ||
<Size><Variable name="Size"/></Size> | ||
<NumberStates>4</NumberStates> | ||
<State> | ||
<Number>0</Number> | ||
<Text><Variable name="state_0_text"/></Text> | ||
<Alignment><Variable name="Align"/></Alignment> | ||
<Unpressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>.svg</Unpressed> | ||
<Pressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Pressed> | ||
</State> | ||
<State> | ||
<Number>1</Number> | ||
<Text><Variable name="state_1_text"/></Text> | ||
<Alignment><Variable name="Align"/></Alignment> | ||
<Unpressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Unpressed> | ||
<Pressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Pressed> | ||
</State> | ||
<State> | ||
<Number>2</Number> | ||
<Text><Variable name="state_2_text"/></Text> | ||
<Alignment><Variable name="Align"/></Alignment> | ||
<Unpressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Unpressed> | ||
<Pressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Pressed> | ||
</State> | ||
<State> | ||
<Number>4</Number> | ||
<Text><Variable name="state_3_text"/></Text> | ||
<Alignment><Variable name="Align"/></Alignment> | ||
<Unpressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Unpressed> | ||
<Pressed scalemode="STRETCH">skin:/<Variable name="BtnScheme"/>/buttons/btn_<Variable name="BtnType"/>_<Variable name="BtnSize"/>_active.svg</Pressed> | ||
</State> | ||
<Connection> | ||
<ConfigKey><Variable name="ConfigKey"/></ConfigKey> | ||
<EmitOnPressAndRelease>true</EmitOnPressAndRelease> | ||
<ButtonState>LeftButton</ButtonState> | ||
</Connection> | ||
<Connection> | ||
<ConfigKey><Variable name="ConfigKeyDisp"/></ConfigKey> | ||
<ConnectValueFromWidget>false</ConnectValueFromWidget> | ||
</Connection> | ||
</PushButton> | ||
</Template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.