00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include "DataWin.h"
00031
00032 #include "icons.h"
00033
00034
00035 FXIMPLEMENT(DataWinDialog, FXDialogBox, NULL, 0)
00036
00037
00038 DataWinDialog::~DataWinDialog()
00039 {
00040
00041 }
00042
00043
00044
00045
00046
00047
00048
00049 DataWinDialog::DataWinDialog(FXApp *app, FXWindow* win) : FXDialogBox(app, "Colourscale Image", DECOR_BORDER|DECOR_RESIZE|DECOR_TITLE|DECOR_MENU|DECOR_MINIMIZE|DECOR_MAXIMIZE, 0, 0, 500, 500)
00050 {
00051 setIcon((FXIcon*)(new FXGIFIcon(app, ic_gs32, 0, IMAGE_OPAQUE)));
00052 setMiniIcon((FXIcon*)(new FXGIFIcon(app, ic_gs16, 0, IMAGE_OPAQUE)));
00053
00054
00055 FXVerticalFrame *frame = new FXVerticalFrame(this, LAYOUT_SIDE_TOP|FRAME_NONE|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
00056 dataImageview = new ImageView(frame, NULL, win, ID_LS_SELREQ, LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 0, 0);
00057 positionLabel = new FXLabel(frame, "x = , y = , swp =", NULL, LAYOUT_FILL_X|LAYOUT_BOTTOM, 0, 0, 0, 0, 0, 0, 0, 0);
00058
00059
00060
00061
00062
00063 }
00064
00065
00066
00067 FXIMPLEMENT(LineWinDialog, FXDialogBox, NULL, 0)
00068
00069
00070 LineWinDialog::~LineWinDialog()
00071 {
00072 }
00073
00074
00075
00076
00077
00078
00079
00080 LineWinDialog::LineWinDialog(FXApp* app, FXWindow* win) : FXDialogBox(app, "Linescan Image", DECOR_BORDER|DECOR_RESIZE|DECOR_TITLE|DECOR_MENU|DECOR_MINIMIZE|DECOR_MAXIMIZE, 0, 500, 500, 200)
00081 {
00082 setIcon((FXIcon*)(new FXGIFIcon(app, ic_ls32, 0, IMAGE_OPAQUE)));
00083 setMiniIcon((FXIcon*)(new FXGIFIcon(app, ic_ls16, 0, IMAGE_OPAQUE)));
00084
00085 FXVerticalFrame *frame = new FXVerticalFrame(this, LAYOUT_SIDE_TOP|FRAME_NONE|LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
00086 lineImageview = new ImageView(frame, NULL, win, ID_LS_ZOOM, LAYOUT_FILL_X|LAYOUT_FILL_Y, 0, 0, 0, 0);
00087 positionLabel = new FXLabel(frame, "x/y = , z =", NULL, LAYOUT_FILL_X|LAYOUT_BOTTOM, 0, 0, 0, 0, 0, 0, 0, 0);
00088
00089 }