forked from eclipse-threadx/guix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbutton_service_provider.h
25 lines (19 loc) · 998 Bytes
/
button_service_provider.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _BUTTON_SERVICE_PROVIDER_
#define _BUTTON_SERVICE_PROVIDER_
class button_service_provider : public widget_service_provider
{
public:
button_service_provider();
virtual int GetType() {return GX_TYPE_BUTTON;}
virtual CString GetTypeName(widget_info *) {return CString("GX_TYPE_BUTTON");}
virtual CString GetShortName() {return CString("button");}
virtual CString GetVarDeclaration();
virtual CString GetControlBlockName() {return CString("GX_BUTTON");}
virtual CString DeclarePropertiesStruct() {return CString("");}
virtual CString GetCreateFromDefFunctionName();
virtual CString GetCreateFromDefFunction(int version);
virtual widget_info *CreateNewInstance(GX_WIDGET *parent);
virtual GX_WIDGET *GenerateFromInfo(GX_WIDGET *parent, widget_info *info);
virtual void ReadFromProject(xml_reader &, studiox_project *project, int display, widget_info *info, ULONG valid_styles);
};
#endif