aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/SDisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/SDisplay.h')
-rw-r--r--win/rfb_win32/SDisplay.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/win/rfb_win32/SDisplay.h b/win/rfb_win32/SDisplay.h
index aa1a69e5..e116b483 100644
--- a/win/rfb_win32/SDisplay.h
+++ b/win/rfb_win32/SDisplay.h
@@ -24,9 +24,11 @@
#ifndef __RFB_SDISPLAY_H__
#define __RFB_SDISPLAY_H__
+#include <core/Configuration.h>
+
#include <rfb/SDesktop.h>
#include <rfb/UpdateTracker.h>
-#include <rfb/Configuration.h>
+
#include <rfb_win32/Handle.h>
#include <rfb_win32/EventManager.h>
#include <rfb_win32/SInput.h>
@@ -48,7 +50,7 @@ namespace rfb {
class SDisplayCore {
public:
virtual ~SDisplayCore() {};
- virtual void setScreenRect(const Rect& screenRect_) = 0;
+ virtual void setScreenRect(const core::Rect& screenRect_) = 0;
virtual void flushUpdates() = 0;
virtual const char* methodName() const = 0;
};
@@ -80,7 +82,8 @@ namespace rfb {
void handleClipboardRequest() override;
void handleClipboardAnnounce(bool available) override;
void handleClipboardData(const char* data) override;
- void pointerEvent(const Point& pos, uint16_t buttonmask) override;
+ void pointerEvent(const core::Point& pos,
+ uint16_t buttonmask) override;
void keyEvent(uint32_t keysym, uint32_t keycode, bool down) override;
// -=- Clipboard events
@@ -107,11 +110,11 @@ namespace rfb {
queryConnectionHandler = qch;
}
- static IntParameter updateMethod;
- static BoolParameter disableLocalInputs;
- static StringParameter disconnectAction;
- static BoolParameter removeWallpaper;
- static BoolParameter disableEffects;
+ static core::IntParameter updateMethod;
+ static core::BoolParameter disableLocalInputs;
+ static core::EnumParameter disconnectAction;
+ static core::BoolParameter removeWallpaper;
+ static core::BoolParameter disableEffects;
// -=- Use by VNC Config to determine whether hooks are available
static bool areHooksAvailable();
@@ -133,7 +136,7 @@ namespace rfb {
DeviceContext* device;
// -=- The coordinates of Window's entire virtual Screen
- Rect screenRect;
+ core::Rect screenRect;
// -=- All changes are collected in UN-CLIPPED Display coords and merged
// When they are to be flushed to the VNCServer, they are changed
@@ -162,8 +165,8 @@ namespace rfb {
// Cursor
WMCursor* cursor;
WMCursor::Info old_cursor;
- Region old_cursor_region;
- Point cursor_renderpos;
+ core::Region old_cursor_region;
+ core::Point cursor_renderpos;
// -=- Event signalled to trigger an update to be flushed
Handle updateEvent;