X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;h=ddcf8cace42c35083c763c874250fcd2009c7a63;hp=66590e717bd238046d30b27f3ac18cbe08ebf70e;hb=141418468db6f77c6fd6ba625b5d3278f4b57da5;hpb=700f1449af19115ff2bbe50ad67ea7c73f9aa5cd 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; }; }