Ignore:
Timestamp:
Mar 31, 2009, 2:09:07 PM (15 years ago)
Author:
イグトランス (egtra)
Message:

GDI+をコンパイルできるように修正。FontFamily, Penの追加。サンプルとして、Step 32のGDI+版を制作。
(#56)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/Classes/ActiveBasic/Windows/UI/EventArgs.ab

    r615 r698  
    128128        This.button = button
    129129        This.clicks = clicks
    130         This.pt = New System.Drawing.Point(x, y)
     130        This.pt.X = x
     131        This.pt.Y = y
    131132        This.delta = delta
    132133    End Sub
     
    145146
    146147    Const Function Locale() As System.Drawing.Point
    147         Locale = New System.Drawing.Point(pt.X, pt.Y)
     148        Locale = pt
    148149    End Function
    149150
     
    495496        CreateStruct = pcs
    496497    End Function
     498
     499    Const Function Cancel() As Boolean
     500        Cancel = cancel
     501    End Function
     502
     503    Sub Cancel(c As Boolean)
     504        cancel = c
     505    End Sub
    497506Private
    498507    pcs As *CREATESTRUCT
     508    cancel As Boolean
    499509End Class
    500510
Note: See TracChangeset for help on using the changeset viewer.