X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Ftext%2Flayouts%2Flayout-engine.h;h=f866f3e0286f490a9ec356cf2c6ac2f6970c32dc;hb=2047844bb3b4a84231905c8c540d34d4c468e5ad;hp=121b2400b4ba08a756866afbca66b17696621094;hpb=5b3cf0e6742934674bdf62bbe15af00e39eae566;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/layouts/layout-engine.h b/dali-toolkit/internal/text/layouts/layout-engine.h index 121b240..f866f3e 100644 --- a/dali-toolkit/internal/text/layouts/layout-engine.h +++ b/dali-toolkit/internal/text/layouts/layout-engine.h @@ -24,6 +24,7 @@ // INTERNAL INCLUDE #include +#include namespace Dali { @@ -74,6 +75,13 @@ public: ~LayoutEngine(); /** + * @brief Provide the wrapper around FontClient used to get metrics + * + * @param[in] metrics Used to get metrics + */ + void SetMetrics( MetricsPtr& metrics ); + + /** * @brief Choose the required layout. * * @param[in] layout The required layout. @@ -128,6 +136,20 @@ public: VerticalAlignment GetVerticalAlignment() const; /** + * @brief Sets the width of the cursor. + * + * @param[in] width The width of the cursor in pixels. + */ + void SetCursorWidth( int width ); + + /** + * @brief Retrieves the width of the cursor. + * + * @return The width of the cursor in pixels. + */ + int GetCursorWidth() const; + + /** * @brief Store the visual position of glyphs in the VisualModel. * * @param[in] layoutParameters The parameters needed to layout the text.