My favorites | Sign in
Project Home Downloads Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#include "TopFrame.h"

#ifdef GUI_WINGL

#define LLOG(x) // DLOG(x)

NAMESPACE_UPP

void WakeUpGuiThread(void)
{
}

void Ctrl::GuiPlatformConstruct()
{
cliptobounds = true;
}

void Ctrl::GuiPlatformRemove()
{
}

void Ctrl::GuiPlatformGetTopRect(Rect& r) const
{
}

bool Ctrl::GuiPlatformRefreshFrameSpecial(const Rect& r)
{
return true;
}

bool Ctrl::GuiPlatformSetFullRefreshSpecial()
{
return false;
}

void Ctrl::PaintCaret(SystemDraw& w)
{
}

String GuiPlatformGetKeyDesc(dword key)
{
return Null;
}

void Ctrl::GuiPlatformSelection(PasteClip&)
{
}

void GuiPlatformAdjustDragImage(ImageBuffer&)
{
}

bool GuiPlatformHasSizeGrip()
{
return true;
}

void GuiPlatformGripResize(TopWindow *q)
{
q->GripResize();
}

Color GuiPlatformGetScreenPixel(int x, int y)
{
return Black;
}

void GuiPlatformAfterMenuPopUp()
{
}

String Ctrl::Name() const {
GuiLock __;
#ifdef CPU_64
String s = String(typeid(*this).name()) + " : 0x" + FormatIntHex(this);
#else
String s = String(typeid(*this).name()) + " : " + Format("0x%x", (int) this);
#endif
if(IsChild())
s << "(parent " << String(typeid(*parent).name()) << ")";
return s;
}

END_UPP_NAMESPACE

#endif

Change log

r4189 by unodgs on Nov 22, 2011   Diff
WinGL: Added missing WakeUpGuiThread
function, increased cloff stack to 30
Go to: 
Project members, sign in to write a code review

Older revisions

r4188 by unodgs on Nov 22, 2011   Diff
WinGL: Added automatic atlas textures,
fixed some bugs
r3652 by unodgs on Jul 13, 2011   Diff
Rainbow: WinGL..
r3635 by unodgs on Jul 10, 2011   Diff
Rainbow: WinGL..
All revisions of this file

File info

Size: 1163 bytes, 86 lines

File properties

svn:eol-style
native
Powered by Google Project Hosting