--- a
+++ b/trunk/Library/Libname/Function Blocks/VisuFbMaterialSwitch/private/paintSwitchHover/svnobj
@@ -0,0 +1,46 @@
+Gx_l·!0…jüoN}ÆóAÀ·System.StringL{f8a58466-d7f6-439f-bbb8-d4600e41d099}ImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
+longTagText
"// Draw SelectionÎbWasElementLookDeactivated := m_pCurrentClientData^.GlobalData.DrawingContext.GetElementLookDeactive();œm_pCurrentClientData^.GlobalData.DrawingContext.SetElementLookDeactive(FALSE);,IF m_bToggleState THEN:	iThumbOffset := TRACK_WIDTH;END_IFjiSelectionRadius := (HEIGHT_PART-(THUMB_RAIDUS*2))/2;@iThumbXGap := 10 + iThumbOffset;"iThumbYGap := 10;RthumbPaintRectangle := EffectivePosition;tiSelectionWidth:= TO_INT((iSelectionRadius)*_currentPart);PthumbLook.iLineWidth := iSelectionWidth;lthumbLook.dwFillFlags := VisuEnumBrushStyle.BS_HOLLOW;hthumbLook.dwFrameFlags := VisuEnumPenStyle.PS_SOLID;öthumbPaintRectangle.m_Points[0].iX := thumbPaintRectangle.m_Points[0].iX + TO_INT(iThumbXGap*_currentPart)-iSelectionWidth;öthumbPaintRectangle.m_Points[0].iY := thumbPaintRectangle.m_Points[0].iY + TO_INT(iThumbYGap*_currentPart)-iSelectionWidth;ºthumbPaintRectangle.m_Points[2].iX := thumbPaintRectangle.m_Points[0].iX + iSelectionWidth*2;ºthumbPaintRectangle.m_Points[2].iY := thumbPaintRectangle.m_Points[0].iY + iSelectionWidth*2; ’thumbPaintRectangle.m_Points[1].iX := thumbPaintRectangle.m_Points[2].iX;!’thumbPaintRectangle.m_Points[1].iY := thumbPaintRectangle.m_Points[0].iY;"’thumbPaintRectangle.m_Points[3].iX := thumbPaintRectangle.m_Points[0].iX;#’thumbPaintRectangle.m_Points[3].iY := thumbPaintRectangle.m_Points[2].iY;$Êm_pCurrentClientData^.GlobalData.DrawingContext.DrawRectUnchecked2(Rectangle := thumbPaintRectangle, %æ	nType := VisuEnumSimpleType.VISU_ST_CIRCLE, look := thumbLook, colors := ThumbHoverColor, bDrawUnchecked := FALSE,&ä	bTransform := TRUE,pClientdata := m_pCurrentClientData, pPaintBuffer := ADR(m_pCurrentClientData^.PaintBuffer));	'Æm_pCurrentClientData^.GlobalData.DrawingContext.SetElementLookDeactive(bWasElementLookDeactivated);(Interface)L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}*>METHOD PRIVATE paintSwitchHover+VAR_INPUT,END_VAR-VAR.D	bWasElementLookDeactivated: BOOL;/(	iThumbOffset : INT;0$	iThumbXGap : INT;1$	iThumbYGap : INT;2`	thumbPaintRectangle : VisuStructPaintRectangle;3F	thumbLook : VisuStructElementLook;4.	iSelectionRadius: INT;5,	iSelectionWidth: INT;ÐÐÐEÐÐ	
+­7ÚÐ-
ÐÐ	
+­8ÚÐ-ÐÐ	
+­9ÚÐ-ÐÐ	
+­:ÚÐ-ÐÐ	
+­;ÚÐ-ÐÐ	
+­<ÚÐ-ÐÐ	
+­=ÚÐ-ÐÐ	
+­RÚÐ-ÐÐ	
+­>ÚÐ-ÐÐ	
+­?ÚÐ-ÐÐ	
+­@ÚÐ-ÐÐ	
+­XÚÐ-ÐÐ	
+­AÚÐ-ÐÐ	
+­WÚÐ-ÐÐ	
+­BÚÐ-ÐÐ	
+­CÚÐ-ÐÐ	
+­DÚÐ-ÐÐ	
+­EÚÐ-ÐÐ	
+­FÚÐ-ÐÐ	
+­GÚÐ-ÐÐ	
+­HÚÐ-ÐÐ	
+­IÚÐ-ÐÐ	
+­JÚÐ- ÐÐ	
+­KÚÐ-!ÐÐ	
+­LÚÐ-"ÐÐ	
+­MÚÐ-#ÐÐ	
+­NÚÐ-ÐÐ	
+­OÚÐ-$ÐÐ	
+­PÚÐ-%ÐÐ	
+­QÚÐ-&ÐÐ	
+­ÚÐ-'Ð()ÐE
ÐÐ	
+­ÚÐ-*ÐÐ	

ÚÐ-+ÐÐ	
+­ÚÐ-,ÐÐ	
+­ÚÐ--ÐÐ	
+­ÚÐ-.ÐÐ	
+­+ÚÐ-/ÐÐ	
+­-ÚÐ-0ÐÐ	
+­*ÚÐ-1ÐÐ	
+­.ÚÐ-2ÐÐ	
+­/ÚÐ-3ÐÐ	
+­4ÚÐ-4ÐÐ	
+­TÚÐ-5ÐÐ	
+­ÚÐ-,
\ No newline at end of file