GetSystemUpArrow

From Spheriki

Jump to: navigation, search

Get the up-pointing arrow image from Sphere's resources.


Contents

Usage

Image GetSystemUpArrow();
  • Image is returned, which is an image of an arrow pointing upwards.


Examples

The following will load a custom up arrow, unless a certain variable is set:

var useCustomResources = false;
 
// ...
 
var upArrowImage = null;
if (!useCustomResources) {
  upArrowImage = GetSystemUpArrow();
} else {
  upArrowImage = LoadImage("custom_up_arrow.png");
}

In the above, since useCustomResources is set to false, GetSystemUpArrow() will be used to load the default Sphere engine's up arrow image.


Notes

  • Sphere itself does not use this image anywhere. It is provided for convenience.


See also

Personal tools