Equalizer  1.11.0
Parallel Rendering Framework
windowSettings.h
1 
2 /* Copyright (c) 2014, Daniel Nachbaur <danielnachbaur@gmail.com>
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License version 2.1 as published
6  * by the Free Software Foundation.
7  *
8  * This library is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11  * details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this library; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
16  */
17 
18 #ifndef EQ_WINDOW_SETTINGS_H
19 #define EQ_WINDOW_SETTINGS_H
20 
21 #include <eq/api.h>
22 #include <eq/types.h>
23 #include <eq/fabric/windowSettings.h> // base class
24 
25 
26 namespace eq
27 {
28 namespace detail { class WindowSettings; }
29 
32 {
33 public:
35  EQ_API WindowSettings();
36 
38  EQ_API ~WindowSettings();
39 
41  EQ_API WindowSettings( const WindowSettings& rhs );
42 
44  EQ_API WindowSettings& operator=( const WindowSettings& rhs );
45 
47  EQ_API void setSharedContextWindow( const SystemWindow* window );
48 
50  EQ_API const SystemWindow* getSharedContextWindow() const;
51 
57  EQ_API uint32_t getColorFormat() const;
58 
59 private:
60  detail::WindowSettings* const _impl;
61 };
62 }
63 
64 
65 #endif // EQ_WINDOW_SETTINGS_H
A set of settings to setup an eq::fabric::Window.
A set of settings to setup an eq::SystemWindow.
EQ_API void setSharedContextWindow(const SystemWindow *window)
EQ_API ~WindowSettings()
Destroy the WindowSettings.
The Equalizer client library.
Definition: eq/agl/types.h:23
EQ_API uint32_t getColorFormat() const
The interface definition for system-specific windowing code.
Definition: systemWindow.h:35
EQ_API const SystemWindow * getSharedContextWindow() const
EQ_API WindowSettings()
Create a new WindowSettings.