summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-07-26 08:11:18 +0000
committerRüdiger Timm <rt@openoffice.org>2006-07-26 08:11:18 +0000
commit75bdd42a25ff1a9052da468dfd6bcaded771fbd0 (patch)
treef0186737dbf143c5b189119d272ef052cf8cb5d7 /vcl/source
parent18a424fb9729f27bd724bd70658c5e05c7b0e989 (diff)
INTEGRATION: CWS c06v2_SRC680 (1.64.38); FILE MERGED
2006/05/29 08:40:29 rt 1.64.38.2: RESYNC: (1.64-1.64.22.1); FILE MERGED 2006/05/17 12:49:47 pl 1.64.38.1: #136025# get screen dimensions
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/app/svapp.cxx21
1 files changed, 19 insertions, 2 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 9a5b58af6d7f..3ac823c88da9 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svapp.cxx,v $
*
- * $Revision: 1.67 $
+ * $Revision: 1.68 $
*
- * last change: $Author: obo $ $Date: 2006-07-10 16:34:10 $
+ * last change: $Author: rt $ $Date: 2006-07-26 09:11:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -43,6 +43,9 @@
#ifndef _SV_SALFRAME_HXX
#include <salframe.hxx>
#endif
+#ifndef _SV_SALSYS_HXX
+#include <salsys.hxx>
+#endif
#ifndef _VOS_PROCESS_HXX
#include <vos/process.hxx>
#endif
@@ -1341,6 +1344,20 @@ UniString Application::GetDisplayName()
// -----------------------------------------------------------------------
+unsigned int Application::GetScreenCount()
+{
+ SalSystem* pSys = ImplGetSalSystem();
+ return pSys ? pSys->GetDisplayScreenCount() : 0;
+}
+
+Rectangle Application::GetScreenPosSizePixel( unsigned int nScreen )
+{
+ SalSystem* pSys = ImplGetSalSystem();
+ return pSys ? pSys->GetDisplayScreenPosSizePixel( nScreen ) : Rectangle();
+}
+
+// -----------------------------------------------------------------------
+
BOOL Application::InsertAccel( Accelerator* pAccel )
{
ImplSVData* pSVData = ImplGetSVData();