Developing Draw

git-svn-id: svn://ultimatepp.org/upp/trunk@1146 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-05-07 21:52:17 +00:00
parent 39f7e7385c
commit 6674597efe
15 changed files with 90 additions and 48 deletions

View file

@ -1,8 +1,8 @@
#include "Draw.h"
// ---------------------------
NAMESPACE_UPP
Draw& ScreenInfo();
SystemDraw& ScreenInfo();
void BackDraw::Create(int cx, int cy)
{
@ -29,8 +29,6 @@ BackDraw::~BackDraw()
Destroy();
}
Draw& ScreenInfo();
bool ScreenInPaletteMode()
{
return ScreenInfo().PaletteMode();
@ -40,3 +38,5 @@ Size GetScreenSize()
{
return ScreenInfo().GetPagePixels();
}
END_UPP_NAMESPACE