NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
AboutChameleonDialog.h
Go to the documentation of this file.
1
2// Name: AboutChameleonDialog.h
3// Purpose:
4// Author:
5// Modified by:
6// Created: 04/20/04 01:22:14
7// RCS-ID:
8// Copyright:
9// Licence:
11
12#ifndef _ABOUTCHAMELEONDIALOG_H_
13#define _ABOUTCHAMELEONDIALOG_H_
14
15#ifdef __GNUG__
16#pragma interface "AboutChameleonDialog.cpp"
17#endif
18
24#include <wx/wx.h>
25#include "wx/notebook.h"
26#include "../globals.hpp"
28
34class wxBoxSizer;
36
42#define ID_DIALOG 10000
43#define ID_NOTEBOOK 10001
44#define ID_PROGPANEL 10006
45#define ID_TEAMPANEL 10002
46#define ID_CREDITSPANEL 10003
47#define ID_STATSPANEL 10004
48#define ID_BUTTONOK 10007
49#define SYMBOL_ABOUTCHAMELEONDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
50#define SYMBOL_ABOUTCHAMELEONDIALOG_TITLE _("About Chameleon")
51#define SYMBOL_ABOUTCHAMELEONDIALOG_IDNAME ID_DIALOG
52#define SYMBOL_ABOUTCHAMELEONDIALOG_SIZE wxSize(410*g_pixelScale, 470*g_pixelScale)
53#define SYMBOL_ABOUTCHAMELEONDIALOG_POSITION wxDefaultPosition
55
60#ifndef wxCLOSE_BOX
61#define wxCLOSE_BOX 0x1000
62#endif
63
68class AboutChameleonDialog : public wxDialog
69{
70 DECLARE_CLASS( AboutChameleonDialog )
71 DECLARE_EVENT_TABLE()
72
73public:
76 AboutChameleonDialog( wxWindow* parent, wxWindowID id = SYMBOL_ABOUTCHAMELEONDIALOG_IDNAME, const wxString& caption = SYMBOL_ABOUTCHAMELEONDIALOG_TITLE, const wxPoint& pos = SYMBOL_ABOUTCHAMELEONDIALOG_POSITION, const wxSize& size = SYMBOL_ABOUTCHAMELEONDIALOG_SIZE, long style = SYMBOL_ABOUTCHAMELEONDIALOG_STYLE );
77
79 bool Create( wxWindow* parent, wxWindowID id = SYMBOL_ABOUTCHAMELEONDIALOG_IDNAME, const wxString& caption = SYMBOL_ABOUTCHAMELEONDIALOG_TITLE, const wxPoint& pos = SYMBOL_ABOUTCHAMELEONDIALOG_POSITION, const wxSize& size = SYMBOL_ABOUTCHAMELEONDIALOG_SIZE, long style = SYMBOL_ABOUTCHAMELEONDIALOG_STYLE );
80
82 void CreateControls();
83
85
87 void OnButtonOKClick( wxCommandEvent& event );
88
90
92
94 wxBitmap GetBitmapResource( const wxString& name );
95
97 wxIcon GetIconResource( const wxString& name );
99
101 static bool ShowToolTips();
102
104 wxBoxSizer* m_sizerProgram;
105 wxStaticText* m_lblVersion;
107};
108
109#endif
110 // _ABOUTCHAMELEONDIALOG_H_
#define SYMBOL_ABOUTCHAMELEONDIALOG_TITLE
#define SYMBOL_ABOUTCHAMELEONDIALOG_STYLE
#define SYMBOL_ABOUTCHAMELEONDIALOG_SIZE
#define SYMBOL_ABOUTCHAMELEONDIALOG_IDNAME
#define SYMBOL_ABOUTCHAMELEONDIALOG_POSITION
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
bool Create(wxWindow *parent, wxWindowID id=SYMBOL_ABOUTCHAMELEONDIALOG_IDNAME, const wxString &caption=SYMBOL_ABOUTCHAMELEONDIALOG_TITLE, const wxPoint &pos=SYMBOL_ABOUTCHAMELEONDIALOG_POSITION, const wxSize &size=SYMBOL_ABOUTCHAMELEONDIALOG_SIZE, long style=SYMBOL_ABOUTCHAMELEONDIALOG_STYLE)
Creation.
void OnButtonOKClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTONOK
void CreateControls()
Creates the controls and sizers.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
AboutChameleonDialog()
Constructors.
static bool ShowToolTips()
Should we show tooltips?
char name[32]
Definition: resampler.cpp:371