* Positions are from the top left of the layout and can be set using the
* Actor::Property::POSITION and alike.
*/
-class DALI_IMPORT_API AbsoluteLayout : public LayoutGroup
+class DALI_TOOLKIT_API AbsoluteLayout : public LayoutGroup
{
public:
* @brief Controls the process of layouting the control tree. It provides methods to enable
* controls to re-layout and internal systems to separately measure and layout controls.
*/
-class DALI_IMPORT_API LayoutController : public BaseHandle
+class DALI_TOOLKIT_API LayoutController : public BaseHandle
{
public:
/**
* OnLayout should use it's own layout parameters and the measured children's size to determine the children's
* position and size; it should then call Layout() on the child layout to layout the child and it's hierarchy.
*/
-class DALI_IMPORT_API LayoutGroup : public LayoutItem,
- public ConnectionTracker
+class DALI_TOOLKIT_API LayoutGroup : public LayoutItem,
+ public ConnectionTracker
{
public:
/**
* To write a new layout, inherit from both LayoutGroup handle and Internal::LayoutGroup body.
*
*/
-class DALI_IMPORT_API LayoutGroup : public LayoutItem
+class DALI_TOOLKIT_API LayoutGroup : public LayoutItem
{
public:
using LayoutId = unsigned int;
/**
* Base class for layouts.
*/
-class DALI_IMPORT_API LayoutItem : public BaseObject,
- public LayoutParent
+class DALI_TOOLKIT_API LayoutItem : public BaseObject,
+ public LayoutParent
{
public:
/**
#include <dali/public-api/object/property-index-ranges.h>
#include <dali-toolkit/devel-api/layouting/child-layout-data.h>
#include <dali-toolkit/devel-api/layouting/measure-spec.h>
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
namespace Dali
{
* Base class for layouts. It is used to layout a control (or visual).
* It can be laid out by a LayoutGroup.
*/
-class DALI_IMPORT_API LayoutItem : public BaseHandle
+class DALI_TOOLKIT_API LayoutItem : public BaseHandle
{
public:
* limitations under the License.
*/
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
+
namespace Dali
{
namespace Toolkit
* Needed to prevent circular inheritance - most LayoutBases have a parent,
* but parenting is provided by LayoutGroup, which is a sub-class of LayoutBase.
*/
-class DALI_IMPORT_API LayoutParent
+class DALI_TOOLKIT_API LayoutParent
{
public:
/**
* This class implements a linear box layout, automatically handling
* right to left or left to right direction change.
*/
-class DALI_IMPORT_API LinearLayout : public LayoutGroup
+class DALI_TOOLKIT_API LinearLayout : public LayoutGroup
{
public:
#include <dali/public-api/common/dali-common.h>
#include <dali-toolkit/devel-api/layouting/layout-length.h>
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
#include <sstream>
* how to be measured. For instance, it may measure a child with an exact width and an unspecified
* height in order to determine height for width.
*/
-class DALI_IMPORT_API MeasureSpec
+class DALI_TOOLKIT_API MeasureSpec
{
public:
using IntType = LayoutLength::IntType;
#include <dali/public-api/common/dali-common.h>
#include <dali-toolkit/devel-api/layouting/layout-length.h>
+#include <dali-toolkit/public-api/dali-toolkit-common.h>
namespace Dali
{
/**
* Class that encodes a measurement and a measure state, which is set if the measured size is too small.
*/
-class DALI_IMPORT_API MeasuredSize
+class DALI_TOOLKIT_API MeasuredSize
{
public:
* This class implements a vertical box layout, automatically handling
* right to left or left to right direction change.
*/
-class DALI_IMPORT_API VboxLayout : public LayoutGroup
+class DALI_TOOLKIT_API VboxLayout : public LayoutGroup
{
public: