Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / tools / 3d / object_viewer / range_selector.h
blob3828100612fbfb9f39aa4d08d7a83f927f4ee73f
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #if !defined(AFX_RANGE_SELECTOR_H__BF9974E6_D43D_447D_8BC5_625620BDBD8F__INCLUDED_)
19 #define AFX_RANGE_SELECTOR_H__BF9974E6_D43D_447D_8BC5_625620BDBD8F__INCLUDED_
21 #if _MSC_VER > 1000
22 #pragma once
23 #endif // _MSC_VER > 1000
24 // range_selector.h : header file
27 /////////////////////////////////////////////////////////////////////////////
28 // CRangeSelector dialog
30 class CRangeSelector : public CDialog
32 // Construction
33 public:
34 CRangeSelector(const CString &lowerBound, const CString &upperBound, class CEditableRange *er, CWnd* pParent = NULL); // standard constructor
37 const CString &getUpperBound(void) const { return m_UpperBound ; }
38 const CString &getLowerBound(void) const { return m_LowerBound ; }
40 // Dialog Data
41 //{{AFX_DATA(CRangeSelector)
42 enum { IDD = IDD_SELECT_RANGE };
43 CEdit m_UpperBoundCtrl;
44 CEdit m_LowerBoundCtrl;
45 CString m_LowerBound;
46 CString m_UpperBound;
47 //}}AFX_DATA
50 // Overrides
51 // ClassWizard generated virtual function overrides
52 //{{AFX_VIRTUAL(CRangeSelector)
53 protected:
54 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
55 //}}AFX_VIRTUAL
57 // Implementation
58 protected:
59 class CEditableRange *_EditableRange ;
61 // Generated message map functions
62 //{{AFX_MSG(CRangeSelector)
63 virtual void OnOK();
64 afx_msg void OnSetfocusLowerBound();
65 afx_msg void OnSetfocusUpperBound();
66 virtual BOOL OnInitDialog();
67 //}}AFX_MSG
68 DECLARE_MESSAGE_MAP()
71 //{{AFX_INSERT_LOCATION}}
72 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
74 #endif // !defined(AFX_RANGE_SELECTOR_H__BF9974E6_D43D_447D_8BC5_625620BDBD8F__INCLUDED_)