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