[Libufo-commits] ufo-0.5/src/widgets ulabel.cpp,1.13,1.14
Status: Beta
Brought to you by:
schmidtjf
|
From: Johannes S. <sch...@us...> - 2005-09-15 10:12:14
|
Update of /cvsroot/libufo/ufo-0.5/src/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21489/src/widgets Modified Files: ulabel.cpp Log Message: Added label constructor with buddy argument. Index: ulabel.cpp =================================================================== RCS file: /cvsroot/libufo/ufo-0.5/src/widgets/ulabel.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ulabel.cpp 5 Jul 2005 11:22:29 -0000 1.13 --- ulabel.cpp 15 Sep 2005 10:12:05 -0000 1.14 *************** *** 62,65 **** --- 62,79 ---- } + ULabel::ULabel(const std::string & text, UWidget * buddy) + : UCompound(text) + , m_buddy(buddy) + { + setCssType("label"); + } + + ULabel::ULabel(const std::string & text, UIcon * icon, UWidget * buddy) + : UCompound(text, icon) + , m_buddy(buddy) + { + setCssType("label"); + } + void ULabel::setBuddy(UWidget * buddy) { |