| 123456789101112131415161718 |
- #pragma once
- #include "oxygine-framework.h"
- using namespace oxygine;
- using namespace std;
- DECLARE_SMART(MyButton, spMyButton);
- class MyButton: public Sprite
- {
- public:
- MyButton();
- void setText(const string& txt);
- private:
- void onEvent(Event*);
- spTextField _text;
- };
|