Fields
canvas_mono_color
#public static Color canvas_mono_color
If canvas_mono is set to true, this colour specified the solid background fill for the canvas.
palette_error_selected
#Errors, selected palette. Default background for parameters and components that carry errors.
palette_error_standard
#Errors, unselected palette. Default background for parameters and components that carry errors.
palette_locked_selected
#Locked, selected palette. Default background for locked parameters and components.
palette_locked_standard
#Locked, unselected palette. Default background for locked parameters and components.
palette_normal_standard
#Normal, unselected palette. Default background for parameters and components.
palette_warning_selected
#Warnings, selected palette. Default background for parameters and components that carry warnings.
palette_warning_standard
#Warnings, unselected palette. Default background for parameters and components that carry warnings.
wire_selected_a
#public static Color wire_selected_a
Specifies the colour for wires at the selected end.
wire_selected_b
#public static Color wire_selected_b
Specifies the colour for wires at the unselected end.
zui_edge_highlight
#public static Color zui_edge_highlight
Specifies the default edge colour for highlighted ZUI elements.
zui_fill_highlight
#public static Color zui_fill_highlight
Specifies the default fill colour for highlighted ZUI elements.
Methods
DefaultPalette
#[EditorBrowsable(EditorBrowsableState.Never)]
public static GH_Palette DefaultPalette(IGH_ActiveObject obj)
obsoleteThis method is now available on GH_CapsuleRenderEngine
Get the default palette as implied by the object state. Locked and Hidden flags are ignored.
Parameters:
| obj (IGH_ActiveObject) |
LoadSkin
#public static void LoadSkin()
Instantiate all palette and gui defaults. This function reads the colour values out of grasshopper_gui.xml settings database if it exists.
SaveSkin
#public static void SaveSkin()
Store all palette and gui defaults. This function writes the colour values out to grasshopper_gui.xml settings database.