git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin4 - (hack) Add downscaled bitmap font
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin4_src
/
Server
/
include
/
video.hpp
diff --git
a/Usermode/Applications/axwin4_src/Server/include/video.hpp
b/Usermode/Applications/axwin4_src/Server/include/video.hpp
index
baa75d2
..
3738099
100644
(file)
--- 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_fd;
unsigned int m_width;
unsigned int m_height;
+ int m_bufferFormat;
public:
CVideo(const CConfigVideo& config);
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 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();
};
};
};
};
UCC
git Repository :: git.ucc.asn.au