Changeset 1882:2c3f6c7e01b4 in lemon-0.x
- Timestamp:
- 01/06/06 15:36:46 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2457
- Location:
- gui
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/Makefile.am
r1876 r1882 28 28 map_win.cc \ 29 29 map_win.h \ 30 mw-mapselector.cc \ 30 mapselector.cc \ 31 mapselector.h \ 31 32 nbtab.h \ 32 33 nbtab.cc \ -
gui/map_win.h
r1849 r1882 8 8 #include <all_include.h> 9 9 #include <nbtab.h> 10 #include <mapselector.h> 10 11 #include <libgnomecanvasmm.h> 11 12 #include <libgnomecanvasmm/polygon.h> … … 16 17 class MapWin : public Gtk::Window 17 18 { 18 19 class MapSelector : public Gtk::HBox20 {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 determines51 ///which button was that and after that calls the52 ///appropriate function of the \ref GraphDisplayerCanvas53 ///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 67 19 protected: 68 20 NoteBookTab & mytab;
Note: See TracChangeset
for help on using the changeset viewer.