ultimatepp/uppdev/RichView/main.cpp
cxl 2e4b276e07 Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

27 lines
443 B
C++

#include "RichView.h"
void RichView::Add()
{
text <<= String(~text) + "ajkds als fal fhdal flahjds fla fhlahjds flas fla fhdljkh asdf&";
}
void RichView::Clear()
{
text.Clear();
}
RichView::RichView()
{
CtrlLayout(*this, "Window title");
add <<= THISBACK(Add);
clear <<= THISBACK(Clear);
text.SetZoom(Zoom(140, 1000));
text.AutoHideSb();
Sizeable();
MinimizeBox();
}
GUI_APP_MAIN
{
RichView().Run();
}