The Nebula Device 3: Graphics::DisplaySettings Class Reference

The Nebula Device 3

Graphics::DisplaySettings Class Reference

#include <displaysettings.h>


Detailed Description

Wraps display settings into a simple object.

(C) 2009 Radon Labs GmbH

Public Member Functions

 DisplaySettings ()
 constructor
CoreGraphics::DisplayModeDisplayMode ()
 DisplayMode accessor.
const CoreGraphics::DisplayModeDisplayMode () const
 const DisplayMode accessor
void SetAdapter (CoreGraphics::Adapter::Code a)
 set display adapter to use
CoreGraphics::Adapter::Code GetAdapter () const
 get displat adapter
void SetAntiAliasQuality (CoreGraphics::AntiAliasQuality::Code aa)
 set antialias quality
CoreGraphics::AntiAliasQuality::Code GetAntiAliasQuality () const
 get antialias quality
void SetFullscreen (bool b)
 set windowed/fullscreen mode
bool IsFullscreen () const
 get windowed/fullscreen mode
void SetDisplayModeSwitchEnabled (bool b)
 enable display mode switch when running fullscreen (default is true);
bool IsDisplayModeSwitchEnabled () const
 is display mode switch enabled for fullscreen?
void SetTripleBufferingEnabled (bool b)
 enable triple buffer for fullscreen (default is double buffering)
bool IsTripleBufferingEnabled () const
 is triple buffer enabled for fullscreen?
void SetAlwaysOnTop (bool b)
 set always-on-top behaviour
bool IsAlwaysOnTop () const
 get always-on-top behaviour
void SetVerticalSyncEnabled (bool b)
 turn vertical sync on/off
bool IsVerticalSyncEnabled () const
 get vertical sync flag
void SetIconName (const Util::String &s)
 set optional window icon resource name
const Util::StringGetIconName () const
 get optional window icon resource name
void SetWindowTitle (const Util::String &s)
 set optional window title
const Util::StringGetWindowTitle () const
 get optional window title