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
This commit is contained in:
parent
725a11bce7
commit
8b880adac6
@ -16,7 +16,9 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#ifndef WIN32
|
||||||
#include "list_visuals.C"
|
#include "list_visuals.C"
|
||||||
|
#endif
|
||||||
|
|
||||||
int width = 75;
|
int width = 75;
|
||||||
int height = 75;
|
int height = 75;
|
||||||
|
@ -47,7 +47,9 @@ void button_cb(Fl_Widget *,void *) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include <FL/x.H>
|
#include <FL/x.H>
|
||||||
|
#ifndef WIN32
|
||||||
#include "list_visuals.C"
|
#include "list_visuals.C"
|
||||||
|
#endif
|
||||||
|
|
||||||
int visid = -1;
|
int visid = -1;
|
||||||
int arg(int argc, char **argv, int &i) {
|
int arg(int argc, char **argv, int &i) {
|
||||||
|
@ -7,7 +7,14 @@
|
|||||||
// call to list the visuals. Fl.H must be included first to indicate this.
|
// call to list the visuals. Fl.H must be included first to indicate this.
|
||||||
|
|
||||||
#ifdef WIN32
|
#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
|
#else
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user