2 #include "oxygine-include.h" 8 DECLARE_SMART(DebugActor, spDebugActor);
14 static spDebugActor instance;
17 static void initialize();
21 static void release();
24 static void addDebugString(
const char* format, ...);
25 static std::string getDefaultName() {
return "debug_actor"; }
33 void showTexel2PixelErrors(
bool show);
36 void onAdded2Stage()
override;
37 void onRemovedFromStage()
override;
38 void showDevMenu(spActor data);
39 void _btnClicked(
Event* ev);
44 void addButton(
float& x,
const char* name,
const char* anim);
47 spColorRectSprite _bg;
49 std::string _debugText;
54 bool _showTouchedActor;
55 bool _showTexel2PixelErrors;
60 void onEvent(
Event* ev);
61 void onDAEvent(
Event* ev);
void doUpdate(const UpdateState &us) override
void showTouchedActor(bool show)
Definition: RenderState.h:27
Definition: DebugActor.h:11
Definition: UpdateState.h:6
void render(const RenderState &) override
–oxgl-end–!
Definition: Actor.h:14
Definition: Resources.h:43
static void setCorner(int corner)