summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-10-09 14:22:44 +0000
committerKurt Zenker <kz@openoffice.org>2007-10-09 14:22:44 +0000
commit3d364b9429c92e7ef1235983d961f7d4d93ee1bd (patch)
treee982113b0c82a574255f29c3049c42ccb2ffcc54 /vcl/workben
parent8a8cbfa2e6e75c3f70bb1bf9540d44038f0e0924 (diff)
INTEGRATION: CWS aquavcl03 (1.3.4); FILE MERGED
2007/07/26 11:02:27 pl 1.3.4.1: #i80025# initial checking for carbon to cocoa migration
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 9a92bf7f0f0e..30c71a87c461 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vcldemo.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2007-07-05 15:56:47 $
+ * last change: $Author: kz $ $Date: 2007-10-09 15:22:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -177,6 +177,11 @@ void MyWin::Paint( const Rectangle& rRect )
DrawLine( Point(r.nLeft, r.nTop+i), Point(r.nRight, r.nBottom-i) );
for(int i=0; i<aSz.Width(); i+=15)
DrawLine( Point(r.nLeft+i, r.nBottom), Point(r.nRight-i, r.nTop) );
+
+ SetTextColor( Color( COL_WHITE ) );
+ Font aFont( String( RTL_CONSTASCII_USTRINGPARAM( "Times" ) ), Size( 0, 25 ) );
+ SetFont( aFont );
+ DrawText( Point( 20, 30 ), String( RTL_CONSTASCII_USTRINGPARAM( "Just a simple test text" ) ) );
}
// -----------------------------------------------------------------------