about_dialog.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (C) Massimo Cora' 2005 <maxcvs@email.it>
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00019 #ifndef _ABOUT_DIALOG_H_
00020 #define _ABOUT_DIALOG_H_
00021 
00022 #if defined(__GNUG__) && !defined(__APPLE__)
00023 #pragma interface "about_dialog.cpp"
00024 #endif
00025 
00030 
00031 
00032 
00037 
00038 
00039 
00044 
00045 #define ID_AUTHORS_DIALOG 10037
00046 #define SYMBOL_ABOUTDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
00047 #define SYMBOL_ABOUTDIALOG_TITLE _("Authors")
00048 #define SYMBOL_ABOUTDIALOG_IDNAME ID_AUTHORS_DIALOG
00049 #define SYMBOL_ABOUTDIALOG_SIZE wxSize(250, 200)
00050 #define SYMBOL_ABOUTDIALOG_POSITION wxDefaultPosition
00052 
00053 
00057 #ifndef wxCLOSE_BOX
00058 #define wxCLOSE_BOX 0x1000
00059 #endif
00060 #ifndef wxFIXED_MINSIZE
00061 #define wxFIXED_MINSIZE 0
00062 #endif
00063 
00068 class AboutDialog: public wxDialog
00069 {    
00070     DECLARE_DYNAMIC_CLASS( AboutDialog )
00071     DECLARE_EVENT_TABLE()
00072 
00073 public:
00075     AboutDialog( );
00076     AboutDialog( wxWindow* parent, wxWindowID id = SYMBOL_ABOUTDIALOG_IDNAME, const wxString& caption = SYMBOL_ABOUTDIALOG_TITLE, const wxPoint& pos = SYMBOL_ABOUTDIALOG_POSITION, const wxSize& size = SYMBOL_ABOUTDIALOG_SIZE, long style = SYMBOL_ABOUTDIALOG_STYLE );
00077 
00079     bool Create( wxWindow* parent, wxWindowID id = SYMBOL_ABOUTDIALOG_IDNAME, const wxString& caption = SYMBOL_ABOUTDIALOG_TITLE, const wxPoint& pos = SYMBOL_ABOUTDIALOG_POSITION, const wxSize& size = SYMBOL_ABOUTDIALOG_SIZE, long style = SYMBOL_ABOUTDIALOG_STYLE );
00080 
00082     void CreateControls();
00083 
00086 
00089     wxBitmap GetBitmapResource( const wxString& name );
00090 
00092     wxIcon GetIconResource( const wxString& name );
00094 
00096     static bool ShowToolTips();
00097 
00100 };
00101 
00102 #endif
00103     // _ABOUT_DIALOG_H_

Generated on Tue Dec 26 10:32:38 2006 for Omnimeeting by  doxygen 1.4.7