Bazaar developer reference

CvPlot::setLayoutDirty(bool)

Defined in
CvPlot.cpp, line 10918
Class
CvPlot
Hook name
CivHooks::CvPlot_setLayoutDirty

Hooks

static bool BeforeCvPlot_setLayoutDirty(CvPlot* self, bool bDirty);static void AfterCvPlot_setLayoutDirty(CvPlot* self, bool bDirty);static void ReplaceCvPlot_setLayoutDirty(void (*original)(CvPlot*, bool), CvPlot* self, bool bDirty);CivRegisterBefore<CivHooks::CvPlot_setLayoutDirty>(host, &BeforeCvPlot_setLayoutDirty);CivRegisterAfter<CivHooks::CvPlot_setLayoutDirty>(host, &AfterCvPlot_setLayoutDirty);CivRegisterReplace<CivHooks::CvPlot_setLayoutDirty>(host, &ReplaceCvPlot_setLayoutDirty);

Code

10918void CvPlot::setLayoutDirty(bool bDirty)10919{10920	if(bDirty == true)10921	{10922		GC.GetEngineUserInterface()->setDirty(PlotData_DIRTY_BIT,true);10923	}10924	m_bPlotLayoutDirty = bDirty;10925}

Calls

Called by