Last change
on this file since 26 was
21,
checked in by chou, 17 years ago
|
2eme release du viewer
Mise a jour graphique du Viewer.
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[21] | 1 | #include "window.h" |
---|
| 2 | |
---|
| 3 | using namespace std; |
---|
| 4 | using namespace morpheo::tools::viewer::parser; |
---|
| 5 | using namespace morpheo::tools::viewer::bdd; |
---|
| 6 | using namespace morpheo::tools::viewer::graphics; |
---|
| 7 | |
---|
| 8 | void Window::_zoomIn(){ |
---|
| 9 | cout << "zoom in" << endl; |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | void Window::_zoomOut(){ |
---|
| 13 | cout << "zoom out" << endl; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | void Window::_defautZoom(){ |
---|
| 17 | cout << "defaut zoom" << endl; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | void Window::_level(){ |
---|
| 21 | cout << "level" <<endl; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | void Window::_informations(){ |
---|
| 25 | if(!info_open){//if the informations window is not open, open it,else close it |
---|
| 26 | this->winformations(); |
---|
| 27 | info_open = true; |
---|
| 28 | } |
---|
| 29 | else{ |
---|
| 30 | winfo->close(); |
---|
| 31 | info_open = false; |
---|
| 32 | } |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | void Window::_parameters(){//if the parameteres window is not open, open it,else close it |
---|
| 36 | if(!param_open){ |
---|
| 37 | this->wparameters(); |
---|
| 38 | param_open = true; |
---|
| 39 | } |
---|
| 40 | else{ |
---|
| 41 | wparam->close(); |
---|
| 42 | param_open = false; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | void Window::_component_name(){ |
---|
| 47 | |
---|
| 48 | if(componentName) |
---|
| 49 | componentName = false; |
---|
| 50 | |
---|
| 51 | else componentName = true; |
---|
| 52 | |
---|
| 53 | repaint(); |
---|
| 54 | } |
---|
| 55 | |
---|
| 56 | void Window::_signal_name(){ |
---|
| 57 | |
---|
| 58 | if(signalName) |
---|
| 59 | signalName = false; |
---|
| 60 | |
---|
| 61 | else |
---|
| 62 | signalName = true; |
---|
| 63 | |
---|
| 64 | repaint(); |
---|
| 65 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.