Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

paragui.h

Go to the documentation of this file.
00001 /*
00002     ParaGUI - crossplatform widgetset
00003     Copyright (C) 2000  Alexander Pipelka
00004  
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009  
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014  
00015     You should have received a copy of the GNU Library General Public
00016     License along with this library; if not, write to the Free
00017     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018  
00019     Alexander Pipelka
00020     pipelka@teleweb.at
00021  
00022     Last Update:      $Author: pipelka $
00023     Update Date:      $Date: 2001/01/31 17:23:14 $
00024     Source File:      $Source: /usr/local/CVSROOT/linux/paragui/doc/html/paragui_h-source.html,v $
00025     CVS/RCS Revision: $Revision: 1.34 $
00026     Status:           $State: Exp $
00027 */
00028 
00216 #ifndef PARAGUI_H
00217 #define PARAGUI_H
00218 
00219 #ifdef SWIG
00220 %include "swigcommon.h"
00221 %module paragui
00222 %{
00223 #include "paragui.h"
00224 %}
00225 %include "paragui_types.h"
00226 %include "sdlmessageobject.h"
00227 %include "sdldrawobject.h"
00228 %include "sdlwidget.h"
00229 %include "sdlwidgetdnd.h"
00230 %include "sdlgradientwidget.h"
00231 %include "sdlwidgetlist.h"
00232 %include "sdlapplication.h"
00233 %include "sdlbutton.h"
00234 %include "sdlbuttongroup.h"
00235 %include "sdlradiobutton.h"
00236 %include "sdlcheckbutton.h"
00237 %include "sdllabel.h"
00238 %include "sdllineedit.h"
00239 %include "sdlscrollbar.h"
00240 %include "sdlprogressbar.h"
00241 %include "sdlstaticframe.h"
00242 %include "sdlwindow.h"
00243 %include "sdlslider.h"
00244 %include "sdllistboxitem.h"
00245 %include "sdlcolumnitem.h"
00246 %include "sdllistbox.h"
00247 #endif
00248 
00249 #include <stdlib.h>
00250 
00251 // SDL
00252 #include <SDL.h>
00253 #include <SDL_ttf.h>
00254 #include <SDL_thread.h>
00255 
00256 #include "paragui_types.h"
00257 #include "theme.h"
00258 
00259 #define DISPLAY_DEPTH 16
00260 
00261 // Background modes
00262 
00263 #define BKMODE_TILE         1
00264 #define BKMODE_STRETCH      2
00265 
00266 
00267 // Button states
00268 
00269 #define BTN_STATE_NORMAL        0
00270 #define BTN_STATE_PRESSED       1
00271 #define BTN_STATE_HIGH          2
00272 
00273 
00274 // Text alignment
00275 
00276 #define SDL_TA_LEFT     0
00277 #define SDL_TA_CENTER   1
00278 #define SDL_TA_RIGHT    2
00279 
00280 
00281 // Scrollbars
00282 
00283 #define SDL_SB_VERTICAL     1
00284 #define SDL_SB_HORIZONTAL   2
00285 
00286 // internal widget ids
00287 
00288 #define SDL_WIDGETID_INTERNAL   10000
00289 
00290 // Scrollbar up,down,dragbutton
00291 
00292 #define SDL_IDSCROLLBAR_UP      SDL_WIDGETID_INTERNAL + 1
00293 #define SDL_IDSCROLLBAR_DOWN    SDL_WIDGETID_INTERNAL + 2
00294 #define SDL_IDSCROLLBAR_LEFT    SDL_WIDGETID_INTERNAL + 3
00295 #define SDL_IDSCROLLBAR_RIGHT   SDL_WIDGETID_INTERNAL + 4
00296 #define SDL_IDSCROLLBAR_DRAG    SDL_WIDGETID_INTERNAL + 5
00297 
00298 // WidgetList scrollbar
00299 #define SDL_IDWIDGETLIST_SCROLL SDL_WIDGETID_INTERNAL + 10
00300 
00301 // SDLApplication object
00302 #define SDL_IDAPPLICATION   SDL_WIDGETID_INTERNAL + 100
00303 
00304 #endif // PARAGUI_H