gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
ScaleFuncData Class Reference

#include <Scales.H>

Inheritance diagram for ScaleFuncData:
[legend]

Public Member Functions

 ScaleFuncData (double mi, double ma, double st, void(*fn)(void *, void *), gpointer da)
 
 ScaleFuncData (double mi, double ma, double st, GCallback fn, gpointer da)
 

Public Attributes

double min
 The minimum value. More...
 
double max
 The maximum value. More...
 
double step
 The stepping value. More...
 
void(* func )(void *arg1, void *arg2)
 The callback function. More...
 
gpointer data
 The user data to pass to the callback function. More...
 

Detailed Description

The scale class which defines all types of sliding scales.

Definition at line 46 of file Scales.H.

Constructor & Destructor Documentation

◆ 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
miThe minimum value.
maThe maximum value.
stThe stepping value.
fnThe callback when changed.
daThe 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
miThe minimum value.
maThe maximum value.
stThe stepping value.
fnThe callback when changed.
daThe user data to pass to the callback function fn.

Definition at line 69 of file Scales.H.

Member Data Documentation

◆ 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:
gtkIOStream: ScaleFuncData Class Reference
GTK+ IOStream  Beta