Application& mApp;
Image mBackgroundImage;
- ImageActor mBackgroundActor;
+ Dali::Toolkit::Control mBackground;
Toolkit::BubbleEmitter mBubbleEmitter;
- Vector3 mHSVDelta;
-
Animation mEmitAnimation;
- unsigned int mAnimateComponentCount;
- bool mNeedNewAnimation;
-
+ Toolkit::PushButton mChangeBackgroundButton;
+ Toolkit::PushButton mChangeBubbleShapeButton;
Timer mTimerForBubbleEmission;
- unsigned int mNonMovementCount;
- unsigned int mTimerInterval;
+ Vector3 mHSVDelta;
Vector2 mCurrentTouchPosition;
Vector2 mEmitPosition;
*/
#include <dali-toolkit/dali-toolkit.h>
-#include <dali/devel-api/actors/mesh-actor.h>
-#include <dali/devel-api/modeling/material.h>
-#include <dali/devel-api/geometry/mesh.h>
+ #include <dali-toolkit/devel-api/controls/bubble-effect/bubble-emitter.h>
-#include <dali-toolkit/devel-api/shader-effects/bubble-effect/color-adjuster.h>
-
+
#include "shared/view.h"
#include <cstdio>
#include <iostream>
// Entry point for Linux & Tizen applications
//
-
int main(int argc, char **argv)
{
- gApplication = Application::New(&argc, &argv);
+ gApplication = Application::New(&argc, &argv, DALI_DEMO_THEME_PATH);
RunTest(gApplication);
return 0;
#include <dali/dali.h>
#include <dali-toolkit/dali-toolkit.h>
-#include <dali-toolkit/devel-api/shader-effects/page-turn-effect.h>
+ #include <dali-toolkit/devel-api/controls/page-turn-view/page-factory.h>
+ #include <dali-toolkit/devel-api/controls/page-turn-view/page-turn-landscape-view.h>
+ #include <dali-toolkit/devel-api/controls/page-turn-view/page-turn-portrait-view.h>
+ #include <dali-toolkit/devel-api/controls/page-turn-view/page-turn-view.h>
+
#include <assert.h>
#include <cstdlib>
#include <string.h>
// The Init signal is received once (only) during the Application lifetime
void Create(Application& application)
{
- DemoHelper::RequestThemeChange();
-
Stage stage = Stage::GetCurrent();
- mStageHalfSize = stage.GetSize() * 0.5f;
+ Vector2 stageSize = stage.GetSize();
stage.KeyEventSignal().Connect(this, &RefractionEffectExample::OnKeyEvent);