summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-01-13 21:37:43 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-15 00:36:41 +0000
commit3d13d919dfa7e0123dd6feebf2bd0a9883a4e866 (patch)
tree074852862923913b968d948b999ae70e13eff322 /vcl
parentvcl: isolate new attempt to count monitors as screens to gtk3 fdo#43458 (diff)
downloadcore-3d13d919dfa7e0123dd6feebf2bd0a9883a4e866.tar.gz
core-3d13d919dfa7e0123dd6feebf2bd0a9883a4e866.zip
vcl: hide / make internal misc. vcl display handling methods.
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/svapp.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx
index 6daf5c6fd850..a111e3fa241e 100644
--- a/vcl/inc/vcl/svapp.hxx
+++ b/vcl/inc/vcl/svapp.hxx
@@ -274,26 +274,29 @@ public:
static String GetAppName();
static bool LoadBrandBitmap (const char* pName, BitmapEx &rBitmap);
+ // default name of the application for message dialogs and printing
static void SetDisplayName( const UniString& rDisplayName );
static UniString GetDisplayName();
+
static unsigned int GetScreenCount();
+ static Rectangle GetScreenPosSizePixel( unsigned int nScreen );
+
// IsMultiDisplay returns:
// true: different screens are separate and windows cannot be moved
// between them (e.g. Xserver with multiple screens)
// false: screens form up one large display area
// windows can be moved between single screens
// (e.g. Xserver with Xinerama, Windows)
- static bool IsMultiDisplay();
- static Rectangle GetScreenPosSizePixel( unsigned int nScreen );
- static Rectangle GetWorkAreaPosSizePixel( unsigned int nScreen );
- static rtl::OUString GetScreenName( unsigned int nScreen );
- static unsigned int GetDefaultDisplayNumber();
+ SAL_DLLPRIVATE static bool IsMultiDisplay();
// if IsMultiDisplay() == false the return value will be
// nearest screen of the target rectangle
// in case of IsMultiDisplay() == true the return value
// will always be GetDefaultDisplayNumber()
- static unsigned int GetBestScreen( const Rectangle& );
+ SAL_DLLPRIVATE static unsigned int GetBestScreen( const Rectangle& );
+ SAL_DLLPRIVATE static Rectangle GetWorkAreaPosSizePixel( unsigned int nScreen );
+ SAL_DLLPRIVATE static unsigned int GetDefaultDisplayNumber();
+ SAL_DLLPRIVATE static rtl::OUString GetScreenName( unsigned int nScreen );
static const LocaleDataWrapper& GetAppLocaleDataWrapper();