Ignore:
Timestamp:
11/18/14 17:01:07 (10 years ago)
Author:
Maciej Komosinski
Message:

String-type properties can now have a default value stored in their definition, just like numerics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.h

    r247 r253  
    136136                @return 0 if min/max/def information is not available */
    137137        int getMinMax(int prop, double& minumum, double& maximum, double& def);
     138        int getMinMax(int prop, int& minumum, int& maximum, SString& def);
    138139
    139140        virtual void setDefault(bool numericonly = false);
     
    228229protected:
    229230        virtual void *getTarget(int i);
    230         virtual ParamEntry *entry(int i) = 0;
    231231        const char* myname;
    232232        bool dontcheckchanges;
     
    249249        void* getSelected() { return object; }
    250250
     251        virtual ParamEntry *entry(int i) = 0;
    251252        const char *id(int i) { return (i >= getPropCount()) ? 0 : entry(i)->id; }
    252253        const char *name(int i) { return entry(i)->name; }
Note: See TracChangeset for help on using the changeset viewer.