mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
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:
parent
7662d64e23
commit
9e38d118cf
4 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue