diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-05-30 19:35:13 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-07-19 14:09:33 +0200 |
commit | 161695eb66f7da5d7a9051b186306f39395fb8c0 (patch) | |
tree | d518b38deadd9b5f7be665c7c5316c71543165e1 /wsd/ClientSession.hpp | |
parent | 3352603011bda73b201992d5b491040050ea5ff4 (diff) |
Store client's visible are information in wsd
Change-Id: Iec3c146181b7db2e76247d5775076e6ac90eed2c
Diffstat (limited to 'wsd/ClientSession.hpp')
-rw-r--r-- | wsd/ClientSession.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wsd/ClientSession.hpp b/wsd/ClientSession.hpp index df7faa45f..919bc8dbd 100644 --- a/wsd/ClientSession.hpp +++ b/wsd/ClientSession.hpp @@ -16,6 +16,7 @@ #include "SenderQueue.hpp" #include "DocumentBroker.hpp" #include <Poco/URI.h> +#include <Rectangle.hpp> class DocumentBroker; @@ -176,6 +177,18 @@ private: uint64_t _keyEvents; SenderQueue<std::shared_ptr<Message>> _senderQueue; + + /// Visible area of the client + Util::Rectangle _clientVisibleArea; + + /// Selected part of the document viewed by the client (no parts in Writer) + int _clientSelectedPart; + + /// Zoom properties of the client + int _tileWidthPixel; + int _tileHeightPixel; + int _tileWidthTwips; + int _tileHeightTwips; }; #endif |