Click or drag to resize
Resources Class
A static class to init and store all UI resources (textures, effects, fonts, etc.)
Inheritance Hierarchy
SystemObject
  GeonBit.UIResources

Namespace:  GeonBit.UI
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class Resources

The Resources type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetStringForChar
Returns string from char > string lookup
Public methodStatic memberLoadContent
Load all GeonBit.UI resources.
Top
Fields
  NameDescription
Public fieldStatic memberArrowDown
Arrow-down texture (used in dropdown).
Public fieldStatic memberArrowUp
Arrow-up texture (used in dropdown).
Public fieldStatic memberButtonData
Metadata about button textures.
Public fieldStatic memberButtonTextures
Button textures (accessed as [skin, state]).
Public fieldStatic memberCheckBoxTextures
CheckBox textures.
Public fieldStatic memberCursors
Cursor textures.
Public fieldStatic memberCursorsData
Metadata about cursor textures.
Public fieldStatic memberDisabledEffect
Effect for disabled entities (greyscale).
Public fieldStatic memberFonts
Default font types.
Public fieldStatic memberHorizontalLineTexture
HorizontalLine texture.
Public fieldStatic memberIconBackgroundTexture
Icons inventory background texture.
Public fieldStatic memberIconTextures
All icon textures.
Public fieldStatic memberPanelData
Metadata about panel textures.
Public fieldStatic memberPanelTextures
All panel skin textures.
Public fieldStatic memberProgressBarData
Metadata about progressbar texture.
Public fieldStatic memberProgressBarFillTexture
ProgressBar fill texture.
Public fieldStatic memberProgressBarTexture
ProgressBar texture.
Public fieldStatic memberRadioTextures
Radio button textures.
Public fieldStatic memberSilhouetteEffect
An effect to draw just a silhouette of the texture.
Public fieldStatic memberSliderData
Metadata about slider textures.
Public fieldStatic memberSliderMarkTextures
Sliders mark textures (the sliding piece that shows current value).
Public fieldStatic memberSliderTextures
Sliders base textures.
Public fieldStatic memberVerticalScrollbarData
Metadata about scrollbar texture.
Public fieldStatic memberVerticalScrollbarMarkTexture
Vertical scrollbar mark texture.
Public fieldStatic memberVerticalScrollbarTexture
Vertical scrollbar base texture.
Public fieldStatic memberWhiteTexture
Just a plain white texture, used internally.
Top
See Also