From 0646a6a12e928a4c688f878c3a7cda1c73d482de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 15 Sep 2012 01:45:30 +0200 Subject: [PATCH] Contexts: updated default window names. --- src/Contexts/AbstractXWindowContext.h | 2 +- src/Contexts/GlutWindowContext.h | 2 +- src/Contexts/GlxWindowContext.h | 2 +- src/Contexts/Sdl2WindowContext.h | 2 +- src/Contexts/XEglWindowContext.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Contexts/AbstractXWindowContext.h b/src/Contexts/AbstractXWindowContext.h index 3654c255a..75e8eccd2 100644 --- a/src/Contexts/AbstractXWindowContext.h +++ b/src/Contexts/AbstractXWindowContext.h @@ -58,7 +58,7 @@ class AbstractXWindowContext: public AbstractWindowContext { * * Creates window with double-buffered OpenGL ES 2 context. */ - AbstractXWindowContext(AbstractContextHandler* contextHandler, int& argc, char** argv, const std::string& title = "Magnum X/EGL context", const Math::Vector2& size = Math::Vector2(800, 600)); + AbstractXWindowContext(AbstractContextHandler* contextHandler, int& argc, char** argv, const std::string& title = "Magnum X window context", const Math::Vector2& size = Math::Vector2(800, 600)); /** * @brief Destructor diff --git a/src/Contexts/GlutWindowContext.h b/src/Contexts/GlutWindowContext.h index a96e71b7c..f4dff7120 100644 --- a/src/Contexts/GlutWindowContext.h +++ b/src/Contexts/GlutWindowContext.h @@ -54,7 +54,7 @@ class GlutWindowContext: public AbstractWindowContext { * * Creates double-buffered RGBA window with depth and stencil buffers. */ - GlutWindowContext(int& argc, char** argv, const std::string& title = "Magnum GLUT context", const Math::Vector2& size = Math::Vector2(800, 600)); + GlutWindowContext(int& argc, char** argv, const std::string& title = "Magnum GLUT window context", const Math::Vector2& size = Math::Vector2(800, 600)); ~GlutWindowContext(); diff --git a/src/Contexts/GlxWindowContext.h b/src/Contexts/GlxWindowContext.h index 4813b7d02..df3661af8 100644 --- a/src/Contexts/GlxWindowContext.h +++ b/src/Contexts/GlxWindowContext.h @@ -41,7 +41,7 @@ class GlxWindowContext: public AbstractXWindowContext { * Creates window with double-buffered OpenGL 3.3 core context or * OpenGL ES 2.0 context, if targetting OpenGL ES. */ - inline GlxWindowContext(int& argc, char** argv, const std::string& title = "Magnum GLX context", const Math::Vector2& size = Math::Vector2(800, 600)): AbstractXWindowContext(new GlxContextHandler, argc, argv, title, size) {} + inline GlxWindowContext(int& argc, char** argv, const std::string& title = "Magnum GLX window context", const Math::Vector2& size = Math::Vector2(800, 600)): AbstractXWindowContext(new GlxContextHandler, argc, argv, title, size) {} }; }} diff --git a/src/Contexts/Sdl2WindowContext.h b/src/Contexts/Sdl2WindowContext.h index 3117270c9..19c2cc1d6 100644 --- a/src/Contexts/Sdl2WindowContext.h +++ b/src/Contexts/Sdl2WindowContext.h @@ -54,7 +54,7 @@ class Sdl2WindowContext: public AbstractWindowContext { * Creates centered non-resizable window with double-buffered * OpenGL 3.3 context with 24bit depth buffer. */ - Sdl2WindowContext(int argc, char** argv, const std::string& title = "Magnum SDL2 context", const Math::Vector2& size = Math::Vector2(800, 600)); + Sdl2WindowContext(int argc, char** argv, const std::string& title = "Magnum SDL2 window context", const Math::Vector2& size = Math::Vector2(800, 600)); /** * @brief Destructor diff --git a/src/Contexts/XEglWindowContext.h b/src/Contexts/XEglWindowContext.h index 1f5edcc41..94f0ac034 100644 --- a/src/Contexts/XEglWindowContext.h +++ b/src/Contexts/XEglWindowContext.h @@ -40,7 +40,7 @@ class XEglWindowContext: public AbstractXWindowContext { * * Creates window with double-buffered OpenGL ES 2 context. */ - inline XEglWindowContext(int& argc, char** argv, const std::string& title = "Magnum X/EGL context", const Math::Vector2& size = Math::Vector2(800, 600)): AbstractXWindowContext(new EglContextHandler, argc, argv, title, size) {} + inline XEglWindowContext(int& argc, char** argv, const std::string& title = "Magnum X/EGL window context", const Math::Vector2& size = Math::Vector2(800, 600)): AbstractXWindowContext(new EglContextHandler, argc, argv, title, size) {} }; }}