X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fview.cpp;h=a953579e1ef307b4639cc0c2424c4f5b3d455102;hp=e0efce949b3f0473bdd256be1015617bd083596c;hb=6dd539966821debd18e0b86ed126742cd81d7fc9;hpb=63b52d964e75f9224645c6fbb4ba4387ada506f8;ds=sidebyside diff --git a/src/view.cpp b/src/view.cpp index e0efce9..a953579 100644 --- a/src/view.cpp +++ b/src/view.cpp @@ -3,6 +3,10 @@ #include "screen.h" #include "gl_core44.h" +#ifndef CONTROLPANEL_DISABLED + #include "controlpanel.h" +#endif //CONTROLPANEL_DISABLED + using namespace IPDF; using namespace std; @@ -239,6 +243,11 @@ void View::Render(int width, int height) m_cached_display.Blit(); // blit FrameBuffer to screen m_buffer_dirty = false; glPopDebugGroup(); + +#ifndef CONTROLPANEL_DISABLED + ControlPanel::Update(); +#endif //CONTROLPANEL_DISABLED + } #ifndef QUADTREE_DISABLED