mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
34 lines
834 B
C++
34 lines
834 B
C++
//$ class Ctrl {
|
|
static Ptr<Ctrl> desktop;
|
|
static Rect screenRect;
|
|
static Vector<Ctrl *> topctrl;
|
|
|
|
static Point fbCursorPos;
|
|
static Image fbCursorImage;
|
|
|
|
static Point fbCursorBakPos;
|
|
static Image fbCursorBak;
|
|
|
|
static Rect fbCaretRect;
|
|
static Image fbCaretBak;
|
|
static int fbCaretTm;
|
|
|
|
int FindTopCtrl() const;
|
|
public:
|
|
|
|
static void InitGl();
|
|
static void DoMouseGl(int event, Point p, int zdelta = 0);
|
|
static bool DoKeyGl(dword key, int cnt);
|
|
static void RemoveCursor();
|
|
static void RemoveCaret();
|
|
static void CursorSync();
|
|
|
|
void SetOpen(bool b) { isopen = b; }
|
|
void SetTop() { top = new Top; }
|
|
|
|
static void SetDesktop(Ctrl& q);
|
|
static Ctrl *GetDesktop() { return desktop; }
|
|
static void SetWindowSize(Size sz);
|
|
|
|
static void DrawScreen();
|
|
//$ };
|