Tooltips - coldrockgames/gml-raptor GitHub Wiki

You are here:

Base Controls - Containers - ✔Tooltips - Clickables - Checkables - ListBox - InputBox - Mouse Cursor - ControlTree


Controls With Tooltip

Every raptor object, that is a child of _raptorTooltipBase (so are all UI-controls), can show a tooltip.

image

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
image
Simple Icon Tooltip Taken from a website I made
image
Multi-Color Stats Tooltip Taken from one of my games currently in development
image

You are here:

Base Controls - Containers - ✔Tooltips - Clickables - Checkables - ListBox - InputBox - Mouse Cursor - ControlTree

⚠️ **GitHub.com Fallback** ⚠️