X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=blobdiff_plain;f=examples%2Ffpp-game%2Ffpp-game-tutorial-controller.h;h=dd594e60c55f3d0ae71db02eccf734d784a3fe51;hp=cc09dae039a851bca4d78815e4d785286ea6bb85;hb=1b19fd140ff139b5854a1a62447faf31b175d8f6;hpb=b26d446b0cb6a316abc3a79d4fc70d0ae1b7994c diff --git a/examples/fpp-game/fpp-game-tutorial-controller.h b/examples/fpp-game/fpp-game-tutorial-controller.h index cc09dae..dd594e6 100644 --- a/examples/fpp-game/fpp-game-tutorial-controller.h +++ b/examples/fpp-game/fpp-game-tutorial-controller.h @@ -18,16 +18,15 @@ * */ +#include #include +#include #include #include -#include -#include class FppGameTutorialController : public Dali::ConnectionTracker { public: - /** * Creates new instance of FppGameTutorialController */ @@ -42,35 +41,34 @@ public: * Displays UI with tutorial * @param[in] window The window to display the tutorial on */ - void DisplayTutorial( Dali::Window window ); + void DisplayTutorial(Dali::Window window); /** * Handles tutorial touch input * @param[in] touchEvent Incoming touch event in the UI space */ - void OnTouch( const Dali::TouchEvent& touchEvent ); + void OnTouch(const Dali::TouchEvent& touchEvent); /** * Handles tutorial animation finished signal * @param[in] animation Animation object */ - void OnTutorialAnimationFinished( Dali::Animation& animation ); + void OnTutorialAnimationFinished(Dali::Animation& animation); /** * Handles tutorial completion window * @param animation Animation object */ - void OnTutorialComplete( Dali::Animation& animation ); + void OnTutorialComplete(Dali::Animation& animation); private: - - Dali::RenderTask mTutorialRenderTask; /// RenderTask associated with rendering tutorial - Dali::Actor mUiRoot; /// The parent actor for tutorial UI - Dali::Toolkit::TextLabel mLeftLabel; /// Text label displaying left message - Dali::Toolkit::TextLabel mRightLabel; /// Text label displaying right message - bool mLeftTutorialComplete; /// Flag indicating the walk (left) tutorial action has been performed - bool mRightTutorialComplete; /// Flag indicating the look (right) tutorial action has been performed - Dali::Window mWindow; + Dali::RenderTask mTutorialRenderTask; /// RenderTask associated with rendering tutorial + Dali::Actor mUiRoot; /// The parent actor for tutorial UI + Dali::Toolkit::TextLabel mLeftLabel; /// Text label displaying left message + Dali::Toolkit::TextLabel mRightLabel; /// Text label displaying right message + bool mLeftTutorialComplete; /// Flag indicating the walk (left) tutorial action has been performed + bool mRightTutorialComplete; /// Flag indicating the look (right) tutorial action has been performed + Dali::Window mWindow; }; #endif // FPPGAMETUTORIAL_H