/* ParaGUI - crossplatform widgetset Copyright (C) 2000,2001,2002 Alexander Pipelka 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 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Alexander Pipelka pipelka@teleweb.at Last Update: $Author: braindead $ Update Date: $Date: 2003/04/22 10:49:01 $ Source File: $Source: /cvsroot/paragui/paragui/include/paragui.h,v $ CVS/RCS Revision: $Revision: 1.3.6.5 $ Status: $State: Exp $ */ /** \file paragui.h The main include file. This include file sets up the basic configuration for a ParaGUI enabled application. It includes all dependend headers (SDL,...) and defines some macros used by many other files. */ #ifndef PARAGUI_H #define PARAGUI_H #ifdef SWIG %include "swigcommon.h" %module paragui %{ #include "paragui.h" %} %include "paragui_types.h" %include "pgrect.h" %include "pgmessageobject.h" %include "pgeventobject.h" %include "pgwidget.h" %include "pgthemewidget.h" %include "pglayout.h" %include "pgwidgetdnd.h" %include "pgwidgetlist.h" %include "pgfilearchive.h" %include "pgfile.h" %include "pgfont.h" %include "pgapplication.h" %include "pgbutton.h" %include "pgradiobutton.h" %include "pgcheckbutton.h" %include "pglabel.h" %include "pglineedit.h" %include "pgscrollbar.h" %include "pgprogressbar.h" %include "pgwindow.h" %include "pgslider.h" %include "pglistboxbaseitem.h" %include "pglistboxitem.h" %include "pgcolumnitem.h" %include "pglistbox.h" %include "pgmaskedit.h" %include "pgmessagebox.h" %include "pgspinnerbox.h" %include "pgimage.h" %include "pgpopupmenu.h" %include "pgdropdown.h" %include "pgmenubar.h" #endif // SDL #include "SDL.h" #include "SDL_thread.h" #include "paraconfig.h" #ifndef SWIG #include #include #include #include #endif //our default namespace is std using namespace std; // mpatrol #ifdef MPATROL_ENABLED #include "mpatrol.h" #endif #include "paragui_types.h" #include "pgrect.h" /** calculate the minimum of 2 values */ #define PG_MAX(a, b) ((a