C# Class lw_common.ui.log_view_item_draw_ui

Show file Open project: jtorjo/logwizard Class Usage Examples

Public Properties

Property Type Description
cached_sel List
ignore_selection bool

Private Properties

Property Type Description
bg_color Color
measure_text_width int

Public Methods

Method Description
bg_color ( BrightIdeasSoftware.OLVListItem item, int col_idx, formatted_text format ) : Color
char_size ( Graphics g ) : int
font ( text_part print ) : Font
log_view_item_draw_ui ( log_view parent ) : System
print_bg_color ( BrightIdeasSoftware.OLVListItem item, text_part print ) : Color
print_fg_color ( BrightIdeasSoftware.OLVListItem item, text_part print ) : Color
sel_bg_color ( Color bg ) : Color
set_parent ( log_view parent ) : void
text_offset ( Graphics g, string text, Font override_font = null ) : int
text_width ( Graphics g, string text, Font override_font = null ) : int

Private Methods

Method Description
bg_color ( BrightIdeasSoftware.OLVListItem item ) : Color
measure_text_width ( Graphics g, string text, Font override_font ) : int

Method Details

bg_color() public method

public bg_color ( BrightIdeasSoftware.OLVListItem item, int col_idx, formatted_text format ) : Color
item BrightIdeasSoftware.OLVListItem
col_idx int
format formatted_text
return Color

char_size() public method

public char_size ( Graphics g ) : int
g System.Drawing.Graphics
return int

font() public method

public font ( text_part print ) : Font
print text_part
return System.Drawing.Font

log_view_item_draw_ui() public method

public log_view_item_draw_ui ( log_view parent ) : System
parent log_view
return System

print_bg_color() public method

public print_bg_color ( BrightIdeasSoftware.OLVListItem item, text_part print ) : Color
item BrightIdeasSoftware.OLVListItem
print text_part
return Color

print_fg_color() public method

public print_fg_color ( BrightIdeasSoftware.OLVListItem item, text_part print ) : Color
item BrightIdeasSoftware.OLVListItem
print text_part
return Color

sel_bg_color() public method

public sel_bg_color ( Color bg ) : Color
bg Color
return Color

set_parent() public method

public set_parent ( log_view parent ) : void
parent log_view
return void

text_offset() public method

public text_offset ( Graphics g, string text, Font override_font = null ) : int
g System.Drawing.Graphics
text string
override_font System.Drawing.Font
return int

text_width() public method

public text_width ( Graphics g, string text, Font override_font = null ) : int
g System.Drawing.Graphics
text string
override_font System.Drawing.Font
return int

Property Details

cached_sel public property

public List cached_sel
return List

ignore_selection public property

public bool ignore_selection
return bool