18 #ifndef EQFABRIC_WINDOW_SETTINGS_H
19 #define EQFABRIC_WINDOW_SETTINGS_H
21 #include <eq/fabric/api.h>
22 #include <eq/fabric/pixelViewport.h>
29 namespace detail {
class WindowSettings; }
45 EQFABRIC_API WindowSettings& operator=(
const WindowSettings& rhs );
78 IATTR_ALL = IATTR_LAST
88 const int32_t value );
108 EQFABRIC_API
const std::string&
getName()
const;
111 EQFABRIC_API
void setName(
const std::string& name );
114 EQFABRIC_API
void serialize( co::DataOStream& os )
const;
117 EQFABRIC_API
void deserialize( co::DataIStream& is );
120 detail::WindowSettings*
const _impl;
126 #endif // EQFABRIC_WINDOW_SETTINGS_H
IAttribute
Possible values for integer attributes.
Screensaver (de)activation (WGL)
IAttribute
Window attributes.
A set of settings to setup an eq::fabric::Window.
No of alpha accum buffer planes.
EQFABRIC_API bool setIAttribute(const IAttribute attr, const int32_t value)
Set a window attribute.
EQFABRIC_API const std::string & getName() const
Swap sync on vertical retrace.
No of per-component color planes.
No of accumulation buffer planes.
No of multisample (AA) planes.
Default vertical resolution.
Default horizontal resolution.
Statistics gathering hint.
Window, pbuffer, FBO or OFF.
EQFABRIC_API void setName(const std::string &name)
Set the window's name.
EQFABRIC_API int32_t getIAttribute(const IAttribute attr) const
EQFABRIC_API WindowSettings()
Create a new WindowSettings.
EQFABRIC_API const PixelViewport & getPixelViewport() const
Capture mouse outside window.
Holds a 2D pixel viewport with methods for manipulation.
virtual EQFABRIC_API ~WindowSettings()
Destroy the WindowSettings.
EQFABRIC_API void setPixelViewport(const PixelViewport &pvp)
Set the window's pixel viewport wrt its parent pipe.