COIN-OR::LEMON - Graph Library

Changeset 1882:2c3f6c7e01b4 in lemon-0.x


Ignore:
Timestamp:
01/06/06 15:36:46 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2457
Message:

MapSelector? has become a standalone class.

Location:
gui
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • gui/Makefile.am

    r1876 r1882  
    2828        map_win.cc \
    2929        map_win.h \
    30         mw-mapselector.cc \
     30        mapselector.cc \
     31        mapselector.h \
    3132        nbtab.h \
    3233        nbtab.cc \
  • gui/map_win.h

    r1849 r1882  
    88#include <all_include.h>
    99#include <nbtab.h>
     10#include <mapselector.h>
    1011#include <libgnomecanvasmm.h>
    1112#include <libgnomecanvasmm/polygon.h>
     
    1617class MapWin : public Gtk::Window
    1718{
    18 
    19   class MapSelector : public Gtk::HBox
    20   {
    21   protected:
    22     sigc::signal<void, std::string> signal_cbt;
    23     sigc::signal<void, bool> signal_newmapwin;
    24 
    25     int id;
    26 
    27     bool itisedge;
    28 
    29     bool default_state;
    30 
    31     bool set_new_map;
    32 
    33     Gtk::ComboBoxText cbt;
    34 
    35     Gtk::Button * newbut, * defbut;
    36 
    37     Gtk::HBox hbox;
    38 
    39     Gtk::Label * label;
    40 
    41   public:
    42 
    43     MapSelector(std::vector<std::string>, std::string, int, bool);
    44 
    45     sigc::signal<void, std::string> signal_cbt_ch();
    46     sigc::signal<void, bool> signal_newmapwin_needed();
    47 
    48     void update_list( std::vector<std::string> );
    49 
    50     ///If a radiobutton is clicked, this function determines
    51     ///which button was that and after that calls the
    52     ///appropriate function of the \ref GraphDisplayerCanvas
    53     ///to change the visible values of that attribute.
    54     virtual void comboChanged();
    55 
    56     virtual void new_but_pressed();
    57 
    58     virtual void reset();
    59 
    60     Glib::ustring get_active_text();
    61     void set_active_text(Glib::ustring);
    62     void append_text(Glib::ustring);
    63   };
    64 
    65 
    66 
    6719protected:
    6820  NoteBookTab & mytab;
Note: See TracChangeset for help on using the changeset viewer.