mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-09 11:34:54 -06:00
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:
parent
25e2740c3a
commit
890795697c
4 changed files with 11 additions and 0 deletions
|
|
@ -636,6 +636,8 @@ private:
|
|||
|
||||
static void GuiSleep0(int ms);
|
||||
|
||||
void SysEndLoop();
|
||||
|
||||
static void InitTimer();
|
||||
|
||||
static String appname;
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ void Ctrl::EndLoop()
|
|||
{
|
||||
GuiLock __;
|
||||
inloop = false;
|
||||
SysEndLoop();
|
||||
}
|
||||
|
||||
void Ctrl::EndLoop(int code)
|
||||
|
|
|
|||
|
|
@ -863,6 +863,10 @@ bool Ctrl::ProcessEvent(bool *quit)
|
|||
return false;
|
||||
}
|
||||
|
||||
void Ctrl::SysEndLoop()
|
||||
{
|
||||
}
|
||||
|
||||
bool Ctrl::ProcessEvents(bool *quit)
|
||||
{
|
||||
if(ProcessEvent(quit)) {
|
||||
|
|
|
|||
|
|
@ -413,6 +413,10 @@ void Ctrl::SetTimerGranularity(int ms)
|
|||
granularity = ms;
|
||||
}
|
||||
|
||||
void Ctrl::SysEndLoop()
|
||||
{
|
||||
}
|
||||
|
||||
void Ctrl::EventLoop0(Ctrl *ctrl)
|
||||
{
|
||||
GuiLock __;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue