Diff of /trunk/Library/Libname/Function Blocks/VisuFbMaterialSwitch/protected/protPaint/svnobj [000000] .. [r2]  Maximize  Restore

Switch to side-by-side view

--- a
+++ b/trunk/Library/Libname/Function Blocks/VisuFbMaterialSwitch/protected/protPaint/svnobj
@@ -0,0 +1,77 @@
+Gx_l\%!0…jüoa‘W)±µ›í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
 IF VisuFctIsElementToDraw(dwFlags, FALSE) AND NOT EffectiveState.bInvisible THENÐ	bWasElementLookDeactivated := m_pCurrentClientData^.GlobalData.DrawingContext.GetElementLookDeactive();ž	m_pCurrentClientData^.GlobalData.DrawingContext.SetElementLookDeactive(FALSE);6	trackLook.iLineWidth := 1;l	trackLook.dwFillFlags := VisuEnumBrushStyle.BS_SOLID;j	trackLook.dwFrameFlags := VisuEnumPenStyle.PS_SOLID;		IF Hover THEN*		paintSwitchHover();	END_IFT	trackPaintRectangle := EffectivePosition;T	iTrackXGap := (WIDTH_PART-TRACK_WIDTH)/2;X	iTrackYGap := (HEIGHT_PART-TRACK_HEIGHT)/2;Ø	trackPaintRectangle.m_Points[0].iX := trackPaintRectangle.m_Points[0].iX + TO_INT(iTrackXGap*_currentPart);Ø	trackPaintRectangle.m_Points[0].iY := trackPaintRectangle.m_Points[0].iY + TO_INT(iTrackYGap*_currentPart);Ú	trackPaintRectangle.m_Points[2].iX := trackPaintRectangle.m_Points[0].iX + TO_INT(TRACK_WIDTH*_currentPart);Ü	trackPaintRectangle.m_Points[2].iY := trackPaintRectangle.m_Points[0].iY + TO_INT(TRACK_HEIGHT*_currentPart);”	trackPaintRectangle.m_Points[1].iX := trackPaintRectangle.m_Points[2].iX; ”	trackPaintRectangle.m_Points[1].iY := trackPaintRectangle.m_Points[0].iY;!”	trackPaintRectangle.m_Points[3].iX := trackPaintRectangle.m_Points[0].iX;"”	trackPaintRectangle.m_Points[3].iY := trackPaintRectangle.m_Points[2].iY;#d	iRadius := TO_INT((TRACK_HEIGHT/2)*_currentPart);$Ì	m_pCurrentClientData^.GlobalData.DrawingContext.DrawRectUnchecked3(Rectangle := trackPaintRectangle, %V		iRadiusX := iRadius, iRadiusY := iRadius,&æ		nType := VisuEnumSimpleType.VISU_ST_ROUNDRECT, bDrawUnchecked := FALSE, look := trackLook, colors := TrackColor, 'è		bTransform := TRUE,pClientdata := m_pCurrentClientData, pPaintBuffer := ADR(m_pCurrentClientData^.PaintBuffer));		(6	thumbLook.iLineWidth := 1;)l	thumbLook.dwFillFlags := VisuEnumBrushStyle.BS_SOLID;*j	thumbLook.dwFrameFlags := VisuEnumPenStyle.PS_SOLID;+.	IF m_bToggleState THEN,^		iThumbOffset := TRACK_WIDTH-(THUMB_RAIDUS*2);-R	iThumbXGap := iTrackXGap + iThumbOffset;.p	iThumbYGap := iTrackYGap+(TRACK_HEIGHT/2)-THUMB_RAIDUS;/T	thumbPaintRectangle := EffectivePosition;0Ø	thumbPaintRectangle.m_Points[0].iX := thumbPaintRectangle.m_Points[0].iX + TO_INT(iThumbXGap*_currentPart);1Ø	thumbPaintRectangle.m_Points[0].iY := thumbPaintRectangle.m_Points[0].iY + TO_INT(iThumbYGap*_currentPart);2ä	thumbPaintRectangle.m_Points[2].iX := thumbPaintRectangle.m_Points[0].iX + TO_INT((THUMB_RAIDUS*2)*_currentPart);3ä	thumbPaintRectangle.m_Points[2].iY := thumbPaintRectangle.m_Points[0].iY + TO_INT((THUMB_RAIDUS*2)*_currentPart);4”	thumbPaintRectangle.m_Points[1].iX := thumbPaintRectangle.m_Points[2].iX;5”	thumbPaintRectangle.m_Points[1].iY := thumbPaintRectangle.m_Points[0].iY;6”	thumbPaintRectangle.m_Points[3].iX := thumbPaintRectangle.m_Points[0].iX;7”	thumbPaintRectangle.m_Points[3].iY := thumbPaintRectangle.m_Points[2].iY;8Ì	m_pCurrentClientData^.GlobalData.DrawingContext.DrawRectUnchecked2(Rectangle := thumbPaintRectangle, 9Þ		nType := VisuEnumSimpleType.VISU_ST_CIRCLE, look := thumbLook, colors := ThumbColor, bDrawUnchecked := FALSE,:		;È	m_pCurrentClientData^.GlobalData.DrawingContext.SetElementLookDeactive(bWasElementLookDeactivated);<END_IF=Interface>L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}?.METHOD protPaint : BOOL@VAR_INPUTA"	dwFlags : DWORD;BEND_VARCVAR D`	trackPaintRectangle : VisuStructPaintRectangle;EF	trackLook : VisuStructElementLook;F`	thumbPaintRectangle : VisuStructPaintRectangle;GF	thumbLook : VisuStructElementLook;H$	iTrackXGap : INT;I$	iTrackYGap : INT;J(	iThumbOffset : INT;K$	iThumbXGap : INT;L$	iThumbYGap : INT;M	iRadius: INT;ND	bWasElementLookDeactivated: BOOL;ÐÐÐE9ÐÐ	
+­_ÚÐ-
ÐÐ	
+­dÚÐ-ÐÐ	
+­eÚÐ-ÐÐ	
+­fÚÐ-ÐÐ	
+­+ÚÐ-ÐÐ	
+­,ÚÐ-ÐÐ	
+­-ÚÐ-ÐÐ	
+­3ÚÐ-ÐÐ	
+­`ÚÐ-ÐÐ	
+­aÚÐ-ÐÐ	
+­bÚÐ-ÐÐ	
+­0ÚÐ-ÐÐ	
+­9ÚÐ-ÐÐ	
+­=ÚÐ-ÐÐ	
+­4ÚÐ-ÐÐ	
+­5ÚÐ-ÐÐ	
+­8ÚÐ-ÐÐ	
+­6ÚÐ-ÐÐ	
+­>ÚÐ-ÐÐ	
+­@ÚÐ- ÐÐ	
+­BÚÐ-!ÐÐ	
+­AÚÐ-"ÐÐ	
+­*ÚÐ-#ÐÐ	
+­ÚÐ-$ÐÐ	
+­\ÚÐ-%ÐÐ	
+­ÚÐ-&ÐÐ	
+­ÚÐ-'ÐÐ	
+­#ÚÐ-ÐÐ	
+­$ÚÐ-ÐÐ	
+­.ÚÐ-(ÐÐ	
+­/ÚÐ-)ÐÐ	
+­&ÚÐ-*ÐÐ	
+­QÚÐ-ÐÐ	
+­PÚÐ-+ÐÐ	
+­RÚÐ-,ÐÐ	
+­SÚÐ-ÐÐ	
+­XÚÐ-ÐÐ	
+­WÚÐ--ÐÐ	
+­YÚÐ-.ÐÐ	
+­[ÚÐ-ÐÐ	
+­ZÚÐ-/ÐÐ	
+­DÚÐ-ÐÐ	
+­EÚÐ-0ÐÐ	
+­FÚÐ-1ÐÐ	
+­GÚÐ-2ÐÐ	
+­HÚÐ-3ÐÐ	
+­IÚÐ-4ÐÐ	
+­JÚÐ-5ÐÐ	
+­KÚÐ-6ÐÐ	
+­CÚÐ-7ÐÐ	
+­LÚÐ-ÐÐ	
+­ÚÐ-8ÐÐ	
+­ÚÐ-9ÐÐ	
+­]ÚÐ-'ÐÐ	
+­^ÚÐ-:ÐÐ	
+­iÚÐ-;ÐÐ	
+­ÚÐ-<Ð=>ÐEÐÐ	
+­ÚÐ-?ÐÐ	

ÚÐ-@ÐÐ	
+­ÚÐ-AÐÐ	
+­ÚÐ-BÐÐ	
+­ÚÐ-CÐÐ	
+­1ÚÐ-DÐÐ	
+­!ÚÐ-EÐÐ	
+­ÚÐ-FÐÐ	
+­ÚÐ-GÐÐ	
+­;ÚÐ-HÐÐ	
+­<ÚÐ-IÐÐ	
+­NÚÐ-JÐÐ	
+­UÚÐ-KÐÐ	
+­VÚÐ-LÐÐ	
+­cÚÐ-MÐÐ	
+­hÚÐ-NÐÐ	
+­ÚÐ-BÐÐ	
+­ÚÐ-
\ No newline at end of file