X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fscreen.h;h=bdadd8e9ad84326d5b37d61bf83e340ff7311ae8;hp=e24bc3fdc098a23d6b36327725438ffbe8beb91a;hb=a8297c3461718f2d9afc7a2f8ca620d320ac5f97;hpb=ea4829e265bd45b9c1b8556463d10ee1e082c6ce diff --git a/src/screen.h b/src/screen.h index e24bc3f..bdadd8e 100644 --- a/src/screen.h +++ b/src/screen.h @@ -75,6 +75,8 @@ namespace IPDF void ShowDebugFont(bool show = true) {m_show_debug_font = show;} bool DebugFontShown() const {return m_show_debug_font;} + + bool Valid() const {return m_window != NULL;} private: void ResizeViewport(int width, int height); void DebugFontFlush();