GetSystemArrow
From Spheriki
Get the default arrow image used by the Sphere engine.
Contents |
[edit]
Usage
Image GetSystemArrow();
- Image is returned, which is the arrow used by the Sphere engine.
[edit]
Examples
The retrieved arrow image is just like any other image. This example will load the default arrow if a certain variable is true:
var use_default_images = false; var custom_arrow_filename = "arrow.png"; var menu_arrow = null; // ... if (use_default_images) menu_arrow = GetSystemArrow(); else menu_arrow = LoadImage(custom_arrow_filename); // ... // Use menu_arrow as an image down here somewhere.
[edit]
Notes
- The Sphere engine currently doesn't use the arrow anywhere. However, the arrow image is still available by default in all recent Sphere packages.
- The arrow conventionally points to the right, and is positioned to the left of menu items. It is useful as a simple menu cursor image.
[edit]
See also
- Sphere Image object

