Click or drag to resize

Skin Class

Represents a customized environment that changes the appearance of Rhino.

Skin DLLs must contain a single class that derives from the Skin class.

Inheritance Hierarchy
SystemObject
  Rhino.RuntimeSkin

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract class Skin

The Skin type exposes the following members.

Constructors
  NameDescription
Protected methodSkin
Initializes a new instance of the Skin class.
Top
Properties
  NameDescription
Public propertyStatic memberActiveSkin
Any time Rhino is running there is at most one skin being used (and possibly no skin). If a RhinoCommon based Skin class is being used, use ActiveSkin to get at the instance of this Skin class. May return null if no Skin is being used or if the skin is not a RhinoCommon based skin.
Protected propertyApplicationName
If you want to provide a custom name for your skin.
Protected propertyMainRhinoIcon
If you want to provide a custom icon for your skin.
Public propertySettings
Gets access to the skin persistent settings.
Public propertySettingsDirectory
Get the skin's settings directory. This is the directory where the skin's persistent settings files are saved, matching the location used by Settings. Note, this does not verify the directory exists.
Top
Methods
  NameDescription
Protected methodStatic memberDismissBootSplash
Tells the platform's boot splash to dismiss, if one is up. Call this from a Skin subclass once its own window is on screen. No-op on platforms that have no boot splash.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHideSplash
Is called when the splash screen should be hidden.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnBeginLoadAtStartPlugIns
Is called when the first plug-in that loads at start-up is going to be loaded.
Protected methodOnBeginLoadPlugIn
Is called when a specific plug-in is going to be loaded.
Protected methodOnBuiltInCommandsRegistered
Is called when built-in commands are registered.
Protected methodOnEndLoadAtStartPlugIns
Is called after all of the load at start plug-ins have been loaded.
Protected methodOnEndLoadPlugIn
Is called after each plug-in has been loaded.
Protected methodOnLicenseCheckCompleted
Is called when the license check is completed.
Protected methodOnMainFrameWindowCreated
Is called when the main frame window is created.
Protected methodStatic memberOpenNewDocument
Creates a new RhinoDoc from the given template (or a blank document when the path is null/empty/missing) and brings up its document window. Must be called on the main UI thread.
Protected methodStatic memberSetBootSplashProgress
Pushes a progress value to the platform's boot splash so it can paint a progress bar. The value is treated as a percentage and clamped to 0..100 on the native side. No-op on platforms that have no boot splash, and harmless if the splash is already gone.
Protected methodShowChooseRecent
Called when the host requests the Skin's "choose recent" UI. Default implementation is empty.
Protected methodShowChooseTemplate
Called when the host requests the Skin's "choose template" UI (e.g. from the File > New Using Template menu item). Default implementation is empty.
Protected methodShowHelp
Called when the "help" splash screen should be shown. Default implementation just calls ShowSplash()
Protected methodShowSplash
Is called when the splash screen should be shown.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also