Skin Class |
Skin DLLs must contain a single class that derives from the Skin class.
Namespace: Rhino.Runtime
The Skin type exposes the following members.
| Name | Description | |
|---|---|---|
| ActiveSkin |
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.
| |
| ApplicationName | If you want to provide a custom name for your skin. | |
| MainRhinoIcon | If you want to provide a custom icon for your skin. | |
| Settings |
Gets access to the skin persistent settings.
| |
| SettingsDirectory |
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.
|
| Name | Description | |
|---|---|---|
| DismissBootSplash |
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.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HideSplash | Is called when the splash screen should be hidden. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnBeginLoadAtStartPlugIns | Is called when the first plug-in that loads at start-up is going to be loaded. | |
| OnBeginLoadPlugIn | Is called when a specific plug-in is going to be loaded. | |
| OnBuiltInCommandsRegistered | Is called when built-in commands are registered. | |
| OnEndLoadAtStartPlugIns | Is called after all of the load at start plug-ins have been loaded. | |
| OnEndLoadPlugIn | Is called after each plug-in has been loaded. | |
| OnLicenseCheckCompleted | Is called when the license check is completed. | |
| OnMainFrameWindowCreated | Is called when the main frame window is created. | |
| OpenNewDocument |
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.
| |
| SetBootSplashProgress |
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.
| |
| ShowChooseRecent |
Called when the host requests the Skin's "choose recent" UI.
Default implementation is empty.
| |
| ShowChooseTemplate |
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.
| |
| ShowHelp |
Called when the "help" splash screen should be shown. Default
implementation just calls ShowSplash()
| |
| ShowSplash | Is called when the splash screen should be shown. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |