GH_Skin

public module GH_Skin
Provides static access to typical Palletes and other GUI colours.

Fields

canvas_back

#
Specifies canvas background colour.
public static Color canvas_back

canvas_edge

#
Specifies canvas edge colour.
public static Color canvas_edge

canvas_grid

#
Specifies canvas grid colour.
public static Color canvas_grid

canvas_grid_col

#
Specifies the interval of the canvas grid columns.
public static int canvas_grid_col

canvas_grid_row

#
Specifies the interval of the canvas grid rows.
public static int canvas_grid_row

canvas_mono

#
Canvas monochromatic flag. If True, the canvas background is a solid colour.
public static bool canvas_mono

canvas_mono_color

#
If canvas_mono is set to true, this colour specified the solid background fill for the canvas.
public static Color canvas_mono_color

canvas_shade

#
Specifies the colour of the canvas drop shadow.
public static Color canvas_shade

canvas_shade_size

#
Specifies the size of the canvas drop shadow.
public static int canvas_shade_size

group_back

#
Specifies the default fill colour for Group objects.
public static Color group_back

palette_black_selected

#
Black palette, selected.
public static GH_PaletteStyle palette_black_selected

palette_black_standard

#
Black palette, unselected.
public static GH_PaletteStyle palette_black_standard

palette_blue_selected

#
Blue palette, selected.
public static GH_PaletteStyle palette_blue_selected

palette_blue_standard

#
Blue palette, unselected.
public static GH_PaletteStyle palette_blue_standard

palette_brown_selected

#
Brown palette, selected.
public static GH_PaletteStyle palette_brown_selected

palette_brown_standard

#
Brown palette, unselected.
public static GH_PaletteStyle palette_brown_standard

palette_error_selected

#
Errors, selected palette. Default background for parameters and components that carry errors.
public static GH_PaletteStyle palette_error_selected

palette_error_standard

#
Errors, unselected palette. Default background for parameters and components that carry errors.
public static GH_PaletteStyle palette_error_standard

palette_grey_selected

#
Grey palette, selected.
public static GH_PaletteStyle palette_grey_selected

palette_grey_standard

#
Grey palette, unselected.
public static GH_PaletteStyle palette_grey_standard

palette_hidden_selected

#
Hidden, selected palette. Default background for PanelHidden (preview=off) parameters and components.
public static GH_PaletteStyle palette_hidden_selected

palette_hidden_standard

#
Hidden, unselected palette. Default background for PanelHidden (preview=off) parameters and components.
public static GH_PaletteStyle palette_hidden_standard

palette_locked_selected

#
Locked, selected palette. Default background for locked parameters and components.
public static GH_PaletteStyle palette_locked_selected

palette_locked_standard

#
Locked, unselected palette. Default background for locked parameters and components.
public static GH_PaletteStyle palette_locked_standard

palette_normal_selected

#
Normal, selected palette. Default background for parameters and components.
public static GH_PaletteStyle palette_normal_selected

palette_normal_standard

#
Normal, unselected palette. Default background for parameters and components.
public static GH_PaletteStyle palette_normal_standard

palette_pink_selected

#
Pink palette, selected.
public static GH_PaletteStyle palette_pink_selected

palette_pink_standard

#
Pink palette, unselected.
public static GH_PaletteStyle palette_pink_standard

palette_trans_selected

#
Transparent palette, selected.
public static GH_PaletteStyle palette_trans_selected

palette_trans_standard

#
Transparent palette, unselected.
public static GH_PaletteStyle palette_trans_standard

palette_warning_selected

#
Warnings, selected palette. Default background for parameters and components that carry warnings.
public static GH_PaletteStyle palette_warning_selected

palette_warning_standard

#
Warnings, unselected palette. Default background for parameters and components that carry warnings.
public static GH_PaletteStyle palette_warning_standard

palette_white_selected

#
White palette, selected.
public static GH_PaletteStyle palette_white_selected

palette_white_standard

#
White palette, unselected.
public static GH_PaletteStyle palette_white_standard

panel_back

#
Specifies the default fill colour for Panel objects.
public static Color panel_back

wire_default

#
Specifies the default wire colour.
public static Color wire_default

wire_empty

#
Specifies the colour for empty (null) wires.
public static Color wire_empty

wire_selected_a

#
Specifies the colour for wires at the selected end.
public static Color wire_selected_a

wire_selected_b

#
Specifies the colour for wires at the unselected end.
public static Color wire_selected_b

zui_edge

#
Specifies the default edge colour for ZUI elements.
public static Color zui_edge

zui_edge_highlight

#
Specifies the default edge colour for highlighted ZUI elements.
public static Color zui_edge_highlight

zui_fill

#
Specifies the default fill colour for ZUI elements.
public static Color zui_fill

zui_fill_highlight

#
Specifies the default fill colour for highlighted ZUI elements.
public static Color zui_fill_highlight

Methods

DefaultPalette

#
Get the default palette as implied by the object state. Locked and Hidden flags are ignored.
[EditorBrowsable(EditorBrowsableState.Never)] public static GH_Palette DefaultPalette()
obsoleteThis method is now available on GH_CapsuleRenderEngine

LoadSkin

#
Instantiate all palette and gui defaults. This function reads the colour values out of grasshopper_gui.xml settings database if it exists.
public static void LoadSkin()

SaveSkin

#
Store all palette and gui defaults. This function writes the colour values out to grasshopper_gui.xml settings database.
public static void SaveSkin()