Mouse hovering tooltip menu 1.1

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Mouse hovering tooltip menu 1.1

Postby Ivory Duke » Thu Feb 13, 2020 9:50 am

I AM NO LONGER INVOLVED IN DOOM MODDING, YOU ARE FREE TO USE THIS A YOU PLEASE (JUST MENTION MY NAME SOMEWHERE IN THE CREDITS OUT OF CURTESY).
Option menu that shows a short description in a box of the selected menu item following the mouse positions.

Watch the video if you are still unsure of what it is about.


Credits:
- inspired by the tooltip menu by Nash.

Two downloads: one that uses OptionFont and one that uses SmallFont for the toobox.
OPTIONFONT
SMALLFONT

Code: Select allExpand view
Changelog 1.1:
- fixed tooltip not working properly when menus were updated per frame instead of per tic


To customize the box background provide a texture or graphic named TOOLBOX.
It can be anything and of any size, code will adapt it to the size of the frame.
User avatar
Ivory Duke
Retired
 
Joined: 17 Jun 2019

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests