diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-07-09 02:09:33 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-07-09 02:09:33 +0000 |
| commit | c9d8e0feaa2281e0c3a029f982e4d8270162e792 (patch) | |
| tree | bec2cb923d2f7a749958c8973c766c94cad2b53e /test | |
| parent | 94888109688fa73d31ce4268fd2d589d948dd9f8 (diff) | |
Update fluid .fl files and generated code - remove trailing white space.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/CubeViewUI.fl | 6 | ||||
| -rw-r--r-- | test/fast_slow.fl | 6 | ||||
| -rw-r--r-- | test/inactive.fl | 6 | ||||
| -rw-r--r-- | test/keyboard_ui.fl | 6 | ||||
| -rw-r--r-- | test/mandelbrot_ui.fl | 10 | ||||
| -rw-r--r-- | test/preferences.fl | 32 | ||||
| -rw-r--r-- | test/radio.fl | 8 | ||||
| -rw-r--r-- | test/resize.fl | 6 | ||||
| -rw-r--r-- | test/tabs.fl | 6 | ||||
| -rw-r--r-- | test/tree.fl | 54 | ||||
| -rw-r--r-- | test/valuators.fl | 8 |
11 files changed, 74 insertions, 74 deletions
diff --git a/test/CubeViewUI.fl b/test/CubeViewUI.fl index af3f38856..8fe6060d7 100644 --- a/test/CubeViewUI.fl +++ b/test/CubeViewUI.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} class CubeViewUI {open } { @@ -72,4 +72,4 @@ cube->redraw();} } { code {mainWindow->show(argc, argv);} {} } -} +} diff --git a/test/fast_slow.fl b/test/fast_slow.fl index 49f2c0090..e36faf57b 100644 --- a/test/fast_slow.fl +++ b/test/fast_slow.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {} {open } { @@ -34,4 +34,4 @@ The right slider (representing a widget with high overhead) is only updated when xywh {10 10 300 180} box DOWN_BOX color 53 selection_color 47 labelfont 4 labelsize 12 align 148 } } -} +} diff --git a/test/inactive.fl b/test/inactive.fl index ab0b06828..c441826f2 100644 --- a/test/inactive.fl +++ b/test/inactive.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {} {open } { @@ -117,4 +117,4 @@ Function {} {open xywh {220 330 180 25} type Radio } } -} +} diff --git a/test/keyboard_ui.fl b/test/keyboard_ui.fl index 9da03aa2a..ab96c03c2 100644 --- a/test/keyboard_ui.fl +++ b/test/keyboard_ui.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {make_window()} {open } { @@ -715,4 +715,4 @@ Function {make_window()} {open xywh {460 70 20 20} box ROUND_UP_BOX selection_color 49 labelsize 9 align 5 step 0.1 } } -} +} diff --git a/test/mandelbrot_ui.fl b/test/mandelbrot_ui.fl index 47fa1302d..61ad2e424 100644 --- a/test/mandelbrot_ui.fl +++ b/test/mandelbrot_ui.fl @@ -1,12 +1,12 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} decl {\#include "mandelbrot.h"} {public local -} +} decl {\#include <stdlib.h>} {private local -} +} class Drawing_Window {open } { @@ -69,4 +69,4 @@ d->new_display();} } decl {void update_label();} {public local } -} +} diff --git a/test/preferences.fl b/test/preferences.fl index 2ee9e1808..6189a9769 100644 --- a/test/preferences.fl +++ b/test/preferences.fl @@ -1,44 +1,44 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} decl {\#include <FL/Fl_Preferences.H>} {public local -} +} decl {\#include <stdio.h>} {public local -} +} decl {\#include <stdlib.h>} {private local -} +} decl {\#include <FL/filename.H>} {private local -} +} decl {\#include <FL/fl_ask.H>} {private local -} +} decl {void readPrefs();} {public local -} +} decl {void writePrefs();} {public local -} +} decl {const char *project = "fltk.org";} {private local -} +} decl {const char *application = "test/preferences";} {private local -} +} Function {closeWindowCB( Fl_Widget*, void* )} {open private return_type void } { code {Fl::delete_widget(myWindow);} {} -} +} Function {saveAndCloseWindowCB( Fl_Widget*, void* )} {open private return_type void } { code {writePrefs(); Fl::delete_widget(myWindow);} {} -} +} Function {} {open return_type int } { @@ -192,7 +192,7 @@ Function {} {open return_type int } } code {readPrefs();} {} -} +} Function {readPrefs()} {open return_type void } { @@ -270,7 +270,7 @@ Fl_Preferences app( Fl_Preferences::USER, project, application ); eat.get( "binFoo2", data, 0, 0 ); **/} {selected } -} +} Function {writePrefs()} {open return_type void } { @@ -331,4 +331,4 @@ Function {writePrefs()} {open return_type void unsigned int hex = 0x2387efcd; eat.set( "binFoo", (void*)&hex, sizeof( unsigned int ) ); eat.set( "binFoo2", (void*)&bed, 256 );} {} -} +} diff --git a/test/radio.fl b/test/radio.fl index b02bc78c3..dc77dc79c 100644 --- a/test/radio.fl +++ b/test/radio.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {button_cb(Fl_Button *b, void *)} { comment {Buttons test callback} open private return_type void @@ -11,7 +11,7 @@ cb_info->value(msg); cb_info->redraw(); printf("%s\\n",msg);} {selected } -} +} Function {} {open } { @@ -97,4 +97,4 @@ Function {} {open xywh {190 148 170 62} type Multiline align 133 textsize 12 } } -} +} diff --git a/test/resize.fl b/test/resize.fl index 3186212c5..44f067563 100644 --- a/test/resize.fl +++ b/test/resize.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {} {open } { @@ -48,4 +48,4 @@ w->size(w->w()-20, w->h()-20);} xywh {150 10 160 220} box BORDER_BOX align 148 } } -} +} diff --git a/test/tabs.fl b/test/tabs.fl index a1a55c33c..efea98300 100644 --- a/test/tabs.fl +++ b/test/tabs.fl @@ -1,6 +1,6 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {} {open } { @@ -286,4 +286,4 @@ wWizard->value(wWizard->child(last));} code0 {\#include <stdlib.h>} } } -} +} diff --git a/test/tree.fl b/test/tree.fl index d6d86674e..934b83601 100644 --- a/test/tree.fl +++ b/test/tree.fl @@ -1,46 +1,46 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} decl {\#include <stdio.h>} {public global -} +} decl {\#include <FL/Fl.H>} {public global -} +} decl {\#include <FL/Fl_Tooltip.H>} {public global -} +} decl {\#include <FL/Fl_Pixmap.H>} {public global -} +} decl {\#include <FL/Fl_Group.H>} {public global -} +} decl {\#include <FL/Fl_Tree.H>} {public global -} +} decl {\#include <FL/fl_ask.H>} {public global -} +} decl {\#include <FL/fl_message.H>} {public global -} +} decl {\#include <FL/Fl_File_Chooser.H>} {public global -} +} decl {\#include <FL/Fl_Preferences.H>} {public global -} +} decl {\#include <FL/Fl_Color_Chooser.H>} {public global -} +} decl {\#include <FL/Fl_Text_Display.H>} {public global -} +} decl {int G_cb_counter = 0;} { comment {// Global callback event counter} private local -} +} Function {reason_as_name(Fl_Tree_Reason reason)} { comment {Return an Fl_Tree_Reason as a text string name} return_type {const char*} @@ -57,7 +57,7 @@ Function {reason_as_name(Fl_Tree_Reason reason)} { \#endif default: return("???"); }} {} -} +} Function {Button_CB(Fl_Widget*w, void*data)} {open return_type void } { @@ -77,7 +77,7 @@ if ( height > 50 ) height = 20; cw->resize(cw->x(), cw->y(), cw->w(), height); tree->redraw(); // adjusted height fprintf(stderr, "'%s' button pushed (height=%d)\\n", w->label(), height);} {} -} +} Function {AssignUserIcons()} { comment {Assign user icons to the items} open @@ -128,7 +128,7 @@ for ( Fl_Tree_Item *item = tree->first(); item; item=item->next()) item->usericon(0); tree->redraw();} {} -} +} Function {RebuildTree()} { comment {Rebuild the 'example tree' from scratch} open @@ -255,7 +255,7 @@ tree->close("500 Items"); // close the 500 items by default AssignUserIcons(); tree->redraw();} {} -} +} Function {EditColor(Fl_Color &val)} { comment {Prompt the user to change the specified color} return_type Fl_Color @@ -276,7 +276,7 @@ val = fl_rgb_color(r,g,b); return(ret);} {} -} +} Function {UpdateColorChips()} { comment {Updates the color chips with current colors from widget} open return_type void @@ -292,7 +292,7 @@ all_labelfgcolor_button->color(tree->item_labelfgcolor()); // use default all_labelbgcolor_button->color(tree->item_labelbgcolor()); // use default window->redraw();} {} -} +} Function {GetTreeMarginBottom()} { comment {Get the current 'margin bottom' size @@ -303,7 +303,7 @@ return tree->marginbottom(); \#else return 0; \#endif} {} -} +} Function {GetTreeWidgetMarginLeft()} { comment {Get the current 'margin bottom' size @@ -314,7 +314,7 @@ return tree->widgetmarginleft(); \#else return 0; \#endif} {} -} +} Function {GetSelectedItemFGColor()} { comment {Return the selected item's fg color} open return_type Fl_Color @@ -327,7 +327,7 @@ for ( item=tree->first(); item; item = tree->next(item) ) { } // No items selected? Use default return(tree->item_labelfgcolor());} {} -} +} Function {GetSelectedItemBGColor()} { comment {Return the selected item's bg color} open return_type Fl_Color @@ -340,13 +340,13 @@ for ( item=tree->first(); item; item = tree->next(item) ) { } // No items selected? Use default return(tree->item_labelbgcolor());} {} -} +} Function {} {open } { Fl_Window window { label tree open - xywh {600 253 1045 580} type Double visible + xywh {600 253 1045 580} type Double hide } { Fl_Group tree { label Tree @@ -1782,4 +1782,4 @@ window->size_range(window->w(), window->h(), 0, 0); if ( tree->when() == FL_WHEN_CHANGED ) whenmode_chooser->value(0); else if ( tree->when() == FL_WHEN_RELEASE ) whenmode_chooser->value(1); else if ( tree->when() == FL_WHEN_NEVER ) whenmode_chooser->value(2);} {} -} +} diff --git a/test/valuators.fl b/test/valuators.fl index 96284f83e..c164221fa 100644 --- a/test/valuators.fl +++ b/test/valuators.fl @@ -1,12 +1,12 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0304 -header_name {.h} +version 1.0304 +header_name {.h} code_name {.cxx} Function {callback(Fl_Widget* o, void*)} {open private return_type void } { code {printf("%g \\r", ((Fl_Valuator*)o)->value()); fflush(stdout);} {} -} +} Function {} {open } { @@ -195,4 +195,4 @@ Function {} {open xywh {460 385 110 115} box BORDER_FRAME color 0 selection_color 0 labelsize 11 align 128 } } -} +} |
