gui/algowin.h
changeset 1887 22fdc00894aa
parent 1879 01d41844ef46
child 1896 92ef660710f1
equal deleted inserted replaced
3:030c8539a541 4:fb5a4366be48
    23   Gtk::Button * closebutton;
    23   Gtk::Button * closebutton;
    24 
    24 
    25 protected:
    25 protected:
    26   sigc::signal<void, AlgoWin *> signal_closed;  
    26   sigc::signal<void, AlgoWin *> signal_closed;  
    27   sigc::signal<void, AlgoWin *, std::string> signal_maplist_need;  
    27   sigc::signal<void, AlgoWin *, std::string> signal_maplist_need;  
       
    28   sigc::signal<void, std::string, bool> signal_newmapwin_need;  
    28 
    29 
    29 public:
    30 public:
    30   bool closeIfEscapeIsPressed(GdkEventKey* e);
    31   bool closeIfEscapeIsPressed(GdkEventKey* e);
    31 
    32 
    32   sigc::signal<void, AlgoWin *> signal_closing();
    33   sigc::signal<void, AlgoWin *> signal_closing();
    33   sigc::signal<void, AlgoWin *, std::string> signal_maplist_needed();
    34   sigc::signal<void, AlgoWin *, std::string> signal_maplist_needed();
       
    35   sigc::signal<void, std::string, bool> signal_newmapwin_needed(){return signal_newmapwin_need;};  
    34 
    36 
    35   void emit_tab_change(std::string);
    37   void emit_tab_change(std::string);
       
    38   void emit_new_map_signal(std::string tabname, bool itisedge){signal_newmapwin_need.emit(tabname, itisedge);};
    36 
    39 
    37   AlgoWin(int, std::vector<std::string>);
    40   AlgoWin(int, std::vector<std::string>);
    38 
    41 
    39   void update_tablist(std::vector<std::string> tabnames);
    42   void update_tablist(std::vector<std::string> tabnames);
    40   void update_maplist(MapStorage *);
    43   void update_maplist(MapStorage *);