Public Member Functions | |
TFuncGUI () | |
void | Clear (Color c1, Color c2) |
void | SetMarkingBorders (int markingLineStart, int markingLineEnd) |
void | SetMarkingArea (int start, int end, Color color) |
void | RepositionGradientBorder (int index, int mousePos) |
void | CreateColorArea (double start, double end) |
void | DisableMarkingBorders () |
void | DisableColorArea () |
int | MouseOverGradientBorder (int mouseX, int[] borders) |
void | RemoveGradientBorder (int selectedGradientBorderIndex) |
Color | GetColorOf (int selectedGradientBorderIndex) |
void | UpdateGradientBorder (int selectedGradientBorderIndex, Color gradientColor) |
void | GenerateTexture (Effect effect, String shaderTextureTarget) |
Protected Member Functions | |
override void | OnPaint (PaintEventArgs e) |
Properties | |
bool | ConstantColorMode [get, set] |
int | HoveredGradientBorderIndex [set] |
int | SelectedGradientBorderIndex [set] |
bool | IsFileLoaded [get, set] |
Device | Device [get, set] |
int | GradientBorderCount [get, set] |
Private Member Functions | |
void | DrawGradients (Graphics g) |
void | DrawGradientBorders (Graphics g) |
bool | True () |
Private Attributes | |
int | height = 30 |
float | width = 0 |
int | lineStart = -1 |
int | lineEnd = -1 |
int | selStart = -1 |
int | selEnd = -1 |
int | hovGradient = -1 |
int | selGradient = -1 |
int | gradientCount = 2 |
bool | isDataLoaded = false |
Rectangle | textureRect = new Rectangle(0, 0, 4096, 1) |
Device | device = null |
float | transferTextureWidth = 4096f |
SortedList | gradientColors = new SortedList() |
bool | constantColorMode = false |
Pen | linePen = new Pen(Color.FromArgb(128, Color.Turquoise)) |
Pen | gradientBorderPen = new Pen(Color.FromArgb(128, Color.Turquoise)) |
Pen | selectedGradientBorderPen = new Pen(Color.FromArgb(192, Color.White)) |
Pen | hoveredGradientBorderPen = new Pen(Color.FromArgb(128, Color.White)) |
Pen | backgroundRasterPen = new Pen(Color.FromArgb(55,55,55)) |
SolidBrush | gradientBrush = new SolidBrush(Color.FromArgb(128, Color.White)) |
Flowvis.TFuncGUI.TFuncGUI | ( | ) |
void Flowvis.TFuncGUI.Clear | ( | Color | c1, | |
Color | c2 | |||
) |
void Flowvis.TFuncGUI.SetMarkingBorders | ( | int | markingLineStart, | |
int | markingLineEnd | |||
) |
void Flowvis.TFuncGUI.SetMarkingArea | ( | int | start, | |
int | end, | |||
Color | color | |||
) |
void Flowvis.TFuncGUI.RepositionGradientBorder | ( | int | index, | |
int | mousePos | |||
) |
void Flowvis.TFuncGUI.CreateColorArea | ( | double | start, | |
double | end | |||
) |
void Flowvis.TFuncGUI.DisableMarkingBorders | ( | ) |
void Flowvis.TFuncGUI.DisableColorArea | ( | ) |
int Flowvis.TFuncGUI.MouseOverGradientBorder | ( | int | mouseX, | |
int[] | borders | |||
) |
void Flowvis.TFuncGUI.RemoveGradientBorder | ( | int | selectedGradientBorderIndex | ) |
Color Flowvis.TFuncGUI.GetColorOf | ( | int | selectedGradientBorderIndex | ) |
void Flowvis.TFuncGUI.UpdateGradientBorder | ( | int | selectedGradientBorderIndex, | |
Color | gradientColor | |||
) |
void Flowvis.TFuncGUI.GenerateTexture | ( | Effect | effect, | |
String | shaderTextureTarget | |||
) |
void Flowvis.TFuncGUI.DrawGradients | ( | Graphics | g | ) | [private] |
void Flowvis.TFuncGUI.DrawGradientBorders | ( | Graphics | g | ) | [private] |
override void Flowvis.TFuncGUI.OnPaint | ( | PaintEventArgs | e | ) | [protected] |
bool Flowvis.TFuncGUI.True | ( | ) | [private] |
int Flowvis.TFuncGUI.height = 30 [private] |
float Flowvis.TFuncGUI.width = 0 [private] |
int Flowvis.TFuncGUI.lineStart = -1 [private] |
int Flowvis.TFuncGUI.lineEnd = -1 [private] |
int Flowvis.TFuncGUI.selStart = -1 [private] |
int Flowvis.TFuncGUI.selEnd = -1 [private] |
int Flowvis.TFuncGUI.hovGradient = -1 [private] |
int Flowvis.TFuncGUI.selGradient = -1 [private] |
int Flowvis.TFuncGUI.gradientCount = 2 [private] |
bool Flowvis.TFuncGUI.isDataLoaded = false [private] |
Rectangle Flowvis.TFuncGUI.textureRect = new Rectangle(0, 0, 4096, 1) [private] |
Device Flowvis.TFuncGUI.device = null [private] |
float Flowvis.TFuncGUI.transferTextureWidth = 4096f [private] |
SortedList Flowvis.TFuncGUI.gradientColors = new SortedList() [private] |
bool Flowvis.TFuncGUI.constantColorMode = false [private] |
Pen Flowvis.TFuncGUI.linePen = new Pen(Color.FromArgb(128, Color.Turquoise)) [private] |
Pen Flowvis.TFuncGUI.gradientBorderPen = new Pen(Color.FromArgb(128, Color.Turquoise)) [private] |
Pen Flowvis.TFuncGUI.selectedGradientBorderPen = new Pen(Color.FromArgb(192, Color.White)) [private] |
Pen Flowvis.TFuncGUI.hoveredGradientBorderPen = new Pen(Color.FromArgb(128, Color.White)) [private] |
Pen Flowvis.TFuncGUI.backgroundRasterPen = new Pen(Color.FromArgb(55,55,55)) [private] |
SolidBrush Flowvis.TFuncGUI.gradientBrush = new SolidBrush(Color.FromArgb(128, Color.White)) [private] |
bool Flowvis.TFuncGUI.ConstantColorMode [get, set] |
int Flowvis.TFuncGUI.HoveredGradientBorderIndex [set] |
int Flowvis.TFuncGUI.SelectedGradientBorderIndex [set] |
bool Flowvis.TFuncGUI.IsFileLoaded [get, set] |
Device Flowvis.TFuncGUI.Device [get, set] |
int Flowvis.TFuncGUI.GradientBorderCount [get, set] |