C# Class GHud.Device

Inheritance: IDisposable
显示文件 Open project: BGog/GHud Class Usage Examples

Public Properties

Property Type Description
LCD System.Drawing.Bitmap
clear_brush System.Drawing.Brush
clear_color System.Drawing.Color
cur_font int
default_pen System.Drawing.Pen
default_txt_brush System.Drawing.Brush
device int
font_names String[]
font_pt float
graph System.Drawing.Graphics
height int
inverted_clear_brush System.Drawing.Brush
inverted_txt_brush System.Drawing.Brush
is_color bool
modules List
render_hint System.Drawing.Text.TextRenderingHint
sys_font System.Drawing.Font
use_backdrops bool
valid bool
width int

Protected Properties

Property Type Description
connection int
device_type int
last_buttons uint
num_fonts int

Public Methods

Method Description
ClearLCD ( String msg ) : void
Device ( ) : System
DisplayFrame ( ) : void
Dispose ( ) : void
DoButtons ( ) : void
GetRect ( ) : Rectangle
RenderSysString ( String msg, bool invert, Rectangle rect ) : void
isValid ( ) : bool

Protected Methods

Method Description
InitLCD ( ) : void

Method Details

ClearLCD() public method

public ClearLCD ( String msg ) : void
msg String
return void

Device() public method

public Device ( ) : System
return System

DisplayFrame() public method

public DisplayFrame ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DoButtons() public method

public DoButtons ( ) : void
return void

GetRect() public method

public GetRect ( ) : Rectangle
return System.Drawing.Rectangle

InitLCD() protected method

protected InitLCD ( ) : void
return void

RenderSysString() public method

public RenderSysString ( String msg, bool invert, Rectangle rect ) : void
msg String
invert bool
rect System.Drawing.Rectangle
return void

isValid() public method

public isValid ( ) : bool
return bool

Property Details

LCD public_oe property

public Bitmap,System.Drawing LCD
return System.Drawing.Bitmap

clear_brush public_oe property

public Brush,System.Drawing clear_brush
return System.Drawing.Brush

clear_color public_oe property

public Color,System.Drawing clear_color
return System.Drawing.Color

connection protected_oe property

protected int connection
return int

cur_font public_oe property

public int cur_font
return int

default_pen public_oe property

public Pen,System.Drawing default_pen
return System.Drawing.Pen

default_txt_brush public_oe property

public Brush,System.Drawing default_txt_brush
return System.Drawing.Brush

device public_oe property

public int device
return int

device_type protected_oe property

protected int device_type
return int

font_names public_oe property

public String[] font_names
return String[]

font_pt public_oe property

public float font_pt
return float

graph public_oe property

public Graphics,System.Drawing graph
return System.Drawing.Graphics

height public_oe property

public int height
return int

inverted_clear_brush public_oe property

public Brush,System.Drawing inverted_clear_brush
return System.Drawing.Brush

inverted_txt_brush public_oe property

public Brush,System.Drawing inverted_txt_brush
return System.Drawing.Brush

is_color public_oe property

public bool is_color
return bool

last_buttons protected_oe property

protected uint last_buttons
return uint

modules public_oe property

public List modules
return List

num_fonts protected_oe property

protected int num_fonts
return int

render_hint public_oe property

public System.Drawing.Text.TextRenderingHint render_hint
return System.Drawing.Text.TextRenderingHint

sys_font public_oe property

public Font,System.Drawing sys_font
return System.Drawing.Font

use_backdrops public_oe property

public bool use_backdrops
return bool

valid public_oe property

public bool valid
return bool

width public_oe property

public int width
return int