projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement default height for width and width for height for visuals and remove obsole...
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
devel-api
/
visual-factory
/
visual-base.h
diff --git
a/dali-toolkit/devel-api/visual-factory/visual-base.h
b/dali-toolkit/devel-api/visual-factory/visual-base.h
index
9e9fc64
..
f7ffb51
100644
(file)
--- a/
dali-toolkit/devel-api/visual-factory/visual-base.h
+++ b/
dali-toolkit/devel-api/visual-factory/visual-base.h
@@
-142,7
+142,16
@@
public:
*
* @return The height based on the width.
*/
*
* @return The height based on the width.
*/
- float GetHeightForWidth( float width ) const;
+ float GetHeightForWidth( float width );
+
+ /**
+ * @brief Returns the width for a given height.
+ *
+ * @param[in] height Height to use.
+ *
+ * @return The width based on the height.
+ */
+ float GetWidthForHeight( float height );
/**
* @brief Return the natural size of the visual.
/**
* @brief Return the natural size of the visual.