mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Experimenting with a tooltips API
Found several limitations: - Tooltip timming can not be properly set on imgui mode - Tooltip underlap to controls drawn after current control Still, a quite interesting feature for further analysis.
This commit is contained in:
@ -160,7 +160,9 @@ int main()
|
||||
|
||||
GuiSetStyle(BUTTON, TEXT_ALIGNMENT, GUI_TEXT_ALIGN_CENTER);
|
||||
|
||||
GuiSetTooltip("Save current file.");
|
||||
if (GuiButton((Rectangle){ 25, 255, 125, 30 }, GuiIconText(RICON_FILE_SAVE, "Save File"))) showTextInputBox = true;
|
||||
GuiClearTooltip();
|
||||
|
||||
GuiGroupBox((Rectangle){ 25, 310, 125, 150 }, "STATES");
|
||||
GuiLock();
|
||||
|
||||
Reference in New Issue
Block a user