diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-06 19:18:34 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1998-10-06 19:18:34 +0000 |
| commit | 8b880adac62b6724c36405b173286362c386c227 (patch) | |
| tree | f6633bd92ddab8ef7b483be4c152bcd5dfbec3fb | |
| parent | 725a11bce75ffff56ed081c26240510d3bfacd78 (diff) | |
Applied patches from Bill Spitzak.
Fixed line termination (lots-o-Windows CR+LF mixed in...)
git-svn-id: file:///fltk/svn/fltk/trunk@9 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | test/color_chooser.cxx | 2 | ||||
| -rw-r--r-- | test/image.cxx | 2 | ||||
| -rw-r--r-- | test/list_visuals.cxx | 9 |
3 files changed, 12 insertions, 1 deletions
diff --git a/test/color_chooser.cxx b/test/color_chooser.cxx index 9cdcbd36a..cc9c5cad5 100644 --- a/test/color_chooser.cxx +++ b/test/color_chooser.cxx @@ -16,7 +16,9 @@ #include <stdlib.h> #include <stdio.h> +#ifndef WIN32 #include "list_visuals.C" +#endif int width = 75; int height = 75; diff --git a/test/image.cxx b/test/image.cxx index 3a2e79c44..41d4f5607 100644 --- a/test/image.cxx +++ b/test/image.cxx @@ -47,7 +47,9 @@ void button_cb(Fl_Widget *,void *) { } #include <FL/x.H> +#ifndef WIN32 #include "list_visuals.C" +#endif int visid = -1; int arg(int argc, char **argv, int &i) { diff --git a/test/list_visuals.cxx b/test/list_visuals.cxx index 57b1e7e74..534fe3297 100644 --- a/test/list_visuals.cxx +++ b/test/list_visuals.cxx @@ -7,7 +7,14 @@ // call to list the visuals. Fl.H must be included first to indicate this. #ifdef WIN32 -void list_visuals() {;} +#include <FL/Fl.H> +#include <FL/fl_message.H> + +int main(int, char**) { + fl_alert("Currently, this program works only under X."); + return 1; +} + #else #include <config.h> |
