Changeset View
Changeset View
Standalone View
Standalone View
platformsupport/scenes/opengl/backend.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Line(s) | 54 | public: | |||
---|---|---|---|---|---|
107 | * @brief Returns the OverlayWindow used by the backend. | 107 | * @brief Returns the OverlayWindow used by the backend. | ||
108 | * | 108 | * | ||
109 | * A backend does not have to use an OverlayWindow, this is mostly for the X world. | 109 | * A backend does not have to use an OverlayWindow, this is mostly for the X world. | ||
110 | * In case the backend does not use an OverlayWindow it is allowed to return @c null. | 110 | * In case the backend does not use an OverlayWindow it is allowed to return @c null. | ||
111 | * It's the task of the caller to check whether it is @c null. | 111 | * It's the task of the caller to check whether it is @c null. | ||
112 | * | 112 | * | ||
113 | * @return :OverlayWindow* | 113 | * @return :OverlayWindow* | ||
114 | */ | 114 | */ | ||
115 | virtual OverlayWindow *overlayWindow(); | 115 | virtual OverlayWindow *overlayWindow() const; | ||
116 | /** | 116 | /** | ||
117 | * @brief Whether the creation of the Backend failed. | 117 | * @brief Whether the creation of the Backend failed. | ||
118 | * | 118 | * | ||
119 | * The SceneOpenGL should test whether the Backend got constructed correctly. If this method | 119 | * The SceneOpenGL should test whether the Backend got constructed correctly. If this method | ||
120 | * returns @c true, the SceneOpenGL should not try to start the rendering. | 120 | * returns @c true, the SceneOpenGL should not try to start the rendering. | ||
121 | * | 121 | * | ||
122 | * @return bool @c true if the creation of the Backend failed, @c false otherwise. | 122 | * @return bool @c true if the creation of the Backend failed, @c false otherwise. | ||
123 | */ | 123 | */ | ||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |