Replace all g_idle_adds with IdleRegister (#3767)

This commit is contained in:
Flössie
2017-03-26 22:03:33 +02:00
parent 39ca290ca9
commit 91b44dbd08
25 changed files with 419 additions and 403 deletions

View File

@@ -45,11 +45,12 @@ struct HistogramRGBAreaIdleHelper {
class HistogramRGBArea : public Gtk::DrawingArea, public BackBuffer
{
private:
typedef const double (*TMatrix)[3];
protected:
IdleRegister idle_register;
protected:
int val;
int r;
int g;
@@ -72,7 +73,6 @@ protected:
HistogramRGBAreaIdleHelper* harih;
public:
HistogramRGBArea();
~HistogramRGBArea();
@@ -111,9 +111,10 @@ public:
class HistogramArea : public Gtk::DrawingArea, public BackBuffer
{
private:
IdleRegister idle_register;
protected:
LUTu lhist, rhist, ghist, bhist, chist;
LUTu lhistRaw, rhistRaw, ghistRaw, bhistRaw;
@@ -127,7 +128,6 @@ protected:
HistogramAreaIdleHelper* haih;
public:
explicit HistogramArea(FullModeListener *fml = nullptr);
~HistogramArea();