KSD_EXPORT_CLASSclass ECannotInitDisplay

Thrown when the screen is unable to initialize the display to a particular set of attributes.

Inheritance:


Public Methods

[more] ECannotInitDisplay(const std::string& _message, const std::string& _system_error, int _width, int _height, int _bpp, unsigned int _flags, void* _extra)
Create a screen error.
[more]std::string GetSystemError() const
Returns the stored sytem error
[more]int GetWidth() const
Returns the stored width
[more]int GetHeight() const
Return the stored height
[more]int GetBpp() const
Returns the stored bits-per-pixel
[more]unsigned int GetFlags() const
Returns the stored screen attributes
[more]void* GetExtra() const
Returns the stored extra data pointer


Documentation

Thrown when the screen is unable to initialize the display to a particular set of attributes. (Note: This is only thrown when the screen is completely unable to set the video. It will try to fall back on different values first, before throwing this excpetion.) This is usually only thrown by Init(...) and Resize(...).
o ECannotInitDisplay(const std::string& _message, const std::string& _system_error, int _width, int _height, int _bpp, unsigned int _flags, void* _extra)
Create a screen error.

Parameters:
_message - The message of the exception
_system_error - The error returned by the underlying system
_width - The requested width
_height - The requested height
_bpp - The request bits per pixel
_flags - The screen attributes requested
_extra - The extra data used to initialize the screen

ostd::string GetSystemError() const
Returns the stored sytem error

oint GetWidth() const
Returns the stored width

oint GetHeight() const
Return the stored height

oint GetBpp() const
Returns the stored bits-per-pixel

ounsigned int GetFlags() const
Returns the stored screen attributes

ovoid* GetExtra() const
Returns the stored extra data pointer


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.