C# Class HamSketch.UISurface

Inheritance: IDrawable, IMouseTracker, IMoveable
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Properties

Property Type Description
gSurfaces UISurface>.Dictionary

Public Methods

Method Description
ClearToColor ( uint colorref ) : void
CreateSurface ( string title, RECT frame ) : UISurface
Draw ( DrawEvent devent ) : void
Invalidate ( ) : void
Invalidate ( RECT rect ) : void
MoveBy ( int dx, int dy ) : void
MoveTo ( int x, int y ) : void
OnDraw ( DrawEvent devent ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( MouseEventArgs e ) : void
OnMouseHover ( MouseEventArgs e ) : void
OnMouseLeave ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnMovedBy ( int dx, int dy ) : void
OnMovedTo ( int x, int y ) : void
OnMoving ( int dx, int dy ) : void
Validate ( ) : void

Protected Methods

Method Description
UISurface ( string title, RECT frame ) : System
UISurface ( string title, int x, int y, int width, int height, System.Guid uniqueID ) : System

Private Methods

Method Description
UISurface ( ) : System

Method Details

ClearToColor() public method

public ClearToColor ( uint colorref ) : void
colorref uint
return void

CreateSurface() public static method

public static CreateSurface ( string title, RECT frame ) : UISurface
title string
frame RECT
return UISurface

Draw() public method

public Draw ( DrawEvent devent ) : void
devent NewTOAPIA.UI.DrawEvent
return void

Invalidate() public method

public Invalidate ( ) : void
return void

Invalidate() public method

public Invalidate ( RECT rect ) : void
rect RECT
return void

MoveBy() public method

public MoveBy ( int dx, int dy ) : void
dx int
dy int
return void

MoveTo() public method

public MoveTo ( int x, int y ) : void
x int
y int
return void

OnDraw() public method

public OnDraw ( DrawEvent devent ) : void
devent NewTOAPIA.UI.DrawEvent
return void

OnMouseDown() public method

public OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() public method

public OnMouseEnter ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseHover() public method

public OnMouseHover ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseLeave() public method

public OnMouseLeave ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() public method

public OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() public method

public OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() public method

public OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMovedBy() public method

public OnMovedBy ( int dx, int dy ) : void
dx int
dy int
return void

OnMovedTo() public method

public OnMovedTo ( int x, int y ) : void
x int
y int
return void

OnMoving() public method

public OnMoving ( int dx, int dy ) : void
dx int
dy int
return void

UISurface() protected method

protected UISurface ( string title, RECT frame ) : System
title string
frame RECT
return System

UISurface() protected method

protected UISurface ( string title, int x, int y, int width, int height, System.Guid uniqueID ) : System
title string
x int
y int
width int
height int
uniqueID System.Guid
return System

Validate() public method

public Validate ( ) : void
return void

Property Details

gSurfaces public static property

public static Dictionary gSurfaces
return UISurface>.Dictionary