LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Types | Private Attributes | List of all members
GtkSalSystem Class Reference

#include <gtksys.hxx>

Inheritance diagram for GtkSalSystem:
[legend]
Collaboration diagram for GtkSalSystem:
[legend]

Public Member Functions

 GtkSalSystem ()
 
virtual ~GtkSalSystem () override
 
virtual bool IsUnifiedDisplay () override
 
virtual unsigned int GetDisplayScreenCount () override
 
virtual unsigned int GetDisplayBuiltInScreen () override
 
virtual tools::Rectangle GetDisplayScreenPosSizePixel (unsigned int nScreen) override
 
virtual int ShowNativeDialog (const OUString &rTitle, const OUString &rMessage, const std::vector< OUString > &rButtons) override
 
SalX11Screen GetDisplayDefaultXScreen ()
 
int GetDisplayXScreenCount ()
 
SalX11Screen getXScreenFromDisplayScreen (unsigned int nDisplayScreen)
 
void countScreenMonitors ()
 
int getScreenIdxFromPtr (GdkScreen *pScreen)
 
int getScreenMonitorIdx (GdkScreen *pScreen, int nX, int nY)
 
GdkScreen * getScreenMonitorFromIdx (int nIdx, gint &nMonitor)
 
- Public Member Functions inherited from SalGenericSystem
 SalGenericSystem ()
 
virtual ~SalGenericSystem () override
 
virtual int ShowNativeMessageBox (const OUString &rTitle, const OUString &rMessage) override
 
- Public Member Functions inherited from SalSystem
 SalSystem ()
 
virtual ~SalSystem ()
 

Static Public Member Functions

static GtkSalSystemGetSingleton ()
 
- Static Public Member Functions inherited from SalGenericSystem
static const char * getFrameResName ()
 
static const char * getFrameClassName ()
 

Private Types

typedef std::deque< std::pair< GdkScreen *, int > > ScreenMonitors_t
 

Private Attributes

GdkDisplay * mpDisplay
 
ScreenMonitors_t maScreenMonitors
 

Detailed Description

Definition at line 17 of file gtksys.hxx.

Member Typedef Documentation

typedef std::deque<std::pair<GdkScreen*, int> > GtkSalSystem::ScreenMonitors_t
private

Definition at line 19 of file gtksys.hxx.

Constructor & Destructor Documentation

GtkSalSystem::GtkSalSystem ( )
virtual GtkSalSystem::~GtkSalSystem ( )
overridevirtual

Member Function Documentation

void GtkSalSystem::countScreenMonitors ( )
virtual unsigned int GtkSalSystem::GetDisplayBuiltInScreen ( )
overridevirtual

Reimplemented from SalSystem.

Referenced by GetDisplayDefaultXScreen().

SalX11Screen GtkSalSystem::GetDisplayDefaultXScreen ( )
inline
virtual unsigned int GtkSalSystem::GetDisplayScreenCount ( )
overridevirtual

Implements SalSystem.

virtual tools::Rectangle GtkSalSystem::GetDisplayScreenPosSizePixel ( unsigned int  nScreen)
overridevirtual

Implements SalSystem.

int GtkSalSystem::GetDisplayXScreenCount ( )
int GtkSalSystem::getScreenIdxFromPtr ( GdkScreen *  pScreen)
GdkScreen* GtkSalSystem::getScreenMonitorFromIdx ( int  nIdx,
gint &  nMonitor 
)
int GtkSalSystem::getScreenMonitorIdx ( GdkScreen *  pScreen,
int  nX,
int  nY 
)
static GtkSalSystem* GtkSalSystem::GetSingleton ( )
static
SalX11Screen GtkSalSystem::getXScreenFromDisplayScreen ( unsigned int  nDisplayScreen)
virtual bool GtkSalSystem::IsUnifiedDisplay ( )
overridevirtual

Reimplemented from SalSystem.

virtual int GtkSalSystem::ShowNativeDialog ( const OUString &  rTitle,
const OUString &  rMessage,
const std::vector< OUString > &  rButtons 
)
overridevirtual

Implements SalGenericSystem.

Member Data Documentation

ScreenMonitors_t GtkSalSystem::maScreenMonitors
private

Definition at line 23 of file gtksys.hxx.

GdkDisplay* GtkSalSystem::mpDisplay
private

Definition at line 21 of file gtksys.hxx.


The documentation for this class was generated from the following file: