Skip to content

Instantly share code, notes, and snippets.

Created June 29, 2016 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4bdf0f8d65aafd9b4e9f630e06d0ad1d to your computer and use it in GitHub Desktop.
Save anonymous/4bdf0f8d65aafd9b4e9f630e06d0ad1d to your computer and use it in GitHub Desktop.
#if !defined(__ttt_appcontroller_h)
#define __ttt_appcontroller_h
#include <mono.h>
class AppController;
class TouchField
:
public mono::ui::ResponderView
{
void TouchBegin (mono::TouchEvent & event);
void repaint ();
};
class AppController
:
public mono::IApplication
{
public:
AppController ();
void monoWakeFromReset ();
void monoWillGotoSleep ();
void monoWakeFromSleep ();
TouchField field;
private:
mono::ui::TextLabelView topLabel;
};
#endif // __ttt_appcontroller_h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment