Transferring loads of array variables from Stack to Heap

This commit is contained in:
Hombre
2011-01-01 03:28:27 +01:00
parent 5ee87be11b
commit 9fa432880c
26 changed files with 190 additions and 72 deletions

View File

@@ -43,7 +43,7 @@ private:
CurveType selected;
PopUpToggleButton* curveType;
unsigned int histogram[256]; // histogram values
unsigned int* histogram; // histogram values
bool bgHistValid;
CurveEditorGroup* group;
@@ -57,7 +57,7 @@ public:
friend class CurveEditorGroup;
CurveEditor (Glib::ustring text, CurveEditorGroup* ceGroup);
//~CurveEditor ();
~CurveEditor ();
void typeSelectionChanged (int n);
void curveTypeToggled();
void setCurve (const std::vector<double>& p);