source: eviacam/trunk/fuentes/src/wabout.h @ 567

Last change on this file since 567 was 567, checked in by mabarracus, 4 years ago

updated sources to version 2.0.3

File size: 3.2 KB
Line 
1/////////////////////////////////////////////////////////////////////////////
2// Name:        wabout.h
3// Purpose: 
4// Author:      Cesar Mauri Loba (cesar at crea-si dot com)
5// Modified by:
6// Created:     
7// Copyright:   (C) 2008 Cesar Mauri Loba - CREA Software Systems
8//
9//  This program is free software: you can redistribute it and/or modify
10//  it under the terms of the GNU General Public License as published by
11//  the Free Software Foundation, either version 3 of the License, or
12//  (at your option) any later version.
13//
14//  This program is distributed in the hope that it will be useful,
15//  but WITHOUT ANY WARRANTY; without even the implied warranty of
16//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17//  GNU General Public License for more details.
18//
19//  You should have received a copy of the GNU General Public License
20//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21/////////////////////////////////////////////////////////////////////////////
22
23#ifndef _WABOUT_H_
24#define _WABOUT_H_
25
26
27/*!
28 * Includes
29 */
30
31////@begin includes
32#include "wx/html/htmlwin.h"
33////@end includes
34
35/*!
36 * Forward declarations
37 */
38
39////@begin forward declarations
40////@end forward declarations
41
42/*!
43 * Control identifiers
44 */
45
46////@begin control identifiers
47#define ID_WABOUT 10027
48#define ID_HTMLWINDOW 10030
49#define ID_BUTTON_CLOSE 10029
50#define SYMBOL_WABOUT_STYLE wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
51#define SYMBOL_WABOUT_TITLE _("About Enable Viacam")
52#define SYMBOL_WABOUT_IDNAME ID_WABOUT
53#define SYMBOL_WABOUT_SIZE wxDefaultSize
54#define SYMBOL_WABOUT_POSITION wxDefaultPosition
55////@end control identifiers
56
57
58/*!
59 * WAbout class declaration
60 */
61
62class WAbout: public wxDialog
63{   
64    DECLARE_DYNAMIC_CLASS( WAbout )
65    DECLARE_EVENT_TABLE()
66
67public:
68    /// Constructors
69    WAbout();
70    WAbout( wxWindow* parent, wxWindowID id = SYMBOL_WABOUT_IDNAME, const wxString& caption = SYMBOL_WABOUT_TITLE, const wxPoint& pos = SYMBOL_WABOUT_POSITION, const wxSize& size = SYMBOL_WABOUT_SIZE, long style = SYMBOL_WABOUT_STYLE );
71
72    /// Creation
73    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WABOUT_IDNAME, const wxString& caption = SYMBOL_WABOUT_TITLE, const wxPoint& pos = SYMBOL_WABOUT_POSITION, const wxSize& size = SYMBOL_WABOUT_SIZE, long style = SYMBOL_WABOUT_STYLE );
74
75    /// Destructor
76    ~WAbout();
77
78    /// Initialises member variables
79    void Init();
80
81    /// Creates the controls and sizers
82    void CreateControls();
83
84////@begin WAbout event handler declarations
85
86    /// wxEVT_COMMAND_HTML_LINK_CLICKED event handler for ID_HTMLWINDOW
87    void OnHtmlwindowLinkClicked( wxHtmlLinkEvent& event );
88
89    /// wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON_CLOSE
90    void OnButtonCloseClick( wxCommandEvent& event );
91
92////@end WAbout event handler declarations
93
94////@begin WAbout member function declarations
95
96    /// Retrieves bitmap resources
97    wxBitmap GetBitmapResource( const wxString& name );
98
99    /// Retrieves icon resources
100    wxIcon GetIconResource( const wxString& name );
101////@end WAbout member function declarations
102
103    /// Should we show tooltips?
104    static bool ShowToolTips();
105
106////@begin WAbout member variables
107////@end WAbout member variables
108};
109
110#endif
111    // _WABOUT_H_
Note: See TracBrowser for help on using the repository browser.