mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-03 01:09:34 -05:00
Cleanup of WindowWrapper classes
This commit is contained in:
@@ -29,13 +29,17 @@
|
||||
|
||||
namespace openspace {
|
||||
|
||||
/**
|
||||
* WindowWrapper subclass wrapping the Simple Graphics Cluster Toolkit, forwarding all
|
||||
* method calls to the specific functions in the Engine and SGCTWindow classes.
|
||||
* \sa https://c-student.itn.liu.se/wiki/develop:sgct:sgct
|
||||
*/
|
||||
class SGCTWindowWrapper : public WindowWrapper {
|
||||
public:
|
||||
void setBarrier(bool enabled) override;
|
||||
void clearAllWindows() override;
|
||||
void clearAllWindows(const glm::vec4& clearColor) override;
|
||||
bool windowHasResized() const override;
|
||||
|
||||
double time() const override;
|
||||
double averageDeltaTime() const override;
|
||||
glm::vec2 mousePosition() const override;
|
||||
uint32_t mouseButtons(int maxNumber) const override;
|
||||
@@ -55,9 +59,6 @@ public:
|
||||
bool isSimpleRendering() const override;
|
||||
|
||||
void takeScreenshot() const override;
|
||||
|
||||
|
||||
// void forEachWindow(std::function<void (void)> function) override;
|
||||
};
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user