Diff of /trunk/Library/Libname/Function Blocks/VisuFbMaterialSwitch/private/paintSwitchHover/svnobj [r4] .. [r5]  Maximize  Restore

Switch to unified view

a/trunk/Library/Libname/Function Blocks/VisuFbMaterialSwitch/private/paintSwitchHover/svnobj b/trunk/Library/Libname/Function Blocks/VisuFbMaterialSwitch/private/paintSwitchHover/svnobj
1
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
1
Gx_l’!0…jüo)rºæú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
2
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ÐÐ    
2
longTagText
"// Draw SelectionÎbWasElementLookDeactivated := m_pCurrentClientData^.GlobalData.DrawingContext.GetElementLookDeactive();œm_pCurrentClientData^.GlobalData.DrawingContext.SetElementLookDeactive(FALSE);,IF m_bToggleState THEN\   iThumbOffset := TRACK_WIDTH-(THUMB_RAIDUS*2);END_IFjiSelectionRadius := (HEIGHT_PART-(THUMB_RAIDUS*2))/2;piThumbXGap := (WIDTH_PART-TRACK_WIDTH)/2 + iThumbOffset;’iThumbYGap := (HEIGHT_PART-TRACK_HEIGHT)/2+(TRACK_HEIGHT/2)-THUMB_RAIDUS;RthumbPaintRectangle := EffectivePosition;xiSelectionWidth:= TO_INT((iSelectionRadius)*_currentPart)/2;TthumbLook.iLineWidth := iSelectionWidth*2;lthumbLook.dwFillFlags := VisuEnumBrushStyle.BS_HOLLOW;hthumbLook.dwFrameFlags := VisuEnumPenStyle.PS_SOLID;ÖthumbPaintRectangle.m_Points[0].iX := thumbPaintRectangle.m_Points[0].iX + TO_INT(iThumbXGap*_currentPart);ÖthumbPaintRectangle.m_Points[0].iY := thumbPaintRectangle.m_Points[0].iY + TO_INT(iThumbYGap*_currentPart);âthumbPaintRectangle.m_Points[2].iX := thumbPaintRectangle.m_Points[0].iX + TO_INT((THUMB_RAIDUS*2)*_currentPart);âthumbPaintRectangle.m_Points[2].iY := thumbPaintRectangle.m_Points[0].iY + TO_INT((THUMB_RAIDUS*2)*_currentPart); ’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ÐÐ    
3
­7ÚÐ-
ÐÐ  
3
­7ÚÐ-
ÐÐ  
4
­8ÚÐ-ÐÐ  
4
­8ÚÐ-ÐÐ  
5
­9ÚÐ-ÐÐ  
5
­9ÚÐ-ÐÐ  
6
­:ÚÐ-ÐÐ  
6
­:ÚÐ-ÐÐ  
7
­;ÚÐ-ÐÐ  
7
­;ÚÐ-ÐÐ  
...
...
42
­.ÚÐ-2ÐÐ  
42
­.ÚÐ-2ÐÐ  
43
­/ÚÐ-3ÐÐ  
43
­/ÚÐ-3ÐÐ  
44
­4ÚÐ-4ÐÐ  
44
­4ÚÐ-4ÐÐ  
45
­TÚÐ-5ÐÐ  
45
­TÚÐ-5ÐÐ  
46
­ÚÐ-,
46
­ÚÐ-,