COIN-OR::LEMON - Graph Library

Changeset 1503:97836166605d in lemon-0.x


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

Little beauty fault is corrected.

Location:
gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gui/all_include.h

    r1501 r1503  
    2525
    2626#ifndef MAIN_PART
    27 extern std::string * property_strings;
    28 extern double * property_defaults;
     27extern std::vector <std::string> property_strings;
     28extern std::vector <double> property_defaults;
    2929#endif //MAIN_PART
    3030
  • gui/graph-displayer.cc

    r1440 r1503  
    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.