1 
2 #ifndef _RADIAL_PROGRESS_BAR_SERVICE_PROVIDER_
3 #define _RADIAL_PROGRESS_BAR_SERVICE_PROVIDER_
4 
5 class screen_generator; // forward reference
6 
7 class radial_progress_bar_service_provider : public widget_service_provider
8 {
9     public:
10         radial_progress_bar_service_provider();
11 
GetType()12         virtual int GetType() { return GX_TYPE_RADIAL_PROGRESS_BAR; }
GetTypeName(widget_info *)13         virtual CString GetTypeName(widget_info *) {return CString("GX_TYPE_RADIAL_PROGRESS_BAR");}
GetShortName()14         virtual CString GetShortName() {return CString("radial_progress_bar");}
15         virtual CString GetVarDeclaration();
GetControlBlockName()16         virtual CString GetControlBlockName() {return CString("GX_RADIAL_PROGRESS_BAR");}
17 
18         virtual CString DeclarePropertiesStruct();
19         virtual CString WriteExtendedProperties(screen_generator *gen, CString &scope, widget_info *info);
20         virtual CString GetCreateFromDefFunctionName();
21         virtual CString GetCreateFromDefFunction(int version);
22 
23         virtual widget_info *CreateNewInstance(GX_WIDGET *parent);
24         virtual GX_WIDGET *GenerateFromInfo(GX_WIDGET *parent, widget_info *info);
25 
26         virtual void SaveToProject(xml_writer &, studiox_project *project, int display, widget_info *);
27         virtual void ReadFromProject(xml_reader &, studiox_project *project, int display, widget_info *info, ULONG valid_styles);
28 
29         virtual void AssignFont(widget_info *info, int index, GX_RESOURCE_ID font_id);
30         virtual void AssignColor(widget_info *info, int index, GX_RESOURCE_ID color_id);
31 };
32 
33 #endif
34