15#ifdef WITH_CXX_GUARDEDALLOC
25 getCurrentStyleModule()->setAlwaysRefresh(
b);
30 getCurrentStyleModule()->setCausal(
b);
35 getCurrentStyleModule()->setDrawable(
b);
40 return getCurrentStyleModule()->getAlwaysRefresh();
45 return getCurrentStyleModule()->getCausal();
50 return getCurrentStyleModule()->getDrawable();
60#ifdef WITH_CXX_GUARDEDALLOC
61 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:Module")
Class to define a canvas designed to draw style modules.
Read Guarded memory(de)allocation.
Class representing a style module.
static Canvas * getInstance()
StyleModule * getCurrentStyleModule()
static void setDrawable(bool b=true)
static void setAlwaysRefresh(bool b=true)
static void setCausal(bool b=true)
static bool getDrawable()
static bool getAlwaysRefresh()
local_group_size(16, 16) .push_constant(Type b