source: eviacam/trunk/fuentes/src/wmotioncalibrationx.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

  • Property svn:executable set to *
File size: 3.6 KB
Line 
1/////////////////////////////////////////////////////////////////////////////
2// Name:        wmotioncalibrationx.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 _WMOTIONCALIBRATIONX_H_
24#define _WMOTIONCALIBRATIONX_H_
25
26
27/*!
28 * Includes
29 */
30#include "wx/wxprec.h"
31#include "wx/wx.h"
32#include "wx/object.h"
33////@begin includes
34////@end includes
35
36/*!
37 * Forward declarations
38 */
39
40////@begin forward declarations
41////@end forward declarations
42
43/*!
44 * Control identifiers
45 */
46
47////@begin control identifiers
48#define ID_WMOTIONCALIBRATIONX 10075
49#define SYMBOL_WMOTIONCALIBRATIONX_STYLE wxCAPTION|wxSTAY_ON_TOP|wxTAB_TRAVERSAL
50#define SYMBOL_WMOTIONCALIBRATIONX_TITLE _("Motion Calibration X")
51#define SYMBOL_WMOTIONCALIBRATIONX_IDNAME ID_WMOTIONCALIBRATIONX
52#define SYMBOL_WMOTIONCALIBRATIONX_SIZE wxSize(400, 300)
53#define SYMBOL_WMOTIONCALIBRATIONX_POSITION wxDefaultPosition
54////@end control identifiers
55
56
57/*!
58 * WMotionCalibrationX class declaration
59 */
60
61class WMotionCalibrationX: public wxDialog
62{   
63    DECLARE_DYNAMIC_CLASS( WMotionCalibrationX )
64    DECLARE_EVENT_TABLE()
65
66public:
67    /// Constructors
68    WMotionCalibrationX();
69    WMotionCalibrationX( wxWindow* parent, wxWindowID id = SYMBOL_WMOTIONCALIBRATIONX_IDNAME, const wxString& caption = SYMBOL_WMOTIONCALIBRATIONX_TITLE, const wxPoint& pos = SYMBOL_WMOTIONCALIBRATIONX_POSITION, const wxSize& size = SYMBOL_WMOTIONCALIBRATIONX_SIZE, long style = SYMBOL_WMOTIONCALIBRATIONX_STYLE );
70
71    /// Creation
72    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_WMOTIONCALIBRATIONX_IDNAME, const wxString& caption = SYMBOL_WMOTIONCALIBRATIONX_TITLE, const wxPoint& pos = SYMBOL_WMOTIONCALIBRATIONX_POSITION, const wxSize& size = SYMBOL_WMOTIONCALIBRATIONX_SIZE, long style = SYMBOL_WMOTIONCALIBRATIONX_STYLE );
73
74    /// Destructor
75    ~WMotionCalibrationX();
76
77    /// Initialises member variables
78    void Init();
79
80    /// Creates the controls and sizers
81    void CreateControls();
82
83////@begin WMotionCalibrationX event handler declarations
84
85////@end WMotionCalibrationX event handler declarations
86        void OnFaceNotDetected( wxCommandEvent& event );
87        void OnFaceDetected( wxCommandEvent& event );
88       
89////@begin WMotionCalibrationX member function declarations
90
91    /// Retrieves bitmap resources
92    wxBitmap GetBitmapResource( const wxString& name );
93
94    /// Retrieves icon resources
95    wxIcon GetIconResource( const wxString& name );
96////@end WMotionCalibrationX member function declarations
97        void SetFaceDetected( bool isFaceDetected );
98
99    /// Should we show tooltips?
100    static bool ShowToolTips();
101
102////@begin WMotionCalibrationX member variables
103    wxStaticText* m_staticText;
104    wxStaticText* m_staticTextFaceNotDetected;
105////@end WMotionCalibrationX member variables
106};
107
108#endif
109    // _WMOTIONCALIBRATIONX_H_
Note: See TracBrowser for help on using the repository browser.