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/preferences.fl | |
| 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/preferences.fl')
| -rw-r--r-- | test/preferences.fl | 32 |
1 files changed, 16 insertions, 16 deletions
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 );} {} -} +} |
