plotMM



hi there,

 I'm trying to use plotMM which is quick easy to use but I don't want to modify header files so I would like to use derived class. But there's some ' enum ' object and I would like to add some element into it from my own file but I don't know how. I know that's it's not really a gtkmm problem but more a C++ one and i'm apologize for it.

  Here is the problem:

namespace PlotMM
{
...
    enum CurveStyleID
    {
     CURVE_NONE,
     CURVE_LINES,
     CURVE_STICKS,
     CURVE_L_STEPS,
     CURVE_C_STEPS,
     CURVE_R_STEPS,
     CURVE_DOTS,
     CurveStyleCnt
    };
... 
    class Curve : public PlotMM::ObjectBase
    {
 ...
 protected:
  CurveStyleID cstyle;
 ...
     }
}
class MyPlot: public Plotmm::Curve
{
 
}
 
How can i do?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]