#include <Scales.H>
|
| ScaleFuncData (double mi, double ma, double st, void(*fn)(void *, void *), gpointer da) |
|
| ScaleFuncData (double mi, double ma, double st, GCallback fn, gpointer da) |
|
The scale class which defines all types of sliding scales.
Definition at line 46 of file Scales.H.
◆ ScaleFuncData() [1/2]
ScaleFuncData::ScaleFuncData |
( |
double |
mi, |
|
|
double |
ma, |
|
|
double |
st, |
|
|
void(*)(void *, void *) |
fn, |
|
|
gpointer |
da |
|
) |
| |
|
inline |
Define a sliding scale for both horizontal and vertical scales
- Parameters
-
mi | The minimum value. |
ma | The maximum value. |
st | The stepping value. |
fn | The callback when changed. |
da | The user data to pass to the callback function fn. |
Definition at line 55 of file Scales.H.
◆ ScaleFuncData() [2/2]
ScaleFuncData::ScaleFuncData |
( |
double |
mi, |
|
|
double |
ma, |
|
|
double |
st, |
|
|
GCallback |
fn, |
|
|
gpointer |
da |
|
) |
| |
|
inline |
Define a sliding scale for both horizontal and vertical scales
- Parameters
-
mi | The minimum value. |
ma | The maximum value. |
st | The stepping value. |
fn | The callback when changed. |
da | The user data to pass to the callback function fn. |
Definition at line 69 of file Scales.H.
◆ data
gpointer ScaleFuncData::data |
The user data to pass to the callback function.
Definition at line 81 of file Scales.H.
◆ func
void(* ScaleFuncData::func) (void *arg1, void *arg2) |
The callback function.
Definition at line 80 of file Scales.H.
◆ max
double ScaleFuncData::max |
The maximum value.
Definition at line 78 of file Scales.H.
◆ min
double ScaleFuncData::min |
The minimum value.
Definition at line 77 of file Scales.H.
◆ step
double ScaleFuncData::step |
The stepping value.
Definition at line 79 of file Scales.H.
The documentation for this class was generated from the following file: