X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin4_src%2FServer%2Finclude%2Fvideo.hpp;h=9ca7b42f3c80a1cbce2abf6726e6fbdef4ecf257;hb=aa5e13445f3d9ab6e0c0049780f38daed443104f;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..9ca7b42f 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(); + void SetCursorPos(int X, int Y); + +private: + void SetBufFormat(unsigned int FormatID); + void SetCursorBitmap(); }; };