Update documentation screenshots (still have some to go...)
Cleanup some demos and the color chooser. Restore code in Fl_Window::hotspot() to keep the window on the screen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
6
CHANGES
@ -1,9 +1,11 @@
|
||||
CHANGES IN FLTK 1.1.0b7
|
||||
|
||||
- Mac OS X uses mostly Carbon event handling to support
|
||||
Mousewheel, three buttons, all modifier keys, etc.
|
||||
- More documentation updates...
|
||||
- Mac OS X support works 95%
|
||||
- The Fl_Window::hotspot() off-screen avoidance code was
|
||||
commented out.
|
||||
- Mac OS X uses mostly Carbon event handling to support
|
||||
Mousewheel, three buttons, all modifier keys, etc.
|
||||
- Updated paragraph 4 of the FLTK license exceptions;
|
||||
there was some question about the requirement to show
|
||||
that a program uses FLTK, which is required by section
|
||||
|
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 112 B After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 464 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 944 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 786 B |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 3.6 KiB |
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Color_Chooser.cxx,v 1.7.2.4 2001/01/22 15:13:39 easysw Exp $"
|
||||
// "$Id: Fl_Color_Chooser.cxx,v 1.7.2.4.2.1 2001/12/12 21:33:34 easysw Exp $"
|
||||
//
|
||||
// Color chooser for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -40,7 +40,7 @@
|
||||
|
||||
// The "hue box" can be a circle or rectilinear.
|
||||
// You get a circle by defining this:
|
||||
// #define CIRCLE 1
|
||||
#define CIRCLE 1
|
||||
// And the "hue box" can auto-update when the value changes
|
||||
// you get this by defining this:
|
||||
#define UPDATE_HUE_BOX 1
|
||||
@ -320,14 +320,14 @@ void Fl_Color_Chooser::mode_cb(Fl_Widget* o, void*) {
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
Fl_Color_Chooser::Fl_Color_Chooser(int X, int Y, int W, int H, const char* L)
|
||||
: Fl_Group(0,0,180,100,L),
|
||||
huebox(0,0,100,100),
|
||||
valuebox(100,0,20,100),
|
||||
choice(120,0,60,20),
|
||||
rvalue(120,20,60,23),
|
||||
gvalue(120,43,60,23),
|
||||
bvalue(120,66,60,23),
|
||||
resize_box(0,89,100,9)
|
||||
: Fl_Group(0,0,195,115,L),
|
||||
huebox(0,0,115,115),
|
||||
valuebox(115,0,20,115),
|
||||
choice(140,0,55,25),
|
||||
rvalue(140,30,55,25),
|
||||
gvalue(140,60,55,25),
|
||||
bvalue(140,90,55,25),
|
||||
resize_box(0,0,115,115)
|
||||
{
|
||||
end();
|
||||
resizable(resize_box);
|
||||
@ -384,15 +384,15 @@ extern const char* fl_ok;
|
||||
extern const char* fl_cancel;
|
||||
|
||||
int fl_color_chooser(const char* name, double& r, double& g, double& b) {
|
||||
Fl_Window window(210,153,name);
|
||||
Fl_Color_Chooser chooser(5, 5, 200, 95);
|
||||
ColorChip ok_color(5, 105, 95, 23);
|
||||
Fl_Return_Button ok_button(5, 128, 95, 23, fl_ok);
|
||||
ColorChip cancel_color(110, 105, 95, 23);
|
||||
Fl_Window window(215,200,name);
|
||||
Fl_Color_Chooser chooser(10, 10, 195, 115);
|
||||
ColorChip ok_color(10, 130, 95, 25);
|
||||
Fl_Return_Button ok_button(10, 165, 95, 25, fl_ok);
|
||||
ColorChip cancel_color(110, 130, 95, 25);
|
||||
cancel_color.r = uchar(255*r+.5); ok_color.r = cancel_color.r;
|
||||
ok_color.g = cancel_color.g = uchar(255*g+.5);
|
||||
ok_color.b = cancel_color.b = uchar(255*b+.5);
|
||||
Fl_Button cancel_button(110, 128, 95, 23, fl_cancel);
|
||||
Fl_Button cancel_button(110, 165, 95, 25, fl_cancel);
|
||||
window.resizable(chooser);
|
||||
chooser.rgb(r,g,b);
|
||||
chooser.callback(chooser_cb, &ok_color);
|
||||
@ -431,5 +431,5 @@ int fl_color_chooser(const char* name, uchar& r, uchar& g, uchar& b) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Color_Chooser.cxx,v 1.7.2.4 2001/01/22 15:13:39 easysw Exp $".
|
||||
// End of "$Id: Fl_Color_Chooser.cxx,v 1.7.2.4.2.1 2001/12/12 21:33:34 easysw Exp $".
|
||||
//
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Window_hotspot.cxx,v 1.7.2.3 2001/01/22 15:13:40 easysw Exp $"
|
||||
// "$Id: Fl_Window_hotspot.cxx,v 1.7.2.3.2.1 2001/12/12 21:33:34 easysw Exp $"
|
||||
//
|
||||
// Common hotspot routines for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -30,11 +30,15 @@
|
||||
# include <FL/win32.H>
|
||||
#endif
|
||||
|
||||
void Fl_Window::hotspot(int X, int Y, int /*offscreen*/) {
|
||||
int mx,my; Fl::get_mouse(mx,my);
|
||||
void Fl_Window::hotspot(int X, int Y, int offscreen) {
|
||||
int mx,my;
|
||||
|
||||
// Update the screen position based on the mouse position.
|
||||
Fl::get_mouse(mx,my);
|
||||
X = mx-X; Y = my-Y;
|
||||
#if 0
|
||||
// Both the WIN32 and X versions do this to all windows all the time...
|
||||
|
||||
// If offscreen is 0 (the default), make sure that the window
|
||||
// stays on the screen, if possible.
|
||||
if (!offscreen) {
|
||||
#ifdef WIN32
|
||||
// These will be used by reference, so we must passed different variables
|
||||
@ -45,24 +49,25 @@ void Fl_Window::hotspot(int X, int Y, int /*offscreen*/) {
|
||||
if (X==x()) x(X-1);
|
||||
#else
|
||||
if (border()) {
|
||||
// ensure border is on screen:
|
||||
// Ensure border is on screen; these values are generic enough
|
||||
// to work with many window managers, and are based on KDE defaults.
|
||||
const int top = 20;
|
||||
const int left = 1;
|
||||
const int right = 1;
|
||||
const int bottom = 1;
|
||||
if (X+w()+right > Fl::w()) X = Fl::w()-right-w();
|
||||
if (X-left < 0) X = left;
|
||||
if (Y+h()+bottom > Fl::h()) Y = Fl::h()-bottom-h();
|
||||
if (Y-top < 0) Y = top;
|
||||
const int left = 4;
|
||||
const int right = 4;
|
||||
const int bottom = 8;
|
||||
if (X+w()+right > Fl::w()-Fl::x()) X = Fl::w()-Fl::x()-right-w();
|
||||
if (X-left < Fl::x()) X = left;
|
||||
if (Y+h()+bottom > Fl::h()-Fl::y()) Y = Fl::h()-Fl::y()-bottom-h();
|
||||
if (Y-top < Fl::y()) Y = top;
|
||||
}
|
||||
// now insure contents are on-screen (more important than border):
|
||||
if (X+w() > Fl::w()) X = Fl::w()-w();
|
||||
if (X < 0) X = 0;
|
||||
if (Y+h() > Fl::h()) Y = Fl::h()-h();
|
||||
if (Y < 0) Y = 0;
|
||||
if (X+w() > Fl::w()-Fl::x()) X = Fl::w()-Fl::x()-w();
|
||||
if (X < Fl::x()) X = Fl::x();
|
||||
if (Y+h() > Fl::h()-Fl::y()) Y = Fl::h()-Fl::y()-h();
|
||||
if (Y < Fl::y()) Y = Fl::y();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
position(X,Y);
|
||||
}
|
||||
|
||||
@ -76,6 +81,7 @@ void Fl_Window::hotspot(const Fl_Widget *o, int offscreen) {
|
||||
hotspot(X,Y,offscreen);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Window_hotspot.cxx,v 1.7.2.3 2001/01/22 15:13:40 easysw Exp $".
|
||||
// End of "$Id: Fl_Window_hotspot.cxx,v 1.7.2.3.2.1 2001/12/12 21:33:34 easysw Exp $".
|
||||
//
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# "$Id: Makefile,v 1.19.2.7.2.17 2001/12/08 16:23:51 easysw Exp $"
|
||||
# "$Id: Makefile,v 1.19.2.7.2.18 2001/12/12 21:33:34 easysw Exp $"
|
||||
#
|
||||
# Test/example program makefile for the Fast Light Tool Kit (FLTK).
|
||||
#
|
||||
@ -163,74 +163,76 @@ gldemos: $(GLALL)
|
||||
$(ALL): ../lib/$(LIBNAME)
|
||||
|
||||
# Programs needing special instructions...
|
||||
editor$(EXEEXT): editor.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) editor.cxx -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
editor$(EXEEXT): editor.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) editor.o -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
$(POSTBUILD)
|
||||
file_chooser$(EXEEXT): file_chooser.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) file_chooser.cxx -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
file_chooser$(EXEEXT): file_chooser.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) file_chooser.o -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
$(POSTBUILD)
|
||||
help$(EXEEXT): help.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) help.cxx -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
help$(EXEEXT): help.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) help.o -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
$(POSTBUILD)
|
||||
keyboard$(EXEEXT): keyboard.cxx keyboard_ui.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) keyboard.cxx $(LINKFLTK) $(LDLIBS) -o $@
|
||||
keyboard$(EXEEXT): keyboard.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) keyboard.o $(LINKFLTK) $(LDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
mandelbrot$(EXEEXT): mandelbrot.cxx mandelbrot_ui.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) mandelbrot.cxx $(LINKFLTK) $(LDLIBS) -o $@
|
||||
keyboard.o: keyboard.cxx keyboard_ui.cxx
|
||||
|
||||
mandelbrot$(EXEEXT): mandelbrot.o mandelbrot_ui.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) mandelbrot.o $(LINKFLTK) $(LDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
pixmap_browser$(EXEEXT): pixmap_browser.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) pixmap_browser.cxx -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
pixmap_browser$(EXEEXT): pixmap_browser.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) pixmap_browser.o -o $@ $(LINKFLTK) $(LDLIBS) $(IMAGELIBS)
|
||||
$(POSTBUILD)
|
||||
|
||||
# OpenGL demos...
|
||||
CubeView$(EXEEXT): CubeMain.o CubeView.o CubeViewUI.o
|
||||
echo Compiling and linking $@...
|
||||
echo Linking $@...
|
||||
$(CXX) $(CXXFLAGS) CubeMain.o CubeView.o CubeViewUI.o \
|
||||
$(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
CubeMain.o: CubeViewUI.h CubeView.h
|
||||
CubeView.o: CubeView.h
|
||||
|
||||
cube$(EXEEXT): cube.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) cube.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
cube$(EXEEXT): cube.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) cube.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
fractals$(EXEEXT): fractals.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) fractals.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
fractals$(EXEEXT): fractals.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) fractals.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
fullscreen$(EXEEXT): fullscreen.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) fullscreen.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
fullscreen$(EXEEXT): fullscreen.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) fullscreen.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
glpuzzle$(EXEEXT): glpuzzle.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) glpuzzle.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
glpuzzle$(EXEEXT): glpuzzle.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) glpuzzle.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
gl_overlay$(EXEEXT): gl_overlay.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) gl_overlay.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
gl_overlay$(EXEEXT): gl_overlay.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) gl_overlay.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
shiny$(EXEEXT): shiny.cxx shiny_panel.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) shiny.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
shiny$(EXEEXT): shiny.o shiny_panel.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) shiny.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
shape$(EXEEXT): shape.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) shape.cxx $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
shape$(EXEEXT): shape.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) shape.o $(LINKFLTKGL) $(LINKFLTK) $(GLDLIBS) -o $@
|
||||
$(POSTBUILD)
|
||||
|
||||
# If you have libjpeg installed, you might want to try this test program:
|
||||
|
||||
jpeg_image$(EXEEXT): jpeg_image.cxx
|
||||
echo Compiling and linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) jpeg_image.cxx $(LINKFLTK) $(LDLIBS) -ljpeg -lXext -o $@
|
||||
jpeg_image$(EXEEXT): jpeg_image.o
|
||||
echo Linking $@...
|
||||
$(CXX) -I.. $(CXXFLAGS) jpeg_image.o $(LINKFLTK) $(LDLIBS) -ljpeg -lXext -o $@
|
||||
$(POSTBUILD)
|
||||
|
||||
depend:
|
||||
@ -247,5 +249,5 @@ uninstall:
|
||||
@echo Nothing to uninstall in test directory.
|
||||
|
||||
#
|
||||
# End of "$Id: Makefile,v 1.19.2.7.2.17 2001/12/08 16:23:51 easysw Exp $".
|
||||
# End of "$Id: Makefile,v 1.19.2.7.2.18 2001/12/12 21:33:34 easysw Exp $".
|
||||
#
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: editor.cxx,v 1.2.2.3.2.5 2001/12/09 12:52:13 easysw Exp $"
|
||||
// "$Id: editor.cxx,v 1.2.2.3.2.6 2001/12/12 21:33:34 easysw Exp $"
|
||||
//
|
||||
// A simple text editor program for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -78,10 +78,10 @@ class EditorWindow : public Fl_Double_Window {
|
||||
|
||||
EditorWindow::EditorWindow(int w, int h, const char* t) : Fl_Double_Window(w, h, t) {
|
||||
replace_dlg = new Fl_Window(300, 105, "Replace");
|
||||
replace_find = new Fl_Input(70, 10, 210, 25, "Find:");
|
||||
replace_find = new Fl_Input(80, 10, 210, 25, "Find:");
|
||||
replace_find->align(FL_ALIGN_LEFT);
|
||||
|
||||
replace_with = new Fl_Input(70, 40, 210, 25, "Replace:");
|
||||
replace_with = new Fl_Input(80, 40, 210, 25, "Replace:");
|
||||
replace_with->align(FL_ALIGN_LEFT);
|
||||
|
||||
replace_all = new Fl_Button(10, 70, 90, 25, "Replace All");
|
||||
@ -419,5 +419,5 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: editor.cxx,v 1.2.2.3.2.5 2001/12/09 12:52:13 easysw Exp $".
|
||||
// End of "$Id: editor.cxx,v 1.2.2.3.2.6 2001/12/12 21:33:34 easysw Exp $".
|
||||
//
|
||||
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: message.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $"
|
||||
// "$Id: message.cxx,v 1.5.2.3.2.1 2001/12/12 21:33:34 easysw Exp $"
|
||||
//
|
||||
// Message test program for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@ -33,7 +33,7 @@ int main(int, char **) {
|
||||
fl_message("Spelling check sucessfull, %d errors found with %g%% confidence",
|
||||
1002, 100*(15/77.0));
|
||||
|
||||
fl_alert("Quantum fluctuations in the space-time continuim detected, "
|
||||
fl_alert("Quantum fluctuations in the space-time continuum detected, "
|
||||
"you have %g seconds to comply.", 10.0);
|
||||
|
||||
printf("fl_ask returned %d\n",
|
||||
@ -54,5 +54,5 @@ int main(int, char **) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: message.cxx,v 1.5.2.3 2001/01/22 15:13:41 easysw Exp $".
|
||||
// End of "$Id: message.cxx,v 1.5.2.3.2.1 2001/12/12 21:33:34 easysw Exp $".
|
||||
//
|
||||
|