diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-13 21:37:43 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-16 15:34:45 +0000 |
commit | 480d2d6d140f54dbfdff674aad9cdc90ded7c846 (patch) | |
tree | ca12f9e39e04060f26456e6c213d7b7d269b97de /vcl/inc | |
parent | 032369a6f6b5cdc1b455f4c5f9bbd62653544bb1 (diff) |
vcl: hide / make internal misc. vcl display handling methods.
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/svapp.hxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx index cfd46eddac6a..9cb8639802d1 100644 --- a/vcl/inc/vcl/svapp.hxx +++ b/vcl/inc/vcl/svapp.hxx @@ -277,26 +277,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(); |