X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=Usermode%2FApplications%2Faxwin4_src%2FServer%2Finclude%2Fvideo.hpp;h=539410b4ec70c11c9fa06fbd369b6a98bbe2d85e;hb=8ae0b1147e613573a45fcd8e6f2f6af2aeff54ac;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..539410b4 100644 --- a/Usermode/Applications/axwin4_src/Server/include/video.hpp +++ b/Usermode/Applications/axwin4_src/Server/include/video.hpp @@ -18,10 +18,19 @@ 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); + void BlitLine(const uint32_t* src, unsigned int dst_y, unsigned int dst_x, unsigned int width); + void Flush(); + +private: + void SetBufFormat(unsigned int FormatID); + void SetCursorBitmap(); + void SetCursorPos(int X, int Y); }; };