
// ##########################################################################
// #                                                                        #
// #                               NumberLabel                              #
// #                                                                        #
// #                            - Deklarationen -                           #
// #                                                                        #
// ##########################################################################


#ifndef _NumberLabel_H
#define _NumberLabel_H


#include"ui/label.h"
#include"gui/strconv.h"



class NumberLabel : public UI_Label
{

  public:

	 NumberLabel (UI_VObjCollection*  parent,
					  const UI_Rectangle& shape,
					  UI_ViewID           id    = -1,
					  unsigned            range = 10,
					  unsigned            pr    =  0,
					  char                sep   = ',',
					  bool                sgn   = FALSE
					  );


	 bool             initModel(double x);

    double           asDouble ();

	 long int         asLong   ();

    StringConverter& cnv      ();

	protected:

	 virtual         ~NumberLabel();
	 StringConverter Cnv;
};

#endif _NumberLabel_H
