mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
rainbow: some small fixes, SDLFb first shot..
git-svn-id: svn://ultimatepp.org/upp/trunk@3607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6787a7e6da
commit
82e771a69d
28 changed files with 565 additions and 67 deletions
|
|
@ -19,7 +19,7 @@ Image MakeDragImage(const Image& arrow, Image sample);
|
|||
|
||||
Image MakeDragImage(const Image& arrow, const Image& arrow98, Image sample)
|
||||
{
|
||||
#if PLATFORM_WIN32
|
||||
#ifdef PLATFORM_WIN32
|
||||
if(IsWin2K())
|
||||
return MakeDragImage(arrow, sample);
|
||||
else
|
||||
|
|
|
|||
|
|
@ -136,9 +136,4 @@ public:
|
|||
|
||||
END_UPP_NAMESPACE
|
||||
|
||||
#ifndef PLATFORM_WIN32
|
||||
#include <CtrlCore/stdids.h>
|
||||
#include "vkcodes.h" //FIXME
|
||||
#endif
|
||||
|
||||
#define GUIPLATFORM_INCLUDE_AFTER <Framebuffer/After.h>
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ bool Ctrl::ProcessEvents(bool *quit)
|
|||
SweepMkImageCache();
|
||||
DoPaint(invalid);
|
||||
invalid.Clear();
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
void Ctrl::EventLoop0(Ctrl *ctrl)
|
||||
|
|
@ -246,7 +246,7 @@ void Ctrl::EventLoop0(Ctrl *ctrl)
|
|||
|
||||
bool quit = false;
|
||||
ProcessEvents(&quit);
|
||||
while(!FBEndSession() && !quit && ctrl ? ctrl->IsOpen() && ctrl->InLoop() : GetTopCtrls().GetCount())
|
||||
while(!FBEndSession() && !quit && (ctrl ? ctrl->IsOpen() && ctrl->InLoop() : GetTopCtrls().GetCount()))
|
||||
{
|
||||
// LLOG(GetSysTime() << " % " << (unsigned)msecs() % 10000 << ": EventLoop / GuiSleep");
|
||||
SyncCaret();
|
||||
|
|
|
|||
Loading…
Reference in a new issue