mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
47 lines
953 B
C++
47 lines
953 B
C++
#include <CtrlCore/CtrlCore.h>
|
|
|
|
#ifdef VIRTUALGUI
|
|
|
|
NAMESPACE_UPP
|
|
|
|
#define LTIMING(x) // RTIMING(x)
|
|
|
|
void SetSurface(SystemDraw& w, int x, int y, int cx, int cy, const RGBA *pixels)
|
|
{
|
|
GuiLock __;
|
|
// Empty as CanSetSurface is false
|
|
}
|
|
|
|
void SetSurface(SystemDraw& w, const Rect& dest, const RGBA *pixels, Size psz, Point poff)
|
|
{
|
|
GuiLock __;
|
|
// Empty as CanSetSurface is false
|
|
}
|
|
|
|
#define IMAGECLASS FBImg
|
|
#define IMAGEFILE <VirtualGui/FB.iml>
|
|
#include <Draw/iml_source.h>
|
|
|
|
#define STD_CURSOR(name) \
|
|
Image Image::name() { static Image img; ONCELOCK { img = FBImg::name(); } return img; }
|
|
|
|
STD_CURSOR(Arrow)
|
|
STD_CURSOR(Wait)
|
|
STD_CURSOR(IBeam)
|
|
STD_CURSOR(No)
|
|
STD_CURSOR(SizeAll)
|
|
STD_CURSOR(SizeHorz)
|
|
STD_CURSOR(SizeVert)
|
|
STD_CURSOR(SizeTopLeft)
|
|
STD_CURSOR(SizeTop)
|
|
STD_CURSOR(SizeTopRight)
|
|
STD_CURSOR(SizeLeft)
|
|
STD_CURSOR(SizeRight)
|
|
STD_CURSOR(SizeBottomLeft)
|
|
STD_CURSOR(SizeBottom)
|
|
STD_CURSOR(SizeBottomRight)
|
|
STD_CURSOR(Hand)
|
|
|
|
END_UPP_NAMESPACE
|
|
|
|
#endif
|