initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
27
libs/wxWidgets-3.3.1/include/wx/range.h
Normal file
27
libs/wxWidgets-3.3.1/include/wx/range.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/range.h
|
||||
// Purpose: Range Value Class
|
||||
// Author: Stefan Csomor
|
||||
// Created: 2011-01-07
|
||||
// Copyright: (c) 2011 Stefan Csomor
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_RANGE_H_
|
||||
#define _WX_RANGE_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
class wxRange
|
||||
{
|
||||
public :
|
||||
wxRange(): m_minVal(0), m_maxVal(0) {}
|
||||
wxRange( int minVal, int maxVal) : m_minVal(minVal), m_maxVal(maxVal) {}
|
||||
int GetMin() const { return m_minVal; }
|
||||
int GetMax() const { return m_maxVal; }
|
||||
private :
|
||||
int m_minVal;
|
||||
int m_maxVal;
|
||||
};
|
||||
|
||||
#endif // _WX_RANGE_H_
|
||||
Reference in New Issue
Block a user