C# Class ColorPicker.ColorTable

Inheritance: ColorPicker.LabelRotate
Mostra file Open project: jtorjo/logwizard

Public Properties

Property Type Description
copy_color_to_clipboard bool

Public Methods

Method Description
ColorExist ( Color c ) : bool
ColorTable ( ) : System
ColorTable ( Color colors ) : System
RemoveCustomColor ( ) : void
SetCustomColor ( Color col ) : void
SortColorByBrightness ( ) : void
SortColorByHue ( ) : void
SortColorByValue ( ) : void

Protected Methods

Method Description
OnGotFocus ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
ProcessDialogKey ( Keys keyData ) : bool

Private Methods

Method Description
CompareColorByBrightness ( Color c1, Color c2 ) : int
CompareColorByHue ( Color c1, Color c2 ) : int
CompareColorByValue ( Color c1, Color c2 ) : int
GetIndex ( int row, int col ) : int
GetIndexFromMousePos ( int x, int y ) : int
GetRectangle ( int index ) : Rectangle
GetRectangle ( int row, int col ) : Rectangle
GetRowCol ( int index, int &row, int &col ) : void
GetSelectedItemRect ( ) : Rectangle
SetIndex ( int index ) : void
color_to_str ( Color c ) : string

Method Details

ColorExist() public method

public ColorExist ( Color c ) : bool
c Color
return bool

ColorTable() public method

public ColorTable ( ) : System
return System

ColorTable() public method

public ColorTable ( Color colors ) : System
colors Color
return System

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDown() protected method

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

OnMouseMove() protected method

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

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

ProcessDialogKey() protected method

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
return bool

RemoveCustomColor() public method

public RemoveCustomColor ( ) : void
return void

SetCustomColor() public method

public SetCustomColor ( Color col ) : void
col Color
return void

SortColorByBrightness() public method

public SortColorByBrightness ( ) : void
return void

SortColorByHue() public method

public SortColorByHue ( ) : void
return void

SortColorByValue() public method

public SortColorByValue ( ) : void
return void

Property Details

copy_color_to_clipboard public_oe static_oe property

public static bool copy_color_to_clipboard
return bool