Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

paragui.h File Reference

The main include file. More...

#include "SDL.h"
#include "SDL_thread.h"
#include "paraconfig_gnu.h"
#include <fnmatch.h>
#include <string>

Include dependency graph for paragui.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PG_VERSIONNUM(X, Y, Z)   ((X)*10000 + (Y)*100 + (Z))
#define DECLSPEC
#define DLLLOCAL
#define MAP_INC   <map>
#define STL_MAP   std::map
#define PG_TRY   try
#define PG_CATCH_ALL   catch(...)
#define PG_THROW(_ex_)   throw _ex_
#define PG_RETHROW   throw
#define PG_NOTHROW   throw()
#define PG_UNWIND(action)   catch(...) {action; throw;}
#define PG_CATCH(_ex_, _name_)   catch(_ex_& _name_)
#define PG_WIDGETID_INTERNAL   10000
 Internal widget ID.
#define PG_MAX(a, b)   ((a<b) ? b : a)
 calculate the minimum of 2 values
#define PG_MIN(a, b)   ((a<b) ? a : b)
 calculate the maximum of 2 values

Variables

static const std::string PG_NULLSTR = ""


Detailed Description

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.

Author:
Alexander Pipelka

Definition in file paragui.h.


Define Documentation

#define DECLSPEC
 

Definition at line 79 of file paragui.h.

#define DLLLOCAL
 

Definition at line 80 of file paragui.h.

#define MAP_INC   <map>
 

Definition at line 101 of file paragui.h.

#define PG_CATCH _ex_,
_name_   )     catch(_ex_& _name_)
 

Definition at line 116 of file paragui.h.

#define PG_CATCH_ALL   catch(...)
 

Definition at line 111 of file paragui.h.

Referenced by PG_main().

#define PG_MAX a,
 )     ((a<b) ? b : a)
 

calculate the minimum of 2 values

Definition at line 165 of file paragui.h.

Referenced by PG_Widget::DrawHLine(), PG_Widget::DrawVLine(), PG_Widget::MoveWidget(), PG_RadioButton::SetSizeByText(), PG_Label::SetSizeByText(), and PG_Button::SetSizeByText().

#define PG_MIN a,
 )     ((a<b) ? a : b)
 

calculate the maximum of 2 values

Definition at line 170 of file paragui.h.

Referenced by PG_Widget::DrawHLine(), PG_Widget::DrawVLine(), PG_DropDown::handleButtonClick(), and PG_Widget::MoveWidget().

#define PG_NOTHROW   throw()
 

Definition at line 114 of file paragui.h.

#define PG_RETHROW   throw
 

Definition at line 113 of file paragui.h.

#define PG_THROW _ex_   )     throw _ex_
 

Definition at line 112 of file paragui.h.

#define PG_TRY   try
 

Definition at line 110 of file paragui.h.

Referenced by PG_main().

#define PG_UNWIND action   )     catch(...) {action; throw;}
 

Definition at line 115 of file paragui.h.

#define PG_VERSIONNUM X,
Y,
 )     ((X)*10000 + (Y)*100 + (Z))
 

Definition at line 55 of file paragui.h.

#define PG_WIDGETID_INTERNAL   10000
 

Internal widget ID.

All internal widget ID's start at this value.

Definition at line 160 of file paragui.h.

#define STL_MAP   std::map
 

Definition at line 102 of file paragui.h.


Variable Documentation

const std::string PG_NULLSTR = "" [static]
 

Definition at line 174 of file paragui.h.

Referenced by PG_PopupMenu::addSeparator(), THEME_THEME::FindFontName(), THEME_OBJECT::FindString(), THEME_THEME::FindString(), ASCGUI_Window::parsePanelASCTXT(), PG_DropDown::PG_DropDown(), PG_PropertyField_Button::PG_PropertyField_Button(), PG_PropertyField_Checkbox< B >::PG_PropertyField_Checkbox(), CargoDialog::userHandler(), and XMLStartDoc().


Generated on Tue Jun 24 01:56:27 2008 for Advanced Strategic Command by  doxygen 1.4.2