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
 SalSystem ()
 
virtual ~SalSystem ()
 
virtual bool IsUnifiedDisplay ()
 

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

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

virtual WinSalSystem::~WinSalSystem ( )
overridevirtual

Member Function Documentation

void WinSalSystem::clearMonitors ( )
virtual unsigned int WinSalSystem::GetDisplayBuiltInScreen ( )
overridevirtual

Reimplemented from SalSystem.

virtual unsigned int WinSalSystem::GetDisplayScreenCount ( )
overridevirtual

Implements SalSystem.

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

Implements SalSystem.

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

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

References initMonitors(), and m_aMonitors.

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

Referenced by getMonitors().

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

Implements SalSystem.

Member Data Documentation

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

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

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

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

Referenced by getMonitors().

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: