uppsrc: Rainbow support for breaking event loop

git-svn-id: svn://ultimatepp.org/upp/trunk@5623 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-12-04 19:36:42 +00:00
parent 25e2740c3a
commit 890795697c
4 changed files with 11 additions and 0 deletions

View file

@ -636,6 +636,8 @@ private:
static void GuiSleep0(int ms);
void SysEndLoop();
static void InitTimer();
static String appname;

View file

@ -185,6 +185,7 @@ void Ctrl::EndLoop()
{
GuiLock __;
inloop = false;
SysEndLoop();
}
void Ctrl::EndLoop(int code)

View file

@ -863,6 +863,10 @@ bool Ctrl::ProcessEvent(bool *quit)
return false;
}
void Ctrl::SysEndLoop()
{
}
bool Ctrl::ProcessEvents(bool *quit)
{
if(ProcessEvent(quit)) {

View file

@ -413,6 +413,10 @@ void Ctrl::SetTimerGranularity(int ms)
granularity = ms;
}
void Ctrl::SysEndLoop()
{
}
void Ctrl::EventLoop0(Ctrl *ctrl)
{
GuiLock __;