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=baa75d24af5872d386ac4fab46976c172b12d805;hpb=b471bc9adca2cf2126c2b579bf0b33cedd2839a4;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 baa75d24..3738099b 100644 --- a/Usermode/Applications/axwin4_src/Server/include/video.hpp +++ b/Usermode/Applications/axwin4_src/Server/include/video.hpp @@ -18,10 +18,21 @@ class CVideo int m_fd; unsigned int m_width; unsigned int m_height; + int m_bufferFormat; 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(); }; };