C# Class SCSharp.UI.UIElement

Datei anzeigen Open project: kangaroo/scsharp Class Usage Examples

Public Methods

Method Description
MouseButtonDown ( SdlDotNet.Input.MouseButtonEventArgs args ) : void
MouseButtonUp ( SdlDotNet.Input.MouseButtonEventArgs args ) : void
MouseEnter ( ) : void
MouseLeave ( ) : void
MouseWheel ( SdlDotNet.Input.MouseButtonEventArgs args ) : void
OnActivate ( ) : void
OnMouseEnter ( ) : void
OnMouseLeave ( ) : void
Paint ( System.DateTime now ) : void
PointInside ( int x, int y ) : bool
PointerMotion ( SdlDotNet.Input.MouseMotionEventArgs args ) : void
UIElement ( SCSharp.UI.UIScreen screen, BinElement el, byte palette ) : System
UIElement ( SCSharp.UI.UIScreen screen, ushort x1, ushort y1 ) : System
UIElement ( SCSharp.UI.UIScreen screen, ushort x1, ushort y1, ushort width, ushort height ) : System

Protected Methods

Method Description
CreateSurface ( ) : SdlDotNet.Graphics.Surface
Invalidate ( ) : void

Method Details

CreateSurface() protected method

protected CreateSurface ( ) : SdlDotNet.Graphics.Surface
return SdlDotNet.Graphics.Surface

Invalidate() protected method

protected Invalidate ( ) : void
return void

MouseButtonDown() public method

public MouseButtonDown ( SdlDotNet.Input.MouseButtonEventArgs args ) : void
args SdlDotNet.Input.MouseButtonEventArgs
return void

MouseButtonUp() public method

public MouseButtonUp ( SdlDotNet.Input.MouseButtonEventArgs args ) : void
args SdlDotNet.Input.MouseButtonEventArgs
return void

MouseEnter() public method

public MouseEnter ( ) : void
return void

MouseLeave() public method

public MouseLeave ( ) : void
return void

MouseWheel() public method

public MouseWheel ( SdlDotNet.Input.MouseButtonEventArgs args ) : void
args SdlDotNet.Input.MouseButtonEventArgs
return void

OnActivate() public method

public OnActivate ( ) : void
return void

OnMouseEnter() public method

public OnMouseEnter ( ) : void
return void

OnMouseLeave() public method

public OnMouseLeave ( ) : void
return void

Paint() public method

public Paint ( System.DateTime now ) : void
now System.DateTime
return void

PointInside() public method

public PointInside ( int x, int y ) : bool
x int
y int
return bool

PointerMotion() public method

public PointerMotion ( SdlDotNet.Input.MouseMotionEventArgs args ) : void
args SdlDotNet.Input.MouseMotionEventArgs
return void

UIElement() public method

public UIElement ( SCSharp.UI.UIScreen screen, BinElement el, byte palette ) : System
screen SCSharp.UI.UIScreen
el BinElement
palette byte
return System

UIElement() public method

public UIElement ( SCSharp.UI.UIScreen screen, ushort x1, ushort y1 ) : System
screen SCSharp.UI.UIScreen
x1 ushort
y1 ushort
return System

UIElement() public method

public UIElement ( SCSharp.UI.UIScreen screen, ushort x1, ushort y1, ushort width, ushort height ) : System
screen SCSharp.UI.UIScreen
x1 ushort
y1 ushort
width ushort
height ushort
return System