-
Notifications
You must be signed in to change notification settings - Fork 6
Tooltips
Base Controls - Containers - ✔Tooltips
- Clickables - Checkables - ListBox - InputBox - Mouse Cursor - ControlTree
This is another major child object, directly derived from _baseControl, and all controls are also a child of this.
The Label
, TextButton
, ImageButton
and the InputBox
can show a tooltip when the mouse hovers over them.
They extend the variables by these entries:
tooltip_text |
The text to display as tooltip. This value follows the same rules as the text property!If it starts with = , it will be resolved through LG Localization
|
tooltip_object |
The object to use to display the tooltip. Tooltip is the default Tooltip object of raptor but you can derive your own tooltip (it must be a child of Tooltip ) to have more feature-rich tooltips displayed |
Here are some examples, what you can achieve with this:
Default Tooltip | Taken from the Example Project |
Simple Icon Tooltip | Taken from a website I made |
Multi-Color Stats Tooltip | Taken from one of my games currently in development |
Base Controls - Containers - ✔Tooltips
- Clickables - Checkables - ListBox - InputBox - Mouse Cursor - ControlTree
Raptor core: Macros ● Logger ● Controllers ● LG Localization ● RACE (The Random Content Engine) ● Savegame System
Game modules: UI Subsystem ● Animation ● StateMachine ● Shaders ● Particle Effects ● Tools, other Objects and Helpers
Back to Repo ● Wiki Home ● Copyright © coldrock.games