aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IGUISpinBox.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IGUISpinBox.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/include/IGUISpinBox.h')
-rw-r--r--libraries/irrlicht-1.8/include/IGUISpinBox.h138
1 files changed, 69 insertions, 69 deletions
diff --git a/libraries/irrlicht-1.8/include/IGUISpinBox.h b/libraries/irrlicht-1.8/include/IGUISpinBox.h
index bef139d..2310161 100644
--- a/libraries/irrlicht-1.8/include/IGUISpinBox.h
+++ b/libraries/irrlicht-1.8/include/IGUISpinBox.h
@@ -1,69 +1,69 @@
1// Copyright (C) 2006-2012 Michael Zeilfelder 1// Copyright (C) 2006-2012 Michael Zeilfelder
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __I_GUI_SPIN_BOX_H_INCLUDED__ 5#ifndef __I_GUI_SPIN_BOX_H_INCLUDED__
6#define __I_GUI_SPIN_BOX_H_INCLUDED__ 6#define __I_GUI_SPIN_BOX_H_INCLUDED__
7 7
8#include "IGUIElement.h" 8#include "IGUIElement.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace gui 12namespace gui
13{ 13{
14 class IGUIEditBox; 14 class IGUIEditBox;
15 15
16 //! Single line edit box + spin buttons 16 //! Single line edit box + spin buttons
17 /** \par This element can create the following events of type EGUI_EVENT_TYPE: 17 /** \par This element can create the following events of type EGUI_EVENT_TYPE:
18 \li EGET_SPINBOX_CHANGED 18 \li EGET_SPINBOX_CHANGED
19 */ 19 */
20 class IGUISpinBox : public IGUIElement 20 class IGUISpinBox : public IGUIElement
21 { 21 {
22 public: 22 public:
23 23
24 //! constructor 24 //! constructor
25 IGUISpinBox(IGUIEnvironment* environment, IGUIElement* parent, 25 IGUISpinBox(IGUIEnvironment* environment, IGUIElement* parent,
26 s32 id, core::rect<s32> rectangle) 26 s32 id, core::rect<s32> rectangle)
27 : IGUIElement(EGUIET_SPIN_BOX, environment, parent, id, rectangle) {} 27 : IGUIElement(EGUIET_SPIN_BOX, environment, parent, id, rectangle) {}
28 28
29 //! Access the edit box used in the spin control 29 //! Access the edit box used in the spin control
30 virtual IGUIEditBox* getEditBox() const = 0; 30 virtual IGUIEditBox* getEditBox() const = 0;
31 31
32 //! set the current value of the spinbox 32 //! set the current value of the spinbox
33 /** \param val: value to be set in the spinbox */ 33 /** \param val: value to be set in the spinbox */
34 virtual void setValue(f32 val) = 0; 34 virtual void setValue(f32 val) = 0;
35 35
36 //! Get the current value of the spinbox 36 //! Get the current value of the spinbox
37 virtual f32 getValue() const = 0; 37 virtual f32 getValue() const = 0;
38 38
39 //! set the range of values which can be used in the spinbox 39 //! set the range of values which can be used in the spinbox
40 /** \param min: minimum value 40 /** \param min: minimum value
41 \param max: maximum value */ 41 \param max: maximum value */
42 virtual void setRange(f32 min, f32 max) = 0; 42 virtual void setRange(f32 min, f32 max) = 0;
43 43
44 //! get the minimum value which can be used in the spinbox 44 //! get the minimum value which can be used in the spinbox
45 virtual f32 getMin() const = 0; 45 virtual f32 getMin() const = 0;
46 46
47 //! get the maximum value which can be used in the spinbox 47 //! get the maximum value which can be used in the spinbox
48 virtual f32 getMax() const = 0; 48 virtual f32 getMax() const = 0;
49 49
50 //! Step size by which values are changed when pressing the spinbuttons 50 //! Step size by which values are changed when pressing the spinbuttons
51 /** The step size also determines the number of decimal places to display 51 /** The step size also determines the number of decimal places to display
52 \param step: stepsize used for value changes when pressing spinbuttons */ 52 \param step: stepsize used for value changes when pressing spinbuttons */
53 virtual void setStepSize(f32 step=1.f) = 0; 53 virtual void setStepSize(f32 step=1.f) = 0;
54 54
55 //! Sets the number of decimal places to display. 55 //! Sets the number of decimal places to display.
56 //! Note that this also rounds the range to the same number of decimal places. 56 //! Note that this also rounds the range to the same number of decimal places.
57 /** \param places: The number of decimal places to display, use -1 to reset */ 57 /** \param places: The number of decimal places to display, use -1 to reset */
58 virtual void setDecimalPlaces(s32 places) = 0; 58 virtual void setDecimalPlaces(s32 places) = 0;
59 59
60 //! get the current step size 60 //! get the current step size
61 virtual f32 getStepSize() const = 0; 61 virtual f32 getStepSize() const = 0;
62 }; 62 };
63 63
64 64
65} // end namespace gui 65} // end namespace gui
66} // end namespace irr 66} // end namespace irr
67 67
68#endif // __I_GUI_SPIN_BOX_H_INCLUDED__ 68#endif // __I_GUI_SPIN_BOX_H_INCLUDED__
69 69