//---------------------------------------------------------------------------
#ifndef TestButtonH
#define TestButtonH
//---------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
//---------------------------------------------------------------------------
enum ButtonSize{
_10X20 , _30X40 , _50X60
};
class PACKAGE TTestButton : public TButton
{
private:
TImage *Image;
ButtonSize FSize;
void __fastcall SetFSize(ButtonSize Value);
protected:
public:
__fastcall TTestButton(TComponent* Owner);
__published:
__property ButtonSize Size = {read = FSize , write = SetFSize , default = 0};
};
//---------------------------------------------------------------------------
#endif
Ly8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KCiNpZm5kZWYgVGVzdEJ1dHRvbkgKI2RlZmluZSBUZXN0QnV0dG9uSAovLy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQojaW5jbHVkZSA8U3lzVXRpbHMuaHBwPgojaW5jbHVkZSA8Q2xhc3Nlcy5ocHA+CiNpbmNsdWRlIDxDb250cm9scy5ocHA+CiNpbmNsdWRlIDxTdGRDdHJscy5ocHA+Ci8vLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCmVudW0gQnV0dG9uU2l6ZXsKICAgIF8xMFgyMCAsIF8zMFg0MCAsIF81MFg2MAp9OwpjbGFzcyBQQUNLQUdFIFRUZXN0QnV0dG9uIDogcHVibGljIFRCdXR0b24Kewpwcml2YXRlOgogICAgVEltYWdlICpJbWFnZTsKICAgIEJ1dHRvblNpemUgRlNpemU7CiAgICB2b2lkIF9fZmFzdGNhbGwgU2V0RlNpemUoQnV0dG9uU2l6ZSBWYWx1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