X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fpopup%2Fpopup-impl.cpp;h=42fac718e38bd27a9956bef36f3bfbb62c71380d;hp=0cd53c9ab877b5fe82d5c22641294a71ffdb4325;hb=4b347781c8761d2909b235ded2e98d272fa9ac16;hpb=dc3613bb6248908c267a76e378b04962bce85664 diff --git a/dali-toolkit/internal/controls/popup/popup-impl.cpp b/dali-toolkit/internal/controls/popup/popup-impl.cpp index 0cd53c9..42fac71 100755 --- a/dali-toolkit/internal/controls/popup/popup-impl.cpp +++ b/dali-toolkit/internal/controls/popup/popup-impl.cpp @@ -19,86 +19,28 @@ #include // EXTERNAL INCLUDES +#include // for strcmp #include #include #include #include #include #include +#include #include +#include +#include #include -#include // INTERNAL INCLUDES #include -#include #include -#include -#include +#include #include +#include using namespace Dali; -namespace -{ -const float CONTENT_DEPTH = 1.0f; ///< 3D Effect of buttons/title etc. appearing off the popup. -const float POPUP_ANIMATION_DURATION = 0.5f; ///< Duration of hide/show animations -const float BACKING_DEPTH = -1.0f; ///< Depth of backing (positioned just behind dialog, so dialog catches hit events first) - -const float POPUP_WIDTH = 720.0f; ///< Width of Popup -const float POPUP_OUT_MARGIN_WIDTH = 16.f; ///< Space between the screen edge and the popup edge in the horizontal dimension. -const float POPUP_OUT_MARGIN_HEIGHT = 36.f; ///< Space between the screen edge and the popup edge in the vertical dimension. -const float POPUP_TITLE_WIDTH = 648.0f; ///