X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;h=ddcf8cace42c35083c763c874250fcd2009c7a63;hp=66590e717bd238046d30b27f3ac18cbe08ebf70e;hb=bdda0103bf26d215d41093316ca0e15cd67fec1d;hpb=45806117a53330b9f0c9c60310d79c56e960fd1f diff --git a/src/screen.h b/src/screen.h index 66590e7..ddcf8ca 100644 --- a/src/screen.h +++ b/src/screen.h @@ -6,6 +6,7 @@ #include #include "stb_truetype.h" +#include "graphicsbuffer.h" namespace IPDF { @@ -59,6 +60,7 @@ namespace IPDF void RenderBMP(const char * filename) const; private: void ResizeViewport(int width, int height); + void DebugFontFlush(); MouseHandler m_mouse_handler; int m_last_mouse_x; @@ -73,6 +75,10 @@ namespace IPDF float m_debug_font_x; float m_debug_font_y; float m_debug_font_size; + GraphicsBuffer m_debug_font_vertices; + GraphicsBuffer m_debug_font_indices; + int m_debug_font_vertex_head; + int m_debug_font_index_head; }; }