Scroom  0.14
tiledbitmapviewdata.cc File Reference
#include "tiledbitmapviewdata.hh"
#include <utility>
#include <scroom/gtk-helpers.hh>
#include <scroom/progressinterfacehelpers.hh>
#include "tileviewstate.hh"
Include dependency graph for tiledbitmapviewdata.cc:

Functions

static void invalidate_view (const ViewInterface::WeakPtr &vi)
 

Function Documentation

◆ invalidate_view()

static void invalidate_view ( const ViewInterface::WeakPtr vi)
static
114 {
115  ViewInterface::Ptr const v = vi.lock();
116  if(v)
117  {
118  Scroom::GtkHelpers::sync_on_ui_thread([=] { v->invalidate(); });
119  }
120 }

Referenced by TiledBitmapViewData::tileLoaded().

Here is the call graph for this function:
Here is the caller graph for this function:
ViewInterface::Ptr
boost::shared_ptr< ViewInterface > Ptr
Definition: viewinterface.hh:193
Scroom::GtkHelpers::sync_on_ui_thread
void sync_on_ui_thread(T f)
Definition: gtk-helpers.hh:59