Scroom 0.14-49-gb7ae7a6d
Loading...
Searching...
No Matches
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
116{
117 ViewInterface::Ptr const v = vi.lock();
118 if(v)
119 {
120 Scroom::GtkHelpers::sync_on_ui_thread([=] { v->invalidate(); });
121 }
122}
std::shared_ptr< ViewInterface > Ptr
Definition viewinterface.hh:193
void sync_on_ui_thread(T f)
Definition gtk-helpers.hh:59
ViewInterface::Ptr const vi
Definition pipette-tests.cc:186

Referenced by TiledBitmapViewData::tileLoaded().

Here is the call graph for this function:
Here is the caller graph for this function: