6
#ifndef __DEMO_KEEPER_H__
7
#define __DEMO_KEEPER_H__
9
#include "BaseManager.h"
15
public base::BaseManager
20
virtual void createScene();
23
virtual void setupResources();
25
void makeBezier(const std::vector<MyGUI::FloatPoint>& _points, size_t _pointsNumber);
28
void notifyPointMove(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id);
29
void notifyPointPressed(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id);
30
void notifyChangeQuality(MyGUI::ScrollBar* _sender, size_t _position);
33
MyGUI::Widget* mClient;
34
std::vector<MyGUI::FloatPoint> mLinePoints;
35
MyGUI::PolygonalSkin* mPolygonalSkin;
36
MyGUI::TextBox* mQualityText;
37
MyGUI::IntPoint mOffset;
42
#endif // __DEMO_KEEPER_H__
6
#ifndef __DEMO_KEEPER_H__
7
#define __DEMO_KEEPER_H__
9
#include "Base/BaseDemoManager.h"
15
public base::BaseDemoManager
20
virtual void createScene();
23
virtual void setupResources();
25
void makeBezier(const std::vector<MyGUI::FloatPoint>& _points, size_t _pointsNumber);
28
void notifyPointMove(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id);
29
void notifyPointPressed(MyGUI::Widget* _sender, int _left, int _top, MyGUI::MouseButton _id);
30
void notifyChangeQuality(MyGUI::ScrollBar* _sender, size_t _position);
31
void notifyChangeStroke(MyGUI::ScrollBar* _sender, size_t _position);
34
MyGUI::Widget* mClient;
35
std::vector<MyGUI::FloatPoint> mLinePoints;
36
MyGUI::PolygonalSkin* mPolygonalSkin;
37
MyGUI::TextBox* mQualityText;
38
MyGUI::TextBox* mStrokeText;
39
MyGUI::IntPoint mOffset;
44
#endif // __DEMO_KEEPER_H__