Bugfix. FLUID now compiles under UNIX! ;->

-Carl


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@477 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Carl E. Thompson 1999-03-30 23:11:26 +00:00
parent 81c7d9b215
commit cd6f7adfe0

View File

@ -1,5 +1,5 @@
//
// "$Id: factory.cxx,v 1.4 1999/01/07 19:17:13 mike Exp $"
// "$Id: factory.cxx,v 1.4.2.1 1999/03/30 23:11:26 carl Exp $"
//
// Widget factory code for the Fast Light Tool Kit (FLTK).
//
@ -58,13 +58,13 @@ static Fl_Box_Type Fl_Box_type;
////////////////////////////////////////////////////////////////
#include <FL/Fl_Button.H>
static Fl_Menu_Item button_type_menu[] = {
static Fl_Menu_Item buttontype_menu[] = {
{"Normal",0,0,(void*)0},
{"Toggle",0,0,(void*)FL_TOGGLE_BUTTON},
{"Radio",0,0,(void*)FL_RADIO_BUTTON},
{0}};
class Fl_Button_Type : public Fl_Widget_Type {
Fl_Menu_Item *subtypes() {return button_type_menu;}
Fl_Menu_Item *subtypes() {return buttontype_menu;}
public:
virtual const char *type_name() {return "Fl_Button";}
Fl_Widget *widget(int x,int y,int w,int h) {
@ -673,5 +673,5 @@ int lookup_symbol(const char *name, int &v, int numberok) {
}
//
// End of "$Id: factory.cxx,v 1.4 1999/01/07 19:17:13 mike Exp $".
// End of "$Id: factory.cxx,v 1.4.2.1 1999/03/30 23:11:26 carl Exp $".
//