C# 클래스 GHud.DisplayModule

상속: IDisposable
파일 보기 프로젝트 열기: BGog/GHud 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
active bool
companion_mod DisplayModule
font_pt float
height int
is_target_type_module bool
modid int
name string
width int
xoff int
yoff int

보호된 프로퍼티들

프로퍼티 타입 설명
back_rect_brush System.Drawing.Drawing2D.LinearGradientBrush
back_rect_c1 System.Drawing.Color
back_rect_c2 System.Drawing.Color
curfont System.Drawing.Font
dev Device
fmt_center System.Drawing.StringFormat
fmt_default System.Drawing.StringFormat
fmt_left System.Drawing.StringFormat
fmt_right System.Drawing.StringFormat
line_offset float
max_lab_width int
max_suffix_width int
orb_obj_name String
orbit Orbit
selectable bool
two_column_labeled_offsets int[]
two_column_offsets int[]

공개 메소드들

메소드 설명
Activate ( ) : void
Clear ( ) : void
Deactivate ( ) : void
DisplayModule ( Device argdev ) : System
DisplayModuleName ( ) : void
Dispose ( ) : void
FillRectGradient ( Rectangle rect, float pct1, Color c1, Color c2, float pct2, Color c3, Color c4 ) : void
ModuleMsg ( String msg, Rectangle rect, bool invert = false ) : void
Render ( Rectangle rect ) : void
SetOrbit ( Orbit argorbit, String obj_name = "Unknown" ) : void
TestRender ( Rectangle rect ) : void

보호된 메소드들

메소드 설명
CalcColumns ( System font ) : void
RenderString ( String str, int line, int column, int &c_offsets, StringFormat fmt, System style = System.Drawing.FontStyle.Regular, bool back_rect = false, float cur_font_pt = 0.0f, float xoffset = 0.0f, float yoffset = 0.0f ) : void
ResetBackRectBrush ( ) : void

메소드 상세

Activate() 공개 메소드

public Activate ( ) : void
리턴 void

CalcColumns() 보호된 메소드

protected CalcColumns ( System font ) : void
font System
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Deactivate() 공개 메소드

public Deactivate ( ) : void
리턴 void

DisplayModule() 공개 메소드

public DisplayModule ( Device argdev ) : System
argdev Device
리턴 System

DisplayModuleName() 공개 메소드

public DisplayModuleName ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FillRectGradient() 공개 메소드

public FillRectGradient ( Rectangle rect, float pct1, Color c1, Color c2, float pct2, Color c3, Color c4 ) : void
rect System.Drawing.Rectangle
pct1 float
c1 Color
c2 Color
pct2 float
c3 Color
c4 Color
리턴 void

ModuleMsg() 공개 메소드

public ModuleMsg ( String msg, Rectangle rect, bool invert = false ) : void
msg String
rect System.Drawing.Rectangle
invert bool
리턴 void

Render() 공개 메소드

public Render ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

RenderString() 보호된 메소드

protected RenderString ( String str, int line, int column, int &c_offsets, StringFormat fmt, System style = System.Drawing.FontStyle.Regular, bool back_rect = false, float cur_font_pt = 0.0f, float xoffset = 0.0f, float yoffset = 0.0f ) : void
str String
line int
column int
c_offsets int
fmt System.Drawing.StringFormat
style System
back_rect bool
cur_font_pt float
xoffset float
yoffset float
리턴 void

ResetBackRectBrush() 보호된 메소드

protected ResetBackRectBrush ( ) : void
리턴 void

SetOrbit() 공개 메소드

public SetOrbit ( Orbit argorbit, String obj_name = "Unknown" ) : void
argorbit Orbit
obj_name String
리턴 void

TestRender() 공개 메소드

public TestRender ( Rectangle rect ) : void
rect System.Drawing.Rectangle
리턴 void

프로퍼티 상세

active 공개적으로 프로퍼티

public bool active
리턴 bool

back_rect_brush 보호되어 있는 프로퍼티

protected System.Drawing.Drawing2D.LinearGradientBrush back_rect_brush
리턴 System.Drawing.Drawing2D.LinearGradientBrush

back_rect_c1 보호되어 있는 프로퍼티

protected Color,System.Drawing back_rect_c1
리턴 System.Drawing.Color

back_rect_c2 보호되어 있는 프로퍼티

protected Color,System.Drawing back_rect_c2
리턴 System.Drawing.Color

companion_mod 공개적으로 프로퍼티

public DisplayModule,GHud companion_mod
리턴 DisplayModule

curfont 보호되어 있는 프로퍼티

protected Font,System.Drawing curfont
리턴 System.Drawing.Font

dev 보호되어 있는 프로퍼티

protected Device,GHud dev
리턴 Device

fmt_center 보호되어 있는 프로퍼티

protected StringFormat,System.Drawing fmt_center
리턴 System.Drawing.StringFormat

fmt_default 보호되어 있는 프로퍼티

protected StringFormat,System.Drawing fmt_default
리턴 System.Drawing.StringFormat

fmt_left 보호되어 있는 프로퍼티

protected StringFormat,System.Drawing fmt_left
리턴 System.Drawing.StringFormat

fmt_right 보호되어 있는 프로퍼티

protected StringFormat,System.Drawing fmt_right
리턴 System.Drawing.StringFormat

font_pt 공개적으로 프로퍼티

public float font_pt
리턴 float

height 공개적으로 프로퍼티

public int height
리턴 int

is_target_type_module 공개적으로 프로퍼티

public bool is_target_type_module
리턴 bool

line_offset 보호되어 있는 프로퍼티

protected float line_offset
리턴 float

max_lab_width 보호되어 있는 프로퍼티

protected int max_lab_width
리턴 int

max_suffix_width 보호되어 있는 프로퍼티

protected int max_suffix_width
리턴 int

modid 공개적으로 프로퍼티

public int modid
리턴 int

name 공개적으로 프로퍼티

public string name
리턴 string

orb_obj_name 보호되어 있는 프로퍼티

protected String orb_obj_name
리턴 String

orbit 보호되어 있는 프로퍼티

protected Orbit orbit
리턴 Orbit

selectable 보호되어 있는 프로퍼티

protected bool selectable
리턴 bool

two_column_labeled_offsets 보호되어 있는 프로퍼티

protected int[] two_column_labeled_offsets
리턴 int[]

two_column_offsets 보호되어 있는 프로퍼티

protected int[] two_column_offsets
리턴 int[]

width 공개적으로 프로퍼티

public int width
리턴 int

xoff 공개적으로 프로퍼티

public int xoff
리턴 int

yoff 공개적으로 프로퍼티

public int yoff
리턴 int