diff options
Diffstat (limited to 'res/skins/LateNight/controls/knob_with_label.xml')
-rw-r--r-- | res/skins/LateNight/controls/knob_with_label.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/res/skins/LateNight/controls/knob_with_label.xml b/res/skins/LateNight/controls/knob_with_label.xml new file mode 100644 index 0000000000..57346b0d46 --- /dev/null +++ b/res/skins/LateNight/controls/knob_with_label.xml @@ -0,0 +1,62 @@ +<!DOCTYPE template> +<!-- + Description: + A standard knob. + Variables: + group + control: The control to connect to + TooltipId + Size: + Label: text shown below the knob + PotiMinAngle + PotiMaxAngle +--> +<Template> + <WidgetGroup> + <ObjectName>AlignCenter</ObjectName> + <Layout>vertical</Layout> + <SizePolicy>min,min</SizePolicy> + <Children> + <WidgetGroup> + <ObjectName>KnobCentered</ObjectName> + <Layout>horizontal</Layout> + <Children> + <KnobComposed> + <TooltipId><Variable name="TooltipId"/></TooltipId> + <Size><Variable name="Size"/></Size> + <Knob>skin:/<Variable name="KnobScheme"/>/knobs/knob_indicator_<Variable name="KnobIndicator"/>_<Variable name="KnobColor"/>.svg</Knob> + <BackPath>skin:/<Variable name="KnobScheme"/>/knobs/knob_bg_<Variable name="KnobBg"/>.svg</BackPath> + <MinAngle><Variable name="PotiMinAngle"/></MinAngle> + <MaxAngle><Variable name="PotiMaxAngle"/></MaxAngle> + <ArcRadius><Variable name="ArcRadius"/></ArcRadius> + <ArcUnipolar><Variable name="ArcUnipolar"/></ArcUnipolar> + <ArcReversed><Variable name="ArcReversed"/></ArcReversed> + <ArcColor><Variable name="ArcColor"/></ArcColor> + <ArcBgColor><Variable name="ArcBgColor"/></ArcBgColor> + <ArcThickness><Variable name="ArcThickness"/></ArcThickness> + <ArcBgThickness><Variable name="ArcBgThickness"/></ArcBgThickness> + <ArcRoundCaps><Variable name="ArcRoundCaps"/></ArcRoundCaps> + <KnobCenterYOffset>1.998</KnobCenterYOffset> + <Connection> + <ConfigKey><Variable name="Group"/>,<Variable name="Control"/></ConfigKey> + </Connection> + </KnobComposed> + </Children> + </WidgetGroup> + + <WidgetGroup> + <ObjectName>AlignCenter</ObjectName> + <Layout>horizontal</Layout> + <Children> + <Label> + <ObjectName>KnobLabel</ObjectName> + <SizePolicy>max,min</SizePolicy> + <Text><Variable name="Label"/></Text> + <Alignment>center</Alignment> + </Label> + </Children> + </WidgetGroup> + + </Children> + </WidgetGroup> +</Template> |