1 #ifndef _NUMERIC_SCROLL_WHEEL_SERVICE_PROVIDER_
2 #define _NUMERIC_SCROLL_WHEEL_SERVICE_PROVIDER_
3 
4 class numeric_scroll_wheel_service_provider : public text_scroll_wheel_service_provider
5 {
6 public:
7     numeric_scroll_wheel_service_provider();
8 
GetType()9     virtual int GetType() { return GX_TYPE_NUMERIC_SCROLL_WHEEL; }
GetTypeName(widget_info *)10     virtual CString GetTypeName(widget_info *) { return CString("GX_TYPE_NUMERIC_SCROLL_WHEEL"); }
GetShortName()11     virtual CString GetShortName() { return CString("numeric_scroll_wheel"); }
12     virtual CString GetVarDeclaration();
GetControlBlockName()13     virtual CString GetControlBlockName() { return CString("GX_NUMERIC_SCROLL_WHEEL"); }
14 
15     virtual CString DeclarePropertiesStruct();
16     virtual CString WriteExtendedProperties(screen_generator *gen, CString &scope, widget_info *info);
17     virtual CString GetCreateFromDefFunctionName();
18     virtual CString GetCreateFromDefFunction(int version);
19 
20     virtual widget_info *CreateNewInstance(GX_WIDGET *parent);
21     virtual GX_WIDGET *GenerateFromInfo(GX_WIDGET *parent, widget_info *info);
22 
23     virtual void SaveToProject(xml_writer &, studiox_project *project, int display, widget_info *);
24     virtual void ReadFromProject(xml_reader &, studiox_project *project, int display, widget_info *info, ULONG valid_styles);
25     void AssignValueRange(widget_info *info, int start_val, int end_val);
26 };
27 #endif
28