]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/range.h
Make default keyboard handling available in wxVarScrollHelperEvtHandler too.
[wxWidgets.git] / include / wx / range.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/range.h
3// Purpose: Range Value Class
4// Author: Stefan Csomor
5// Modified by:
6// Created: 2011-01-07
7// Copyright: (c) 2011 Stefan Csomor
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_RANGE_H_
12#define _WX_RANGE_H_
13
14#include "wx/defs.h"
15
16class wxRange
17{
18public :
19 wxRange(): m_minVal(0), m_maxVal(0) {}
20 wxRange( int minVal, int maxVal) : m_minVal(minVal), m_maxVal(maxVal) {}
21 int GetMin() const { return m_minVal; }
22 int GetMax() const { return m_maxVal; }
23private :
24 int m_minVal;
25 int m_maxVal;
26};
27
28#endif // _WX_RANGE_H_