However I am somehow screwing up my skin by doing that.
Here is how it looks like with AutoRenderingSurface set to false:
The looknfeel file:
Code: Select all
<WidgetLook name="TaharezLook/FrameWindow">
<PropertyDefinition name="ClientAreaColour" initialValue="4C000000" redrawOnWrite="true" />
<PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FFFFFFFF" />
<PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
<Property name="NSSizingCursorImage" value="set:TaharezLook image:MouseNoSoCursor" />
<Property name="EWSizingCursorImage" value="set:TaharezLook image:MouseEsWeCursor" />
<Property name="NWSESizingCursorImage" value="set:TaharezLook image:MouseNwSeCursor" />
<Property name="NESWSizingCursorImage" value="set:TaharezLook image:MouseNeSwCursor" />
<Property name="UnifiedMinSize" value="{{0.1,0},{0.1,0}}" />
<Property name="AutoRenderingSurface" value="False" />
And here is how it looks like with AutoRenderingSurface set to true:
The looknfeel file:
Code: Select all
<WidgetLook name="TaharezLook/FrameWindow">
<PropertyDefinition name="ClientAreaColour" initialValue="4C000000" redrawOnWrite="true" />
<PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FFFFFFFF" />
<PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
<Property name="NSSizingCursorImage" value="set:TaharezLook image:MouseNoSoCursor" />
<Property name="EWSizingCursorImage" value="set:TaharezLook image:MouseEsWeCursor" />
<Property name="NWSESizingCursorImage" value="set:TaharezLook image:MouseNwSeCursor" />
<Property name="NESWSizingCursorImage" value="set:TaharezLook image:MouseNeSwCursor" />
<Property name="UnifiedMinSize" value="{{0.1,0},{0.1,0}}" />
<Property name="AutoRenderingSurface" value="True" />
I am basically loosing the half transparency (the "4C" set as areacolour seems to be somehow replaced by "00") and the text seems to display without anti-aliasing. So I was wondering if I am doing something wrong in there?