CtrlCore, CtrlLib: Tootips and Display popups now can be disabled (app-wide)

git-svn-id: svn://ultimatepp.org/upp/trunk@11551 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-12-12 22:55:13 +00:00
commit 9e38d118cf
4 changed files with 9 additions and 0 deletions

View file

@ -191,6 +191,8 @@ void DisplayPopup::Set(Ctrl *_ctrl, const Rect& _item,
const Value& _value, const Display *_display,
Color _ink, Color _paper, dword _style, int _margin)
{
if(!GUI_ToolTips())
return;
if(item != _item || ctrl != _ctrl || value != _value || display != _display || ink != _ink ||
paper != _paper || style != _style) {
item = _item;