ultimatepp/uppsrc/ScatterCtrl/PopUpText.cpp
cxl 6236d140d4 .Fixing svn directory structure
git-svn-id: svn://ultimatepp.org/upp/trunk@4895 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-01 17:52:29 +00:00

22 lines
405 B
C++

#include "PopUpText.h"
void PopUpInfo::Paint(Draw& w)
{
Size sz = GetSize();
if(!IsTransparent())
w.DrawRect(0, 0, sz.cx, sz.cy, color);
PaintLabel(w, 0, 0, sz.cx, sz.cy, !IsShowEnabled(), false, false, VisibleAccessKeys());
}
PopUpInfo::PopUpInfo(): color(SColorInfo())
{
Transparent(false);
NoWantFocus();
IgnoreMouse();
SetAlign(ALIGN_CENTER);
SetFrame(BlackFrame());
opened = false;
}