diff options
Diffstat (limited to 'vmchooser/inc/SWindow.h')
-rw-r--r-- | vmchooser/inc/SWindow.h | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/vmchooser/inc/SWindow.h b/vmchooser/inc/SWindow.h index e1994ec..777b04b 100644 --- a/vmchooser/inc/SWindow.h +++ b/vmchooser/inc/SWindow.h @@ -5,7 +5,7 @@ #include <fltk/Window.h> #include <fltk/ReturnButton.h> #include <fltk/Browser.h> -#include <fltk/TextDisplay.h> +//#include <fltk/TextDisplay.h> #include <fltk/ItemGroup.h> #include <fltk/Item.h> #include <fltk/SharedImage.h> @@ -29,9 +29,9 @@ private: fltk::Browser sel; // TextDisplay to display info about current session - fltk::TextDisplay info; +// fltk::TextDisplay info; // TextBuffer buf is used for info - fltk::TextBuffer buf; +// fltk::TextBuffer buf; // currently selected Browser-Item fltk::Item* curr; @@ -51,11 +51,11 @@ private: * ctor with some reasonable default values */ SWindow(char* p = "Choose your session!") : - fltk::Window(fltk::USEDEFAULT,fltk::USEDEFAULT,500,650,p, true), - go(10,630, 490, 20, "Ausführen"), - sel(10,10, 480, 500), - info(10, 510, 480, 110), - buf() + fltk::Window(fltk::USEDEFAULT,fltk::USEDEFAULT,500,550,p, true), + go(10,520, 490, 20, "Ausführen"), + sel(10,10, 480, 500) //, +// info(10, 510, 480, 110), +// buf() { border(false); go.callback(cb_return,this); @@ -66,25 +66,13 @@ private: // (one Column for a lock-symbol) int widths[] = { 450, 20 }; sel.column_widths(widths); - info.callback(cb_info, this); +// info.callback(cb_info, this); resizable(sel); end(); - info.wrap_mode(true, 0); +// info.wrap_mode(true, 0); //sel.style(fltk::Browser::default_style); sel.indented(1); - - /* Getting foldername of the pictures - obsolete ? */ -// pathsize = 200; - - /* Var for the folder name */ -// pname = (char*) malloc(pathsize); -// int result; -// -// result = readlink("/proc/self/exe", pname, pathsize); -// if (result > 0) { -// pname[result] = 0; /* add the NULL - not from readlink */ -// } }; public: |