X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin4_src%2FServer%2Finclude%2Fvideo.hpp;h=3738099b4e6e1d8a636b8951dc45d136c86af2ee;hb=7f2068235fabc311332962711cd3220ce8ee2638;hp=539410b4ec70c11c9fa06fbd369b6a98bbe2d85e;hpb=47296e890b2b09cbc46db30d7fe2aeeae11a6d4a;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin4_src/Server/include/video.hpp b/Usermode/Applications/axwin4_src/Server/include/video.hpp index 539410b4..3738099b 100644 --- a/Usermode/Applications/axwin4_src/Server/include/video.hpp +++ b/Usermode/Applications/axwin4_src/Server/include/video.hpp @@ -23,14 +23,16 @@ public: CVideo(const CConfigVideo& config); void GetDims(unsigned int& w, unsigned int& h); + unsigned int width() const { return m_width; } + unsigned int height() const { return m_height; } void BlitLine(const uint32_t* src, unsigned int dst_y, unsigned int dst_x, unsigned int width); void Flush(); + void SetCursorPos(int X, int Y); private: void SetBufFormat(unsigned int FormatID); void SetCursorBitmap(); - void SetCursorPos(int X, int Y); }; };