Changeset 89 for Include/basic/prompt.sbp
- Timestamp:
- Feb 11, 2007, 11:53:12 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/basic/prompt.sbp
r34 r89 519 519 'Circle (x, y), radius [, color] [, start] [, end] [, aspect] [, f] [, color2] 520 520 521 Dim hDC As Long522 Dim hPen As Long, hOldPen As Long523 Dim hBrush As Long, hOldBrush As Long521 Dim hDC As HDC 522 Dim hPen As HPEN, hOldPen As VoidPtr 523 Dim hBrush As HBRUSH, hOldBrush As VoidPtr 524 524 Dim radi2 As Long 525 525 Dim sw As Long … … 540 540 541 541 If Aspect<1 Then 542 radi2= CDbl(radius)*Aspect542 radi2=(CDbl(radius)*Aspect) As Long 543 543 Else 544 544 radi2=radius 545 radius= CDbl(radius)/Aspect545 radius=(CDbl(radius)/Aspect) As Long 546 546 End If 547 547 … … 649 649 End If 650 650 651 Dim hDC As Long652 Dim hPen As Long, hOldPen As Long653 Dim hBrush As Long, hOldBrush As Long651 Dim hDC As HDC 652 Dim hPen As HPEN, hOldPen As VoidPtr 653 Dim hBrush As HBRUSH, hOldBrush As VoidPtr 654 654 655 655 hDC=GetDC(_PromptSys_hWnd) … … 695 695 'PSet (x,y),ColorCode 696 696 697 Dim hDC As Long697 Dim hDC As HDC 698 698 699 699 hDC=GetDC(_PromptSys_hWnd) … … 710 710 'Paint (x,y),BrushColor,LineColor 711 711 712 Dim hDC As Long713 Dim hBrush As Long, hOldBrush As Long714 712 Dim hDC As HDC 713 Dim hBrush As HBRUSH, hOldBrush As VoidPtr 714 715 715 hBrush=CreateSolidBrush(GetBasicColor(BrushColor)) 716 716
Note:
See TracChangeset
for help on using the changeset viewer.