rainbow: LinuxFb: doublecklick support, font metrics init fix, SDLFb: undo repeat click fix

git-svn-id: svn://ultimatepp.org/upp/trunk@3685 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
kohait 2011-07-21 13:42:32 +00:00
parent bb411c52c9
commit 0283f092a3
4 changed files with 61 additions and 22 deletions

View file

@ -2,7 +2,9 @@
using namespace Upp;
struct App : TopWindow {
class App : public TopWindow {
public:
typedef App CLASSNAME;
ArrayCtrl log;
void Log(const String& s)
@ -205,6 +207,11 @@ struct App : TopWindow {
Log("Layout");
}
void OnTimer()
{
Log("Timer");
}
App()
{
SetFrame(InsetFrame());
@ -214,6 +221,7 @@ struct App : TopWindow {
log.AddColumn("");
log.NoHeader();
Add(log.HSizePos().BottomPos(0, 200));
SetTimeCallback(-1000, THISBACK(OnTimer));
}
~App()