mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.rainbow
git-svn-id: svn://ultimatepp.org/upp/trunk@7953 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7e10247ab6
commit
33a17524f3
4 changed files with 27 additions and 3 deletions
|
|
@ -41,8 +41,6 @@ private:
|
|||
static void MouseEventFB(Ptr<Ctrl> t, int event, Point p, int zdelta);
|
||||
Vector<Rect> GetPaintRects();
|
||||
|
||||
static void DoMouseFB(int event, Point p, int zdelta);
|
||||
|
||||
static void DrawLine(const Vector<Rect>& clip, int x, int y, int cx, int cy, bool horz,
|
||||
const byte *pattern, int animation);
|
||||
static void DragRectDraw0(const Vector<Rect>& clip, const Rect& rect, int n,
|
||||
|
|
@ -59,6 +57,7 @@ protected:
|
|||
static int PaintLock;
|
||||
|
||||
public:
|
||||
static void DoMouseFB(int event, Point p, int zdelta = 0);
|
||||
static bool DoKeyFB(dword key, int cnt);
|
||||
|
||||
static void InitFB();
|
||||
|
|
|
|||
|
|
@ -108,3 +108,15 @@ K_CTRL_EQUAL = K_CTRL|0xbb|K_DELTA,
|
|||
K_CTRL_APOSTROPHE= K_CTRL|0xde|K_DELTA,
|
||||
|
||||
K_BREAK = SDLK_PAUSE + K_DELTA, // Is it really?
|
||||
|
||||
K_PLUS = 0, // not yet defined
|
||||
K_MINUS = 0, // not yet defined
|
||||
K_COMMA = 0, // not yet defined
|
||||
K_PERIOD = 0, // not yet defined
|
||||
K_SEMICOLON = 0, // not yet defined
|
||||
K_SLASH = 0, // not yet defined
|
||||
K_GRAVE = 0, // not yet defined
|
||||
K_LBRACKET = 0, // not yet defined
|
||||
K_BACKSLASH = 0, // not yet defined
|
||||
K_RBRACKET = 0, // not yet defined
|
||||
K_QUOTEDBL = 0, // not yet defined
|
||||
|
|
|
|||
|
|
@ -495,11 +495,12 @@ Rect Ctrl::GetVirtualWorkArea()
|
|||
return framebuffer.GetSize();
|
||||
}
|
||||
|
||||
/*
|
||||
Rect Ctrl::GetWorkArea(Point pt)
|
||||
{
|
||||
return framebuffer.GetSize();
|
||||
}
|
||||
|
||||
*/
|
||||
Rect Ctrl::GetVirtualScreenArea()
|
||||
{
|
||||
GuiLock __;
|
||||
|
|
|
|||
|
|
@ -107,3 +107,15 @@ K_CTRL_EQUAL,
|
|||
K_CTRL_APOSTROPHE,
|
||||
|
||||
K_BREAK,
|
||||
|
||||
K_PLUS = 0, // not yet defined
|
||||
K_MINUS = 0, // not yet defined
|
||||
K_COMMA = 0, // not yet defined
|
||||
K_PERIOD = 0, // not yet defined
|
||||
K_SEMICOLON = 0, // not yet defined
|
||||
K_SLASH = 0, // not yet defined
|
||||
K_GRAVE = 0, // not yet defined
|
||||
K_LBRACKET = 0, // not yet defined
|
||||
K_BACKSLASH = 0, // not yet defined
|
||||
K_RBRACKET = 0, // not yet defined
|
||||
K_QUOTEDBL = 0, // not yet defined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue