CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWNumberEntry.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWNumberEntryField_h
2 #define Fireworks_Core_FWNumberEntryField_h
3 
4 #include "TGNumberEntry.h"
5 
6 //------------------------------FWNumberEntryField------------------------------//
7 
8 class FWNumberEntryField : public TGNumberEntryField {
9 private:
10 public:
11  FWNumberEntryField(const TGWindow *p,
12  Int_t id,
13  Double_t val,
14  GContext_t norm,
15  FontStruct_t font = GetDefaultFontStruct(),
16  UInt_t option = kSunkenFrame | kDoubleBorder,
17  Pixel_t back = GetWhitePixel());
18  FWNumberEntryField(const TGWindow *parent = nullptr,
19  Int_t id = -1,
20  Double_t val = 0,
21  EStyle style = kNESReal,
22  EAttribute attr = kNEAAnyNumber,
23  ELimit limits = kNELNoLimits,
24  Double_t min = 0,
25  Double_t max = 1);
26 
27  ~FWNumberEntryField() override {}
28 
29  Bool_t HandleFocusChange(Event_t *event) override;
30  void ReturnPressed() override;
31 
32  virtual UInt_t GetUIntNumber();
33  virtual void SetUIntNumber(UInt_t n);
34  virtual ULong64_t GetULong64Number();
35  virtual void SetULong64Number(ULong64_t n);
36 
38 };
39 #endif
virtual ULong64_t GetULong64Number()
virtual void SetUIntNumber(UInt_t n)
FWNumberEntryField(const TGWindow *p, Int_t id, Double_t val, GContext_t norm, FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kSunkenFrame|kDoubleBorder, Pixel_t back=GetWhitePixel())
virtual void SetULong64Number(ULong64_t n)
virtual UInt_t GetUIntNumber()
~FWNumberEntryField() override
Definition: FWNumberEntry.h:27
ClassDefOverride(FWNumberEntryField, 0)
Bool_t HandleFocusChange(Event_t *event) override
void ReturnPressed() override