mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: StaticText::SetData reverted (backward compatibility problem)
git-svn-id: svn://ultimatepp.org/upp/trunk@11897 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ea65ce7b23
commit
cc5128c249
2 changed files with 0 additions and 29 deletions
|
|
@ -2,29 +2,6 @@
|
|||
|
||||
namespace Upp {
|
||||
|
||||
void StaticText::SetData(const Value& v)
|
||||
{
|
||||
SetText(~v);
|
||||
}
|
||||
|
||||
Value StaticText::GetData() const
|
||||
{
|
||||
return GetText();
|
||||
}
|
||||
|
||||
void StaticText::Serialize(Stream& s)
|
||||
{
|
||||
GuiLock __;
|
||||
Value x;
|
||||
s % x;
|
||||
for(Ctrl *q = GetFirstChild(); q; q = q->GetNext())
|
||||
q->Serialize(s);
|
||||
}
|
||||
|
||||
void StaticText::Jsonize(JsonIO& jio) {}
|
||||
|
||||
void StaticText::Xmlize(XmlIO& xio) {}
|
||||
|
||||
void StaticText::Paint(Draw& w)
|
||||
{
|
||||
Size sz = GetSize();
|
||||
|
|
|
|||
|
|
@ -4,12 +4,6 @@ public:
|
|||
virtual Size GetMinSize() const;
|
||||
virtual void LabelUpdate();
|
||||
|
||||
virtual void SetData(const Value& v);
|
||||
virtual Value GetData() const;
|
||||
virtual void Serialize(Stream& s);
|
||||
virtual void Jsonize(JsonIO& jio);
|
||||
virtual void Xmlize(XmlIO& xio);
|
||||
|
||||
public:
|
||||
StaticText& SetFont(Font font) { LabelBase::SetFont(font); return *this; }
|
||||
StaticText& SetInk(Color color) { LabelBase::SetInk(color); return *this; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue