source: eviacam/trunk/fuentes/src/newtrackerinformationdlg.h @ 29

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

added eviacam content

File size: 3.5 KB
RevLine 
[29]1/////////////////////////////////////////////////////////////////////////////
2// Name:        newtrackerinformationdlg.h
3// Purpose:     
4// Author:      César Mauri Loba
5// Modified by:
6// Created:     21/12/2014 14:03:05
7// RCS-ID:     
8// Copyright:   (C) 2008 Cesar Mauri from CREA Sistemes Informatics
9// License:     
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _NEWTRACKERINFORMATIONDLG_H_
13#define _NEWTRACKERINFORMATIONDLG_H_
14
15
16/*!
17 * Includes
18 */
19
20////@begin includes
21#include "wx/statline.h"
22////@end includes
23
24/*!
25 * Forward declarations
26 */
27
28////@begin forward declarations
29////@end forward declarations
30
31/*!
32 * Control identifiers
33 */
34
35////@begin control identifiers
36#define ID_NEWTRACKERINFORMATIONDLG 10000
37#define ID_RADIOBUTTON_NEW_TRACKER 10001
38#define ID_RADIOBUTTON_LEGACY_TRACKER 10002
39#define ID_CHECKBOX_SHOW_ON_STARTUP 10003
40#define SYMBOL_NEWTRACKERINFORMATIONDLG_STYLE wxDEFAULT_DIALOG_STYLE|wxCAPTION|wxCLOSE_BOX|wxTAB_TRAVERSAL
41#define SYMBOL_NEWTRACKERINFORMATIONDLG_TITLE _("New Tracker Information")
42#define SYMBOL_NEWTRACKERINFORMATIONDLG_IDNAME ID_NEWTRACKERINFORMATIONDLG
43#define SYMBOL_NEWTRACKERINFORMATIONDLG_SIZE wxDefaultSize
44#define SYMBOL_NEWTRACKERINFORMATIONDLG_POSITION wxDefaultPosition
45////@end control identifiers
46
47
48/*!
49 * NewTrackerInformationDlg class declaration
50 */
51
52class NewTrackerInformationDlg: public wxDialog
53{   
54    DECLARE_DYNAMIC_CLASS( NewTrackerInformationDlg )
55    DECLARE_EVENT_TABLE()
56
57public:
58    /// Constructors
59    NewTrackerInformationDlg();
60    NewTrackerInformationDlg( wxWindow* parent, wxWindowID id = SYMBOL_NEWTRACKERINFORMATIONDLG_IDNAME, const wxString& caption = SYMBOL_NEWTRACKERINFORMATIONDLG_TITLE, const wxPoint& pos = SYMBOL_NEWTRACKERINFORMATIONDLG_POSITION, const wxSize& size = SYMBOL_NEWTRACKERINFORMATIONDLG_SIZE, long style = SYMBOL_NEWTRACKERINFORMATIONDLG_STYLE );
61
62    /// Creation
63    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_NEWTRACKERINFORMATIONDLG_IDNAME, const wxString& caption = SYMBOL_NEWTRACKERINFORMATIONDLG_TITLE, const wxPoint& pos = SYMBOL_NEWTRACKERINFORMATIONDLG_POSITION, const wxSize& size = SYMBOL_NEWTRACKERINFORMATIONDLG_SIZE, long style = SYMBOL_NEWTRACKERINFORMATIONDLG_STYLE );
64
65    /// Destructor
66    ~NewTrackerInformationDlg();
67
68private:
69    /// Initialises member variables
70    void Init();
71
72    /// Creates the controls and sizers
73    void CreateControls();
74
75////@begin NewTrackerInformationDlg event handler declarations
76
77    /// wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RADIOBUTTON_LEGACY_TRACKER
78    void OnRadiobuttonLegacyTrackerSelected( wxCommandEvent& event );
79
80    /// wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX_SHOW_ON_STARTUP
81    void OnCheckboxShowOnStartupClick( wxCommandEvent& event );
82
83    /// wxEVT_COMMAND_BUTTON_CLICKED event handler for wxID_OK
84    void OnOkClick( wxCommandEvent& event );
85
86////@end NewTrackerInformationDlg event handler declarations
87
88////@begin NewTrackerInformationDlg member function declarations
89
90    /// Retrieves bitmap resources
91    wxBitmap GetBitmapResource( const wxString& name );
92
93    /// Retrieves icon resources
94    wxIcon GetIconResource( const wxString& name );
95////@end NewTrackerInformationDlg member function declarations
96
97    /// Should we show tooltips?
98    static bool ShowToolTips();
99
100////@begin NewTrackerInformationDlg member variables
101    wxCheckBox* m_chkShowOnStartup;
102////@end NewTrackerInformationDlg member variables
103        bool m_useLegacyTracker;
104        bool m_showOnStartup;
105};
106
107#endif
108    // _NEWTRACKERINFORMATIONDLG_H_
Note: See TracBrowser for help on using the repository browser.