X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;h=aed042d51ae345b6b0cdd05d8e65c7cccdcb2e8a;hp=6b52a094730c06e6f089efe1e5244554095a2d37;hb=d9c0c3792133f87cd224dc22be428be8ddc016d8;hpb=1ccfbc6588b569fdf1ac195f8999231169b7957d diff --git a/src/screen.h b/src/screen.h index 6b52a09..aed042d 100644 --- a/src/screen.h +++ b/src/screen.h @@ -72,6 +72,9 @@ namespace IPDF void RequestQuit() {m_no_quit_requested = false;} bool QuitRequested() const {return !m_no_quit_requested;} + + void ShowDebugFont(bool show = true) {m_show_debug_font = show;} + bool DebugFontShown() const {return m_show_debug_font;} private: void ResizeViewport(int width, int height); void DebugFontFlush(); @@ -104,6 +107,7 @@ namespace IPDF int m_debug_font_index_head; View * m_view; bool m_no_quit_requested; + bool m_show_debug_font; }; }