equal
deleted
inserted
replaced
2 |
2 |
3 #ifndef MAIN_WIN_H |
3 #ifndef MAIN_WIN_H |
4 #define MAIN_WIN_H |
4 #define MAIN_WIN_H |
5 |
5 |
6 #include "all_include.h" |
6 #include "all_include.h" |
|
7 #include "algowin.h" |
7 #include "map_win.h" |
8 #include "map_win.h" |
8 #include "new_map_win.h" |
9 #include "new_map_win.h" |
9 #include "nbtab.h" |
10 #include "nbtab.h" |
10 #include <libgnomecanvasmm.h> |
11 #include <libgnomecanvasmm.h> |
11 #include <libgnomecanvasmm/polygon.h> |
12 #include <libgnomecanvasmm/polygon.h> |
23 int active_tool; |
24 int active_tool; |
24 |
25 |
25 int active_tab; |
26 int active_tab; |
26 std::vector<NoteBookTab *> tabs; |
27 std::vector<NoteBookTab *> tabs; |
27 std::vector<std::string> tabnames; |
28 std::vector<std::string> tabnames; |
|
29 |
|
30 std::set< AlgoWin* > aws; |
28 |
31 |
29 public: |
32 public: |
30 |
33 |
31 ///Constructor of the \ref NoteBookTab. It creates the menu and the \ref GraphDisplayerCanvas on which the graph will be drawn. |
34 ///Constructor of the \ref NoteBookTab. It creates the menu and the \ref GraphDisplayerCanvas on which the graph will be drawn. |
32 ///\param title is the title of the window |
35 ///\param title is the title of the window |
64 virtual void zoomFit(); |
67 virtual void zoomFit(); |
65 virtual void zoom100(); |
68 virtual void zoom100(); |
66 |
69 |
67 virtual void createMapWin(); |
70 virtual void createMapWin(); |
68 |
71 |
|
72 virtual void createAlgoWin(int); |
|
73 virtual void deRegisterAlgoWin(AlgoWin *); |
|
74 virtual void updateAlgoWins(); |
|
75 |
69 virtual void changeEditorialTool(int); |
76 virtual void changeEditorialTool(int); |
70 |
77 |
71 virtual void createNewMapWinAfterSignal(NoteBookTab *, bool); |
78 virtual void createNewMapWinAfterSignal(NoteBookTab *, bool); |
72 virtual void createNewMapWin(); |
79 virtual void createNewMapWin(); |
73 |
80 |