More Pimpl work
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m39s
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m39s
This commit is contained in:
@@ -39,10 +39,20 @@ private:
|
||||
// if (pPlatform) { delete pPlatform; };
|
||||
// }
|
||||
//
|
||||
// Example for definition:
|
||||
// class RWindowImpl::Platform {
|
||||
// public:
|
||||
// Platform() = default;
|
||||
// public:
|
||||
// int a;
|
||||
// int b;
|
||||
// int c;
|
||||
// };
|
||||
//
|
||||
// - Maxine
|
||||
class Platform;
|
||||
Platform* pPlatform = nullptr;
|
||||
protected:
|
||||
protected: // Should maybe make private
|
||||
int width = 1280;
|
||||
int height = 720;
|
||||
|
||||
|
@@ -16,6 +16,8 @@
|
||||
// So should we do derived platform-specific subclasses?
|
||||
// The intended goal of the ReWindow class is a one-stop object that handles window management on **ALL** platforms
|
||||
|
||||
using namespace ReWindow;
|
||||
|
||||
Window window;
|
||||
XEvent xev;
|
||||
Display* display = XOpenDisplay(nullptr);
|
||||
@@ -35,8 +37,12 @@ Vector2 render_area_position = {0, 0};
|
||||
Vector2 position = {0, 0};
|
||||
bool should_poll_x_for_mouse_pos = true;
|
||||
|
||||
class RWindowImpl::Platform {
|
||||
|
||||
using namespace ReWindow;
|
||||
};
|
||||
|
||||
|
||||
//using namespace ReWindow;
|
||||
|
||||
void RWindowImpl::Raise() const {
|
||||
Logger::Debug(std::format("Raising window '{}'", this->title));
|
||||
|
Reference in New Issue
Block a user