📄 vanilla.looknfeel
字号:
<?xml version="1.0" ?>
<Falagard>
<WidgetLook name="Vanilla/Shared">
<ImagerySection name="Frame">
<FrameComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
<Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
<Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
<Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
<Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
<Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
<Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
<Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
<Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
</FrameComponent>
</ImagerySection>
<ImagerySection name="FrameOnly">
<FrameComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
<Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
<Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
<Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
<Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
<Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
<Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
<Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
</FrameComponent>
</ImagerySection>
<ImagerySection name="BackgroundOnly">
<FrameComponent>
<Area>
<Dim type="LeftEdge"><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
<Dim type="TopEdge"><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
<Dim type="RightEdge">
<UnifiedDim scale="1" type="RightEdge">
<DimOperator op="Subtract">
<ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
</DimOperator>
</UnifiedDim>
</Dim>
<Dim type="BottomEdge">
<UnifiedDim scale="1" type="BottomEdge">
<DimOperator op="Subtract">
<ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
</DimOperator>
</UnifiedDim>
</Dim>
</Area>
<Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
</FrameComponent>
</ImagerySection>
<ImagerySection name="BackgroundOnlyFull">
<FrameComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
</FrameComponent>
</ImagerySection>
</WidgetLook>
<WidgetLook name="Vanilla/Titlebar">
<PropertyDefinition name="CaptionColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
<ImagerySection name="caption">
<TextComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<ColourProperty name="CaptionColour" />
<VertFormat type="CentreAligned" />
<HorzFormat type="CentreAligned" />
</TextComponent>
</ImagerySection>
<StateImagery name="Active">
<Layer>
<Section section="caption" />
</Layer>
</StateImagery>
<StateImagery name="Inactive">
<Layer>
<Section section="caption" />
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section section="caption" />
</Layer>
</StateImagery>
</WidgetLook>
<WidgetLook name="Vanilla/Button">
<PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
<PropertyDefinition name="HoverTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
<PropertyDefinition name="PushedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
<PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
<Property name="WantsMultiClickEvents" value="False" />
<ImagerySection name="label">
<TextComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="-4" type="BottomEdge" /></Dim>
</Area>
<VertFormat type="CentreAligned" />
<HorzFormat type="WordWrapCentreAligned" />
</TextComponent>
</ImagerySection>
<StateImagery name="Normal">
<Layer>
<Section look="Vanilla/Shared" section="Frame">
<Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
</Section>
<Section section="label">
<ColourProperty name="NormalTextColour" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="Hover">
<Layer>
<Section look="Vanilla/Shared" section="Frame">
<Colours topLeft="FF9F9F9F" topRight="FF9F9F9F" bottomLeft="FF9F9F9F" bottomRight="FF9F9F9F" />
</Section>
<Section section="label">
<ColourProperty name="HoverTextColour" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="Pushed">
<Layer>
<Section look="Vanilla/Shared" section="Frame">
<Colours topLeft="FF6F6F6F" topRight="FF6F6F6F" bottomLeft="FF6F6F6F" bottomRight="FF6F6F6F" />
</Section>
<Section section="label">
<ColourProperty name="PushedTextColour" />
</Section>
</Layer>
</StateImagery>
<StateImagery name="Disabled">
<Layer>
<Section look="Vanilla/Shared" section="Frame">
<Colours topLeft="FF3F3F3F" topRight="FF3F3F3F" bottomLeft="FF3F3F3F" bottomRight="FF3F3F3F" />
</Section>
<Section section="label">
<ColourProperty name="DisabledTextColour" />
</Section>
</Layer>
</StateImagery>
</WidgetLook>
<WidgetLook name="Vanilla/FrameWindow">
<PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FFFFFFFF" />
<PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
<Property name="NSSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
<Property name="EWSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
<Property name="NWSESizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
<Property name="NESWSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
<Property name="RollUpEnabled" value="False" />
<NamedArea name="ClientWithTitleWithFrame">
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
<Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
</Area>
</NamedArea>
<NamedArea name="ClientWithTitleNoFrame">
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
</NamedArea>
<NamedArea name="ClientNoTitleWithFrame">
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="7" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
</Area>
</NamedArea>
<NamedArea name="ClientNoTitleNoFrame">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
</Area>
</NamedArea>
<Child type="Vanilla/Titlebar" nameSuffix="__auto_titlebar__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
<Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
<Dim type="Height" ><FontDim type="LineSpacing" padding="14" /></Dim>
</Area>
<Property name="AlwaysOnTop" value="False" />
</Child>
<Child type="Vanilla/Button" nameSuffix="__auto_closebutton__">
<Area>
<Dim type="LeftEdge" ><AbsoluteDim value="-7" /></Dim>
<Dim type="TopEdge" ><AbsoluteDim value="7" /></Dim>
<Dim type="Width" ><AbsoluteDim value="7" /></Dim>
<Dim type="Height" ><AbsoluteDim value="7" /></Dim>
</Area>
<HorzAlignment type="RightAligned" />
<Property name="AlwaysOnTop" value="True" />
</Child>
<ImagerySection name="withtitle_frame">
<FrameComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
<Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
<Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
<Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
<Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
<Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
<Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
<Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
<Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
<Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
</FrameComponent>
</ImagerySection>
<ImagerySection name="notitle_frame">
<FrameComponent>
<Area>
<Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
<Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
<Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
</Area>
<Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
<Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
<Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
<Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
<Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
<Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
<Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
<Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
<Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
<Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -