Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tooltips beginning #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

tooltips beginning #15

wants to merge 2 commits into from

Conversation

swap15
Copy link

@swap15 swap15 commented Jul 23, 2014

Hey,
This is first implementation of the tooltips. I made it how you described some days ago:
TBTooltipManager - global object that check widget on pointer move event with not empty description string and show tool tip for it.
TBWidget now contain virtual methods for get/set description string that showed in tooltips.Also I added string variable that can setted from resource (desc).
TBTooltipWindow - based on TBPopupWindow and contains TBEditFiled with readonly mode for supporting text extensions of TBEditFiled.
I didn't added special windows and tutorials in Demo, except one hint on Clear button in Text Edited window.

TODO:

  • support language system. Widget can return description string from language string table if it not set in resource, for example.
  • support tooltip update, for widgets that can change their description in real time.

@fruxo
Copy link
Owner

fruxo commented Aug 4, 2014

Thanks! I've begun looking at this. It's a good start.

@benvanik
Copy link

@fruxo any chance of getting this merged?

@Cleroth
Copy link
Contributor

Cleroth commented Feb 6, 2016

It's not extremely useful without the language system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants