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

#include <Scales.H>

Inheritance diagram for HScaleFuncData:
[legend]
Collaboration diagram for HScaleFuncData:
[legend]

Public Member Functions

 HScaleFuncData (double mi, double ma, double st)
 
 HScaleFuncData (double mi, double ma, double st, void(*fn)(void *, void *), gpointer da)
 
 HScaleFuncData (double mi, double ma, double st, GCallback fn, gpointer da)
 
- Public Member Functions inherited from ScaleFuncData
 ScaleFuncData (double mi, double ma, double st, void(*fn)(void *, void *), gpointer da)
 
 ScaleFuncData (double mi, double ma, double st, GCallback fn, gpointer da)
 

Additional Inherited Members

- Public Attributes inherited from ScaleFuncData
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

Class defining a horizontal scale.

Examples:
ScaleTest.C.

Definition at line 87 of file Scales.H.

Constructor & Destructor Documentation

◆ HScaleFuncData() [1/3]

HScaleFuncData::HScaleFuncData ( double  mi,
double  ma,
double  st 
)
inline

Define a sliding scale for both horizontal scales

Parameters
miThe minimum value.
maThe maximum value.
stThe stepping value.

Definition at line 94 of file Scales.H.

◆ HScaleFuncData() [2/3]

HScaleFuncData::HScaleFuncData ( double  mi,
double  ma,
double  st,
void(*)(void *, void *)  fn,
gpointer  da 
)
inline

Define a sliding scale for both horizontal 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 102 of file Scales.H.

◆ HScaleFuncData() [3/3]

HScaleFuncData::HScaleFuncData ( double  mi,
double  ma,
double  st,
GCallback  fn,
gpointer  da 
)
inline

Define a sliding scale for both horizontal 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 110 of file Scales.H.


The documentation for this class was generated from the following file:
gtkIOStream: HScaleFuncData Class Reference
GTK+ IOStream  Beta