summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 14:08:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 14:08:37 +0000
commit6555e71f0a27de27a00d23f4df1f5bfd58c6eff6 (patch)
tree23ceafce7c623cb5065418c0170ea94b0c1bdf2b /goodies
parent73e0e8a0899ea724ab393eb88e5c74fbd7053d5c (diff)
INTEGRATION: CWS vclcleanup02 (1.1.1.1.160); FILE MERGED
2003/12/11 08:48:34 mt 1.1.1.1.160.1: #i23061# VCL cleanup, removed headers, methods and types...
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/inv/invader1.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/goodies/source/inv/invader1.cxx b/goodies/source/inv/invader1.cxx
index d0ba80e8a97f..6653b151fa00 100644
--- a/goodies/source/inv/invader1.cxx
+++ b/goodies/source/inv/invader1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: invader1.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:30:10 $
+ * last change: $Author: vg $ $Date: 2004-01-06 15:08:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -173,13 +173,13 @@ void MyWindow::Kollision()
bWaitDlg = TRUE;
pBox = new MessBox(GetParent(),WinBits(WB_OK),String(ResId(STR_APP_TITLE,GetResMgr())),aString);
ProgStatus=FALSE;
- SetBackgroundBrush(Brush(COL_WHITE,BRUSH_SOLID));
+ SetBackground(Wallpaper( Color( COL_WHITE ) ) );
aWaitDlgTimer.Start();
return;
}
- SetBackgroundBrush(BRUSH_NULL);
+ SetBackground();
ProgStatus=TRUE;
delete pBox;
pBox = 0L;
@@ -208,7 +208,7 @@ void MyWindow::Kollision()
pBox = new MessBox(this,WinBits(WB_OK),String(ResId(STR_APP_TITLE,GetResMgr())),aString);
aDummyStatus = ProgStatus;
//ProgStatus=FALSE;
- SetBackgroundBrush(Brush(COL_WHITE,BRUSH_SOLID));
+ SetBackground(Wallpaper( Color( COL_WHITE ) ) );
aWaitDlgTimer.Start();
@@ -229,7 +229,7 @@ void MyWindow::Kollision()
nTimeOut = TIMELOW;
}
- SetBackgroundBrush(BRUSH_NULL);
+ SetBackground();
//ProgStatus=aDummyStatus;
delete pBox;
pBox = 0L;
@@ -251,12 +251,12 @@ void MyWindow::Kollision()
{
pBox = new MessBox(this,WinBits(WB_OK),String(ResId(STR_APP_TITLE,GetResMgr())),aString);
Paint(Rectangle(Point(0,0),Point(640,480)));
- SetBackgroundBrush(Brush(COL_WHITE,BRUSH_SOLID));
+ SetBackground(Wallpaper( Color( COL_WHITE ) ) );
aWaitDlgTimer.Start();
}
- SetBackgroundBrush(BRUSH_NULL);
+ SetBackground();
delete pBox;
pBox = 0L;
GrabFocus();