GetSystemDownArrow

From Spheriki

Jump to: navigation, search

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


Contents

Usage

Image GetSystemDownArrow();
  • Image is returned, which is an image of an arrow pointing downwards.


Examples

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

var useCustomResources = false;
 
// ...
 
var downArrowImage = null;
if (!useCustomResources) {
  downArrowImage = GetSystemDownArrow();
} else {
  downArrowImage = LoadImage("custom_down_arrow.png");
}

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


Notes

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


See also

Personal tools