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

#include <gtksys.hxx>

Inheritance diagram for GtkSalSystem:
Collaboration diagram for GtkSalSystem:

Public Member Functions

 GtkSalSystem ()
virtual ~GtkSalSystem () 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 ()
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 ShowNativeDialog (const OUString &rTitle, const OUString &rMessage, const std::vector< OUString > &rButtons)=0
virtual int ShowNativeMessageBox (const OUString &rTitle, const OUString &rMessage) override
- Public Member Functions inherited from SalSystem
virtual ~SalSystem ()
virtual unsigned int GetDisplayScreenCount ()=0
virtual unsigned int GetDisplayBuiltInScreen ()
virtual tools::Rectangle GetDisplayScreenPosSizePixel (unsigned int nScreen)=0
virtual int ShowNativeMessageBox (const OUString &rTitle, const OUString &rMessage)=0

Static Public Member Functions

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

Private Attributes

GdkDisplay * mpDisplay
std::deque< std::pair< GdkScreen *, int > > maScreenMonitors

Detailed Description

Definition at line 17 of file gtksys.hxx.

Constructor & Destructor Documentation

◆ GtkSalSystem()

GtkSalSystem::GtkSalSystem ( )

◆ ~GtkSalSystem()

virtual GtkSalSystem::~GtkSalSystem ( )

Member Function Documentation

◆ countScreenMonitors()

void GtkSalSystem::countScreenMonitors ( )

◆ GetDisplayBuiltInScreen()

virtual unsigned int GtkSalSystem::GetDisplayBuiltInScreen ( )

Reimplemented from SalSystem.

Referenced by GetDisplayDefaultXScreen().

◆ GetDisplayDefaultXScreen()

SalX11Screen GtkSalSystem::GetDisplayDefaultXScreen ( )

◆ GetDisplayScreenCount()

virtual unsigned int GtkSalSystem::GetDisplayScreenCount ( )

Implements SalSystem.

◆ GetDisplayScreenPosSizePixel()

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

Implements SalSystem.

◆ getScreenIdxFromPtr()

int GtkSalSystem::getScreenIdxFromPtr ( GdkScreen *  pScreen)

◆ getScreenMonitorFromIdx()

GdkScreen * GtkSalSystem::getScreenMonitorFromIdx ( int  nIdx,
gint &  nMonitor 

◆ getScreenMonitorIdx()

int GtkSalSystem::getScreenMonitorIdx ( GdkScreen *  pScreen,
int  nX,
int  nY 

◆ GetSingleton()

static GtkSalSystem * GtkSalSystem::GetSingleton ( )

◆ getXScreenFromDisplayScreen()

SalX11Screen GtkSalSystem::getXScreenFromDisplayScreen ( unsigned int  nDisplayScreen)

◆ ShowNativeDialog()

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

Implements SalGenericSystem.

Member Data Documentation

◆ maScreenMonitors

std::deque<std::pair<GdkScreen*, int> > GtkSalSystem::maScreenMonitors

Definition at line 22 of file gtksys.hxx.

◆ mpDisplay

GdkDisplay* GtkSalSystem::mpDisplay

Definition at line 19 of file gtksys.hxx.

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