GeonBit.UI Documentation
GeonBit.UI Namespace |
GeonBit.UI is part of the GeonBit project, and provide a simple yet extensive UI framework for MonoGame based projects.
This is the main GeonBit.UI namespace. It contains the UserInterface manager and other important helpers.
Classes
Class | Description | |
---|---|---|
DrawUtils |
Helper class with drawing-related functionality.
| |
InputHelper |
Provide easier keyboard and mouse access, keyboard text input, and other user input utils.
| |
Resources |
A static class to init and store all UI resources (textures, effects, fonts, etc.)
| |
TexturesGetterTEnum |
A class to get texture with index and constant path part.
Used internally.
| |
UserInterface |
Main GeonBit.UI class that manage and draw all the UI entities.
This is the main manager you use to update, draw, and add entities to.
|
Delegates
Delegate | Description | |
---|---|---|
DefaultParagraphGenerator |
Callback to generate default paragraph type for internal entities.
| |
EventCallback |
A callback function you can register on entity events, like on-click, on-mouse-leave, etc.
| |
GenerateTooltipFunc |
A function used to generate tooltip entity.
Used when the user points on an entity with a tooltip text and show present it.
|
Enumerations
Enumeration | Description | |
---|---|---|
BuiltinThemes |
Enum with all the built-in themes.
| |
CursorType |
Curser styles / types.
| |
MouseButton |
Supported mouse buttons.
|