From 47b57655a0cf98513de50240fa335d8b46e68b61 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 28 Apr 2002 10:12:41 +0000 Subject: Make code dialog wider. Make menubar only 25 pixels high to match current defaults. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/fluid.cxx | 6 +++--- fluid/function_panel.cxx | 8 ++++---- fluid/function_panel.fl | 18 +++++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index ba1972f60..c61f3d9c8 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1,5 +1,5 @@ // -// "$Id: fluid.cxx,v 1.15.2.13.2.13 2002/04/01 16:19:32 easysw Exp $" +// "$Id: fluid.cxx,v 1.15.2.13.2.14 2002/04/28 10:12:41 easysw Exp $" // // FLUID main entry for the Fast Light Tool Kit (FLTK). // @@ -400,7 +400,7 @@ Fl_Menu_Item Main_Menu[] = { #define BROWSERWIDTH 300 #define BROWSERHEIGHT 500 #define WINWIDTH 300 -#define MENUHEIGHT 30 +#define MENUHEIGHT 25 #define WINHEIGHT (BROWSERHEIGHT+MENUHEIGHT) extern void fill_in_New_Menu(); @@ -506,5 +506,5 @@ int main(int argc,char **argv) { } // -// End of "$Id: fluid.cxx,v 1.15.2.13.2.13 2002/04/01 16:19:32 easysw Exp $". +// End of "$Id: fluid.cxx,v 1.15.2.13.2.14 2002/04/28 10:12:41 easysw Exp $". // diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index 5d696abaf..0007f6f94 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -68,9 +68,9 @@ Fl_Button *code_panel_cancel=(Fl_Button *)0; Fl_Window* make_code_panel() { Fl_Window* w; - { Fl_Window* o = code_panel = new Fl_Window(290, 175, "code"); + { Fl_Window* o = code_panel = new Fl_Window(548, 175, "code"); w = o; - { Fl_Input* o = code_input = new Fl_Input(10, 10, 270, 120); + { Fl_Input* o = code_input = new Fl_Input(10, 10, 525, 120); o->tooltip("C/C++ code."); o->type(4); o->labelsize(12); @@ -79,10 +79,10 @@ Fl_Window* make_code_panel() { o->when(FL_WHEN_NEVER); Fl_Group::current()->resizable(o); } - { Fl_Return_Button* o = code_panel_ok = new Fl_Return_Button(115, 140, 80, 25, "OK"); + { Fl_Return_Button* o = code_panel_ok = new Fl_Return_Button(370, 140, 80, 25, "OK"); w->hotspot(o); } - { Fl_Button* o = code_panel_cancel = new Fl_Button(200, 140, 80, 25, "Cancel"); + { Fl_Button* o = code_panel_cancel = new Fl_Button(455, 140, 80, 25, "Cancel"); o->shortcut(0xff1b); } o->set_modal(); diff --git a/fluid/function_panel.fl b/fluid/function_panel.fl index 2470b8071..369311164 100644 --- a/fluid/function_panel.fl +++ b/fluid/function_panel.fl @@ -1,5 +1,5 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0008 +version 1.0100 header_name {.h} code_name {.cxx} gridx 5 @@ -42,18 +42,18 @@ Function {make_code_panel()} {open } { Fl_Window code_panel { label code open - xywh {260 242 290 175} resizable modal visible + xywh {260 242 548 175} resizable modal visible } { Fl_Input code_input { - tooltip {C/C++ code.} xywh {10 10 270 120} type Multiline labelsize 12 align 0 when 0 textfont 4 resizable + tooltip {C/C++ code.} xywh {10 10 525 120} type Multiline labelsize 12 align 0 when 0 textfont 4 resizable } Fl_Return_Button code_panel_ok { - label OK - xywh {115 140 80 25} hotspot + label OK selected + xywh {370 140 80 25} hotspot } Fl_Button code_panel_cancel { - label Cancel - xywh {200 140 80 25} shortcut 0xff1b + label Cancel selected + xywh {455 140 80 25} shortcut 0xff1b } } } @@ -89,7 +89,7 @@ Function {make_declblock_panel()} {open } { Fl_Window declblock_panel { label {declaration block} open - xywh {314 255 295 130} resizable modal visible + xywh {184 572 295 130} resizable modal visible } { Fl_Input decl_before_input { tooltip {\#ifdef or similar conditional declaration block.} xywh {10 10 275 25} labelsize 12 align 5 when 0 textfont 4 resizable @@ -144,7 +144,7 @@ or typedef like "typedef char byte;"} Function {make_class_panel()} {open } { Fl_Window class_panel { - label class open selected + label class open xywh {517 813 285 170} resizable modal visible } { Fl_Light_Button c_public_button { -- cgit v1.2.3