From b95db33f2cbd30213cadd4859f567e1dae32ef47 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 4 Jan 1999 19:25:40 +0000 Subject: Lots of changes: - Added #defines for Visual C++ to speed up compiles. - Added FLTK.DLL project to visualc directory. - Added editor project to visualc directory. - Added icon() method to Fl_Window class. - Implemented xclass() method for WIN32. - Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx. - scandir_win32.c needed to include . - Added fix from Bill for fl_width() bug. - Updated fix for Fl_Input to default to FL_DOWN_BOX. - Added visible() check for children of Fl_Pack. - Added WinMain() function to library. - Now show console window in debug mode. - Fixed demo.menu and demo.cxx to work under WIN32. git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/dummymain.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/dummymain.c (limited to 'src/dummymain.c') diff --git a/src/dummymain.c b/src/dummymain.c new file mode 100644 index 000000000..004f4d491 --- /dev/null +++ b/src/dummymain.c @@ -0,0 +1,33 @@ +/* + * "$Id: dummymain.c,v 1.1 1999/01/04 19:25:04 mike Exp $" + * + * Dummy main() entry routine for the Fast Light Tool Kit (FLTK). + * This is only used to build the WIN32 DLL. + * + * Copyright 1998 by Bill Spitzak and others. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA. + * + * Please report all bugs and problems to "fltk-bugs@easysw.com". + */ + +#ifdef WIN32 +int main(int argc, char **argv) { return 0; } +#endif /* WIN32 */ + +/* + * End of "$Id: dummymain.c,v 1.1 1999/01/04 19:25:04 mike Exp $". + */ -- cgit v1.2.3