1#ifndef PHWIDGETS_NUMERIC_FLOAT_H
2#define PHWIDGETS_NUMERIC_FLOAT_H
4#include <photon/PtNumericFloat.h>
45 numeric_precision = Pt_ARG_NUMERIC_PRECISION
53 numeric_increment = Pt_ARG_NUMERIC_INCREMENT,
54 numeric_max = Pt_ARG_NUMERIC_MAX,
55 numeric_min = Pt_ARG_NUMERIC_MIN,
56 numeric_value = Pt_ARG_NUMERIC_VALUE
80 numeric_changed = Pt_CB_NUMERIC_CHANGED
91 public ThisArgs::ArgDoubleP
96 public ArgumentsEx<ThisCallbacks::Callback>,
117 typedef ResourceFrom<Numeric::WidgetResourcesSingleton>::
118 Define::Struct<ThisArgs::ArgDoubleP::eArgDoubleP, double>::
119 Define::Scalar<ThisArgs::ArgInt::eArgInt, int>::
121 Define::Link<ThisCallbacks::Callback::eCallback, PtCallback_t*>::
123 resource_type WidgetResourcesSingleton;
125 virtual void check();
127 double getValue()
const;
128 void setValue(
double val);
130 double getMaxValue()
const;
131 void setMaxValue(
double val);
133 double getMinValue()
const;
134 void setMinValue(
double val);
176 property<double>::bind<
NumericFloat, &NumericFloat::getValue, &NumericFloat::setValue> Value;
177 property<double>::bind<
NumericFloat, &NumericFloat::getMaxValue, &NumericFloat::setMaxValue> MaxValue;
178 property<double>::bind<
NumericFloat, &NumericFloat::getMinValue, &NumericFloat::setMinValue> MinValue;