1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
# data file for the Fltk User Interface Designer (fluid)
version 1.0107
header_name {.h}
code_name {.cxx}
class FourViewsAndTrackingGUI {open
} {
Function {FourViewsAndTrackingGUI()} {open
} {
Fl_Window mainWindow {
label {IGSTK: Four Quadrants Example} open
xywh {457 58 775 710} type Double hide resizable
} {
Fl_Box Display3DWidget {
label {Display 3D}
xywh {5 5 380 330} box FLAT_BOX color 0 labelcolor 7
code0 {\#include <igstkFLTKWidget.h>}
class {igstk::FLTKWidget}
}
Fl_Box DisplayAxialWidget {
label {Display Axial}
xywh {388 5 380 330} box FLAT_BOX color 0 labelcolor 7
code0 {\#include <igstkFLTKWidget.h>}
class {igstk::FLTKWidget}
}
Fl_Box DisplaySagittalWidget {
label {Display Sagittal}
xywh {388 338 380 330} box FLAT_BOX color 0 labelcolor 7
code0 {\#include <igstkFLTKWidget.h>}
class {igstk::FLTKWidget}
}
Fl_Box DisplayCoronalWidget {
label {Display Coronal}
xywh {5 338 380 330} box FLAT_BOX color 0 labelcolor 7
code0 {\#include <igstkFLTKWidget.h>}
class {igstk::FLTKWidget}
}
Fl_Light_Button TrackingButton {
label Tracking
callback {if( o->value() ) this->EnableTracking();
else this->DisableTracking();}
xywh {11 675 85 25} labelsize 11
}
Fl_Button QuitButton {
label Quit
callback {this->Quit();}
xywh {670 675 85 25}
}
}
code {this->hasQuitted = false;} {}
}
Function {~FourViewsAndTrackingGUI()} {open return_type virtual
} {
code {delete Display3DWidget;
delete DisplayAxialWidget;
delete DisplaySagittalWidget;
delete DisplayCoronalWidget;} {}
}
Function {Quit()} {return_type {virtual void}
} {
code {this->StopViews();
mainWindow->hide();
this->hasQuitted = true;} {}
}
Function {Show()} {return_type {virtual void}
} {
code {mainWindow->show();
this->StartViews();} {}
}
Function {EnableTracking()} {return_type {virtual void}
} {}
Function {DisableTracking()} {return_type {virtual void}
} {}
decl {bool hasQuitted;} {}
Function {HasQuitted()} {return_type {virtual bool}
} {
code {return this->hasQuitted;} {}
}
Function {StartViews()} {open return_type {virtual void}
} {}
Function {StopViews()} {open selected return_type {virtual void}
} {}
}
|