We could also define the shared functions like the getters in the Impl then have their functionality defined as well leaving. With that we can access the shared functions within the Impl and…
This is a good start, but consider the inheritance model for this setup, and how the user creates the object. Are we sticking with our design goal that the user has one base RWindow class that…
Bill and I came up with this pImpl setup. We figured out that we could just make an Impl class derived by RWindow as it accomplishes the same thing in an easier to read and better way. We're also…
RWindow(WindowPlatformInterface* window, InputPlatformImpl* input, RenderPlatformImpl* render) {}
class SOMETHING {
X() = 0;
Y() = 0;
Z() = 0;
}
class THINGIMPL : SOMETHING…
Bill says to use our Event system, make it global, add methods to it and have WindowProc invoke it.
We're still going to need to have a windows CPP file for the Windows implementation. This is due to Windows being dumb and deciding this is a great idea.
LRESULT CALLBACK WindowProc(HWND…