GeonBit.UI Documentation
Resources Class |
A static class to init and store all UI resources (textures, effects, fonts, etc.)
Inheritance Hierarchy
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.
Properties
Name | Description | |
---|---|---|
ArrowDown | Arrow-down texture (used in dropdown). | |
ArrowUp | Arrow-up texture (used in dropdown). | |
HorizontalLineTexture | HorizontalLine texture. | |
IconBackgroundTexture | Icons inventory background texture. | |
ProgressBarFillTexture | ProgressBar fill texture. | |
ProgressBarTexture | ProgressBar texture. | |
VerticalScrollbarMarkTexture | Vertical scrollbar mark texture. | |
VerticalScrollbarTexture | Vertical scrollbar base texture. | |
WhiteTexture | Just a plain white texture, used internally. |
Methods
Name | Description | |
---|---|---|
LoadContent |
Load all GeonBit.UI resources.
|
Fields
Name | Description | |
---|---|---|
ButtonData | Metadata about button textures. | |
ButtonTextures | Button textures (accessed as [skin, state]). | |
CheckBoxTextures | CheckBox textures. | |
Cursors | Cursor textures. | |
CursorsData | Metadata about cursor textures. | |
DisabledEffect | Effect for disabled entities (greyscale). | |
Fonts | Default font types. | |
IconTextures | All icon textures. | |
PanelData | Metadata about panel textures. | |
PanelTextures | All panel skin textures. | |
ProgressBarData | Metadata about progressbar texture. | |
RadioTextures | Radio button textures. | |
SilhouetteEffect | An effect to draw just a silhouette of the texture. | |
SliderData | Metadata about slider textures. | |
SliderMarkTextures | Sliders mark textures (the sliding piece that shows current value). | |
SliderTextures | Sliders base textures. | |
VerticalScrollbarData | Metadata about scrollbar texture. |
See Also