Browse Source

Added missing changes that were needed to use static functions in Win32Window.cpp.

David Piuva 5 years ago
parent
commit
0a536a34b6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/DFPSR/gui/BackendWindow.h

+ 3 - 3
Source/DFPSR/gui/BackendWindow.h

@@ -41,7 +41,7 @@ namespace dsr {
 //   Minimalism reduces the cost of porting core functionality to new operating systems.
 //     All other features should be optional.
 class BackendWindow {
-protected:
+public:
 	String title;
 	// Events
 	List<InputEvent*> eventQueue;
@@ -52,7 +52,7 @@ private:
 	int requestingResize = false;
 	int requestedWidth = 0;
 	int requestedHeight = 0;
-protected:
+public:
 	// Request to resize the window.
 	//   When the implementation receives a resize, call receiveWindowResize with the new dimensions.
 	//     If requestingResize is already true, it will just overwrite the old request.
@@ -69,7 +69,7 @@ public:
 	virtual bool isFullScreen() = 0;
 	virtual int getWidth() const = 0;
 	virtual int getHeight() const = 0;
-protected:
+public:
 	// Back-end interface
 	// Responsible for adding events to eventQueue
 	virtual void prefetchEvents() = 0;