summaryrefslogtreecommitdiff
path: root/fluid/alignment_panel.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-04-01 19:58:08 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-04-01 19:58:08 +0000
commitcd339710f0b1c3bbaa080978f0e6ee01f4fdc204 (patch)
treef54e63770ffb4ea27c89071ca8d26cb4995e5640 /fluid/alignment_panel.cxx
parent3fd86acaec37d8fefe98c470ddd01a20499df579 (diff)
FLUID shell command patch from Erco.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/alignment_panel.cxx')
-rw-r--r--fluid/alignment_panel.cxx19
1 files changed, 11 insertions, 8 deletions
diff --git a/fluid/alignment_panel.cxx b/fluid/alignment_panel.cxx
index 352f531b7..c7d6c6a7c 100644
--- a/fluid/alignment_panel.cxx
+++ b/fluid/alignment_panel.cxx
@@ -1,4 +1,4 @@
-// generated by Fast Light User Interface Designer (fluid) version 1.0102
+// generated by Fast Light User Interface Designer (fluid) version 1.0104
#include "alignment_panel.h"
@@ -110,6 +110,7 @@ Fl_Window* make_project_window() {
}
return w;
}
+Fl_Text_Buffer *shell_run_buffer;
Fl_Window *settings_window=(Fl_Window *)0;
@@ -144,7 +145,7 @@ static void cb_prevpos_button(Fl_Check_Button*, void*) {
Fl_Window* make_settings_window() {
Fl_Window* w;
- { Fl_Window* o = settings_window = new Fl_Window(255, 213, "GUI Settings");
+ { Fl_Window* o = settings_window = new Fl_Window(255, 210, "GUI Settings");
w = o;
{ Fl_Button* o = new Fl_Button(185, 179, 60, 25, "Close");
o->tooltip("Close this dialog.");
@@ -223,14 +224,14 @@ static void cb_Cancel(Fl_Button*, void*) {
Fl_Window *shell_run_window=(Fl_Window *)0;
-Fl_Browser *shell_run_list=(Fl_Browser *)0;
-
Fl_Return_Button *shell_run_button=(Fl_Return_Button *)0;
static void cb_shell_run_button(Fl_Return_Button*, void*) {
shell_run_window->hide();
}
+Fl_Text_Display *shell_run_display=(Fl_Text_Display *)0;
+
Fl_Window* make_shell_window() {
Fl_Window* w;
{ Fl_Window* o = shell_window = new Fl_Window(450, 145, "Shell Command");
@@ -279,13 +280,15 @@ Fl_Window* make_shell_window() {
}
{ Fl_Window* o = shell_run_window = new Fl_Window(555, 435, "Shell Command Output");
w = o;
- { Fl_Browser* o = shell_run_list = new Fl_Browser(10, 10, 535, 380);
+ { Fl_Return_Button* o = shell_run_button = new Fl_Return_Button(465, 400, 80, 25, "Close");
+ o->callback((Fl_Callback*)cb_shell_run_button);
+ }
+ { Fl_Text_Display* o = shell_run_display = new Fl_Text_Display(10, 10, 530, 380);
o->textfont(4);
o->textsize(12);
Fl_Group::current()->resizable(o);
- }
- { Fl_Return_Button* o = shell_run_button = new Fl_Return_Button(465, 400, 80, 25, "Close");
- o->callback((Fl_Callback*)cb_shell_run_button);
+ shell_run_buffer = new Fl_Text_Buffer();
+ shell_run_display->buffer(shell_run_buffer);
}
o->end();
}