diff --git a/documentation/fluid.html b/documentation/fluid.html index 0520c1831..2fe3e48a3 100644 --- a/documentation/fluid.html +++ b/documentation/fluid.html @@ -541,6 +541,14 @@ without changing the name, as FLUID will write over the .fd file with its own format, which fdesign cannot read!

+

File/Insert... (Ctrl+i)

+ +

Inserts the contents of another .fl file, without +changing the name of the current .fl file. All the +functions (even if they have the same names as the current ones) +are added, and you will have to use cut/paste to put the widgets +where you want. +

File/Save (Ctrl+s)

Writes the current data to the .fl file. If the @@ -550,14 +558,6 @@ file is unnamed then FLUID will ask for a filename.

Asks for a new filename and saves the file. -

File/Merge... (Ctrl+i)

- -

Inserts the contents of another .fl file, without -changing the name of the current .fl file. All the -functions (even if they have the same names as the current ones) -are added, and you will have to use cut/paste to put the widgets -where you want. -

File/Write Code (Ctrl+Shift+C)

"Compiles" the data into a .cxx and .h @@ -568,7 +568,7 @@ FLUID with the -c switch. the leading directory and trailing ".fl" stripped, and ".h" or ".cxx" appended.

-

File/Write Messages (Ctrl+Shift+W)

+

File/Write Strings (Ctrl+Shift+W)

Writes a message file for all of the text labels defined in the current file. @@ -586,7 +586,7 @@ changed the current file.

Edit/Undo (Ctrl+z)

-

This isn't implemented yet. You should do save often so you can +

This isn't implemented yet. You should do save often so you can recover from any mistakes you make.

Edit/Cut (Ctrl+x)

@@ -672,17 +672,10 @@ the selection. This makes it easier to see box borders and how the layout looks. The overlays will be forced back on if you change the selection. -

Edit/Preferences (Ctrl+p)

+

Edit/Project Settings... (Ctrl+p)

-

Displays the preferences panel. The alignment preferences -control the grid that all widgets snap to when you move and -resize them, and for the "snap" which is how far a widget has to -be dragged from its original position to actually change. - -

FLUID Preferences Window.
-Figure 9-7: FLUID Preferences Window.

- -

The output filenames control the extensions or names of the +

Displays the project settings panel. +The output filenames control the extensions or names of the files the are generated by FLUID. If you check the "Include .h from .cxx" button the code file will include the header file automatically. @@ -690,6 +683,14 @@ automatically.

The internationalization options are described later in this chapter. +

FLUID Preferences Window.
+Figure 9-7: FLUID Preferences Window.

+ +

Edit/GUI Settings... (Shift+Ctrl+p)

+ +

Displays the GUI settings panel. This panel is used +to control the user interface settings. +

New/Code/Function

Creates a new C function. You will be asked for a name for @@ -737,6 +738,42 @@ widget, if possible.

When you create the widget you will get the widget's control panel, which is described later in this chapter.

+ +

Layout/Align/...

+ +

Align all selected widgets to the first widget in the selection. + +

Layout/Space Evenly/...

+ +

Space all selected widgets evenly inside the selected space. +Widgets will be sorted from first to last. + +

Layout/Make Same Size/...

+ +

Make all slected widgets the same size as the first selected widget. + +

Layout/Center in Group/...

+ +

Center all selected widgets relative to their parent widget + +

Layout/Grid... (Ctrl+g)

+ +

Displays the grid settings panel. +This panel +controls the grid that all widgets snap to when you move and +resize them, and for the "snap" which is how far a widget has to +be dragged from its original position to actually change. + + +

Shell/Execute Command... (Alt+x)

+ +

Displays the shell command panel. The shell command +is commonly used to run a 'make' script to compile the FLTK output. + +

Shell/Execute Again (Alt+g)

+ +

Run the shell command again. +

Help/About FLUID

Pops up a panel showing the version of FLUID. diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index b0ceedd34..23a85c972 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1,5 +1,5 @@ // -// "$Id: fluid.cxx,v 1.15.2.13.2.23 2002/05/01 23:08:35 easysw Exp $" +// "$Id: fluid.cxx,v 1.15.2.13.2.24 2002/05/02 04:23:33 matthiaswm Exp $" // // FLUID main entry for the Fast Light Tool Kit (FLTK). // @@ -165,7 +165,7 @@ void open_history_cb(Fl_Widget *, void *v) { char *localcopy = strdup( (char*)v ); set_filename(localcopy); if (!read_file(localcopy, 0)) { - fl_message("Can't read %s: %s", v, strerror(errno)); + fl_message("Can't read %s: %s", localcopy, strerror(errno)); free(localcopy); return; } @@ -780,5 +780,5 @@ int main(int argc,char **argv) { } // -// End of "$Id: fluid.cxx,v 1.15.2.13.2.23 2002/05/01 23:08:35 easysw Exp $". +// End of "$Id: fluid.cxx,v 1.15.2.13.2.24 2002/05/02 04:23:33 matthiaswm Exp $". //