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:
[legend]
Collaboration diagram for GtkSalSystem:
[legend]

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 ( )
overridevirtual

Member Function Documentation

◆ countScreenMonitors()

void GtkSalSystem::countScreenMonitors ( )

◆ GetDisplayBuiltInScreen()

virtual unsigned int GtkSalSystem::GetDisplayBuiltInScreen ( )
overridevirtual

Reimplemented from SalSystem.

Referenced by GetDisplayDefaultXScreen().

◆ GetDisplayDefaultXScreen()

SalX11Screen GtkSalSystem::GetDisplayDefaultXScreen ( )
inline

◆ GetDisplayScreenCount()

virtual unsigned int GtkSalSystem::GetDisplayScreenCount ( )
overridevirtual

Implements SalSystem.

◆ GetDisplayScreenPosSizePixel()

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

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 ( )
static

◆ getXScreenFromDisplayScreen()

SalX11Screen GtkSalSystem::getXScreenFromDisplayScreen ( unsigned int  nDisplayScreen)

◆ ShowNativeDialog()

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

Implements SalGenericSystem.

Member Data Documentation

◆ maScreenMonitors

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

Definition at line 22 of file gtksys.hxx.

◆ mpDisplay

GdkDisplay* GtkSalSystem::mpDisplay
private

Definition at line 19 of file gtksys.hxx.


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