summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 14:08:08 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 14:08:08 +0000
commit73e0e8a0899ea724ab393eb88e5c74fbd7053d5c (patch)
tree089ecb3ebb48a47176b8482d94e094f900fef913 /goodies
parent5a41652fbd869e15042eb188129f914179eedba7 (diff)
INTEGRATION: CWS vclcleanup02 (1.3.118); FILE MERGED
2003/12/11 08:48:33 mt 1.3.118.2: #i23061# VCL cleanup, removed headers, methods and types... 2003/12/04 17:11:02 mt 1.3.118.1: #i23061# Removed/Changed old StarView stuff
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/inv/invader.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/goodies/source/inv/invader.cxx b/goodies/source/inv/invader.cxx
index 853872d89749..3d0fac03aad5 100644
--- a/goodies/source/inv/invader.cxx
+++ b/goodies/source/inv/invader.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: invader.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2002-09-05 12:51:10 $
+ * last change: $Author: vg $ $Date: 2004-01-06 15:08:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -78,7 +78,7 @@
#endif
MyWindow::MyWindow(Window* pParent, ResMgr *pRes ) :
- FloatingWindow(pParent, WB_SVLOOK | WB_CLOSEABLE | WB_MOVEABLE ),
+ FloatingWindow(pParent, WB_3DLOOK | WB_CLOSEABLE | WB_MOVEABLE ),
pRes(pRes),
pGegner(0L),
pFighter(0L),
@@ -228,7 +228,7 @@ void MyWindow::Paint(const Rectangle& rRect)
Point aPoint(0,20);
pVirtualDevice->SetFillColor( COL_WHITE );
- pVirtualDevice->SetPen(PEN_NULL);
+ pVirtualDevice->SetLineColor();
pVirtualDevice->DrawRect(Rectangle(Point(0,0), Point(aVSize.Width(),aVSize.Height())));
if(!bStartLevel)
@@ -404,11 +404,11 @@ IMPL_LINK( MyWindow, StartDlgTimer, Timer*, EMPTY_ARG )
pBox = new MessBox(this,WinBits(WB_OK),String(ResId(STR_APP_TITLE,GetResMgr())),aString);
PlaceDialog(pBox);
ProgStatus=FALSE;
- SetBackgroundBrush(Brush(COL_WHITE,BRUSH_SOLID));
+ SetBackground(Wallpaper( Color( COL_WHITE ) ) );
pBox->Execute();
- SetBackgroundBrush(BRUSH_NULL);
+ SetBackground();
ProgStatus=TRUE;
delete pBox;
nLevel++;
@@ -443,11 +443,11 @@ IMPL_LINK( MyWindow, StartDlgTimer, Timer*, EMPTY_ARG )
PlaceDialog(pBox);
BOOL aDummyStatus = ProgStatus;
ProgStatus=FALSE;
- SetBackgroundBrush(Brush(COL_WHITE,BRUSH_SOLID));
+ SetBackground(Wallpaper( Color( COL_WHITE ) ) );
pBox->Execute();
- SetBackgroundBrush(BRUSH_NULL);
+ SetBackground();
ProgStatus=aDummyStatus;
delete pBox;
GrabFocus();
@@ -467,9 +467,9 @@ IMPL_LINK( MyWindow, StartDlgTimer, Timer*, EMPTY_ARG )
pBox = new MessBox(this,WinBits(WB_OK),String(ResId(STR_APP_TITLE,GetResMgr())),aString);
PlaceDialog(pBox);
Paint(Rectangle(Point(0,0),Point(640,480)));
- SetBackgroundBrush(Brush(COL_WHITE,BRUSH_SOLID));
+ SetBackground(Wallpaper( Color( COL_WHITE ) ) );
pBox->Execute();
- SetBackgroundBrush(BRUSH_NULL);
+ SetBackground();
delete pBox;
GrabFocus();
}