/[paragui]/paragui/include/paragui.h
ViewVC logotype

Diff of /paragui/include/paragui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3.6.5.2.2 by braindead, Mon Nov 24 09:17:20 2003 UTC revision 1.3.6.5.2.3 by braindead, Tue Dec 2 15:27:57 2003 UTC
# Line 37  Line 37 
37  #ifndef PARAGUI_H  #ifndef PARAGUI_H
38  #define PARAGUI_H  #define PARAGUI_H
39    
 #ifdef SWIG  
 %include "swigcommon.h"  
 %module paragui  
 %{  
 #include "paragui.h"  
 %}  
 %include "paragui_types.h"  
 %include "pgrect.h"  
 %include "pgmessageobject.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  
   
40  // SDL  // SDL
41  #include "SDL.h"  #include "SDL.h"
42  #include "SDL_thread.h"  #include "SDL_thread.h"
43    
44  #include "paraconfig.h"  #include "paraconfig.h"
45    
 #ifndef SWIG  
 #include <cstdlib>  
 #include <iostream>  
 #include <cstring>  
 #include <string>  
 #endif  
   
46  //our default namespace is std  //our default namespace is std
47  using namespace std;  using namespace std;
48    
 // mpatrol  
 #ifdef MPATROL_ENABLED  
 #include "mpatrol.h"  
 #endif  
   
 #include "paragui_types.h"  
   
 #include "pgrect.h"  
   
49  /**  /**
50          calculate the minimum of 2 values          calculate the minimum of 2 values
51  */  */
# Line 124  using namespace std; Line 68  using namespace std;
68  */  */
69  #define THEME_SUFFIX ".theme"  #define THEME_SUFFIX ".theme"
70    
 // Background modes  
   
 /**  
         Backgroundmode TILE.  
         Macro defining the background mode for tiling  
 */  
 #define BKMODE_TILE                     1  
 /**  
         Backgroundmode STRETCH.  
         Macro defining the background mode for stretching  
 */  
 #define BKMODE_STRETCH          2  
 /**  
         Backgroundmode 3TILEH.  
         Macro defining the background mode for horizontal 3 part tiling  
 */  
 #define BKMODE_3TILEH           3  
 /**  
         Backgroundmode 3TILEV.  
         Macro defining the background mode for vertical 3 part tiling  
 */  
 #define BKMODE_3TILEV           4  
 /**  
         Backgroundmode 9TILE.  
         Macro defining the background mode for 9 part tiling  
 */  
 #define BKMODE_9TILE            5  
   
 // Button states  
   
 /**  
         Buttonstate: Normal (up).  
 */  
 //#define BTN_STATE_NORMAL              PG_Button::UNPRESSED  
 /**  
         Buttonstate: Pressed (down).  
 */  
 //#define BTN_STATE_PRESSED             PG_Button::PRESSED  
 /**  
         Buttonstate: Highlited.  
 */  
 //#define BTN_STATE_HIGH                        PG_Button::HIGHLITED  
   
   
 // Text alignment  
   
 /**  
         Textalignment: left.  
         justify text to the left  
 */  
 #define PG_TA_LEFT              0  
 /**  
         Textalignment: center.  
         center text  
 */  
 #define PG_TA_CENTER            1  
 /**  
         Textalignment: right.  
         justify text to the right  
 */  
 #define PG_TA_RIGHT             2  
   
   
 // Scrollbars  
   
 /**  
         Scrollbartype: Vertical.  
         Flag for creating a vertical scrollbar  
 */  
 #define PG_SB_VERTICAL          1  
 /**  
         Scrollbartype: Horizontal.  
         Flag for creating a horizontal scrollbar  
 */  
 #define PG_SB_HORIZONTAL        2  
   
71  // internal widget ids  // internal widget ids
72    
73  /**  /**

Legend:
Removed from v.1.3.6.5.2.2  
changed lines
  Added in v.1.3.6.5.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26