Public Member Functions

sp::video::VideoModeEnumerator Class Reference

#include <spVideoModeEnumerator.hpp>

List of all members.

Public Member Functions

 VideoModeEnumerator ()
 ~VideoModeEnumerator ()
SVideoMode getDesktop () const
 Returns the desktop video mode.
u32 getVideoModeCount () const
 Returns the count of supported video modes.
SVideoMode getVideoMode (u32 Index) const
 Returns the specified video mode or an invalid video mode if the index is invalid.
const std::vector< SVideoMode > & getVideoModeList () const
u32 getDisplayDeviceCount () const
 Returns the count of connected display devices.
SDisplayDevice getDisplayDevice (u32 Index) const
 Returns the specified display device or an invalid display device if the index is invalid.
const std::vector
< SDisplayDevice > & 
getDisplayDeviceList () const

Detailed Description

The video mode enumerator class is used to detect (or rather enumerate) all video modes (including screen resolution and color depth) which are supported by the display. It can also enumerate all connected display devices (or rather the monitors).

Since:
Version 3.2

Constructor & Destructor Documentation

sp::video::VideoModeEnumerator::VideoModeEnumerator (  ) 
sp::video::VideoModeEnumerator::~VideoModeEnumerator (  ) 

Member Function Documentation

SVideoMode sp::video::VideoModeEnumerator::getDesktop (  )  const [inline]

Returns the desktop video mode.

SDisplayDevice sp::video::VideoModeEnumerator::getDisplayDevice ( u32  Index  )  const [inline]

Returns the specified display device or an invalid display device if the index is invalid.

u32 sp::video::VideoModeEnumerator::getDisplayDeviceCount (  )  const [inline]

Returns the count of connected display devices.

const std::vector<SDisplayDevice>& sp::video::VideoModeEnumerator::getDisplayDeviceList (  )  const [inline]
SVideoMode sp::video::VideoModeEnumerator::getVideoMode ( u32  Index  )  const [inline]

Returns the specified video mode or an invalid video mode if the index is invalid.

u32 sp::video::VideoModeEnumerator::getVideoModeCount (  )  const [inline]

Returns the count of supported video modes.

const std::vector<SVideoMode>& sp::video::VideoModeEnumerator::getVideoModeList (  )  const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines