COIN-OR::LEMON - Graph Library

Changeset 23:d0e4ac77bafe in glemon-0.x for graph-displayer.cc


Ignore:
Timestamp:
06/17/05 16:53:28 (19 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@1984
Message:

Little beauty fault is corrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • graph-displayer.cc

    r4 r23  
    77#define MAIN_PART
    88
    9 std::string * property_strings;
    10 double * property_defaults;
     9std::vector <std::string> property_strings;
     10std::vector <double> property_defaults;
    1111
    1212
     
    1616  //initializing
    1717
    18   property_strings=new std::string[PROPERTY_NUM];
     18  //  property_strings=new std::string[PROPERTY_NUM];
    1919  property_strings[WIDTH]="Width";
    2020  property_strings[COLOR]="Color";
    2121  property_strings[TEXT]="Text";
    2222
    23   property_defaults=new double[PROPERTY_NUM];
     23  //property_defaults=new double[PROPERTY_NUM];
    2424  property_defaults[WIDTH]=10.0;
    2525  property_defaults[COLOR]=100;
Note: See TracChangeset for help on using the changeset viewer.