LibreOffice Module vcl (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
WinSalSystem Class Reference

#include <salsys.h>

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

Classes

struct  DisplayMonitor
 

Public Member Functions

 WinSalSystem ()
 
virtual ~WinSalSystem () override
 
virtual unsigned int GetDisplayScreenCount () override
 
virtual unsigned int GetDisplayBuiltInScreen () override
 
virtual tools::Rectangle GetDisplayScreenPosSizePixel (unsigned int nScreen) override
 
virtual int ShowNativeMessageBox (const OUString &rTitle, const OUString &rMessage) override
 
bool initMonitors ()
 
void clearMonitors ()
 
const std::vector< DisplayMonitor > & getMonitors ()
 
bool handleMonitorCallback (sal_IntPtr, sal_IntPtr, sal_IntPtr)
 
- 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
 

Private Attributes

std::vector< DisplayMonitorm_aMonitors
 
std::map< OUString, unsigned intm_aDeviceNameToMonitor
 
unsigned int m_nPrimary
 

Detailed Description

Definition at line 28 of file win/salsys.h.

Constructor & Destructor Documentation

◆ WinSalSystem()

WinSalSystem::WinSalSystem ( )
inline

Definition at line 49 of file win/salsys.h.

◆ ~WinSalSystem()

virtual WinSalSystem::~WinSalSystem ( )
overridevirtual

Member Function Documentation

◆ clearMonitors()

void WinSalSystem::clearMonitors ( )

◆ GetDisplayBuiltInScreen()

virtual unsigned int WinSalSystem::GetDisplayBuiltInScreen ( )
overridevirtual

Reimplemented from SalSystem.

◆ GetDisplayScreenCount()

virtual unsigned int WinSalSystem::GetDisplayScreenCount ( )
overridevirtual

Implements SalSystem.

◆ GetDisplayScreenPosSizePixel()

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

Implements SalSystem.

◆ getMonitors()

const std::vector< DisplayMonitor > & WinSalSystem::getMonitors ( )
inline

Definition at line 60 of file win/salsys.h.

References initMonitors(), and m_aMonitors.

◆ handleMonitorCallback()

bool WinSalSystem::handleMonitorCallback ( sal_IntPtr  ,
sal_IntPtr  ,
sal_IntPtr   
)

◆ initMonitors()

bool WinSalSystem::initMonitors ( )

Referenced by getMonitors().

◆ ShowNativeMessageBox()

virtual int WinSalSystem::ShowNativeMessageBox ( const OUString &  rTitle,
const OUString &  rMessage 
)
overridevirtual

Implements SalSystem.

Member Data Documentation

◆ m_aDeviceNameToMonitor

std::map<OUString, unsigned int> WinSalSystem::m_aDeviceNameToMonitor
private

Definition at line 46 of file win/salsys.h.

◆ m_aMonitors

std::vector<DisplayMonitor> WinSalSystem::m_aMonitors
private

Definition at line 45 of file win/salsys.h.

Referenced by getMonitors().

◆ m_nPrimary

unsigned int WinSalSystem::m_nPrimary
private

Definition at line 47 of file win/salsys.h.


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