// Open Service Platform
// Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Apache License, Version 2.0 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
-// http://floralicense.org/license/
+// http://www.apache.org/licenses/LICENSE-2.0/
//
// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
+// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include <FBaseObject.h>
#include <FBaseTypes.h>
#include <FGrpBitmap.h>
+#include <FGrpFloatRectangle.h>
#include <FGrpRectangle.h>
#include <FUiCtrlListItemBase.h>
*
* The %SimpleItem class displays a list item, which is the unit of handling a ListView or GroupedListView. It provides the default
* formatting of the list items.
- * @n
+ *
* For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/ui/implementing_listviews.htm">ListViews</a>.
*
*/
public:
/**
* The object is not fully constructed after this constructor is
- * called. For full construction, the Construct() method must be
+ * called. @n For full construction, the %Construct() method must be
* called right after calling this constructor.
*
* @since 2.0
result Construct(const Tizen::Graphics::Dimension& itemSize, ListAnnexStyle style);
/**
+ * Initializes this instance of %SimpleItem with the specified parameters.
+ *
+ * @since 2.1
+ *
+ * @return An error code
+ * @param[in] itemSize The size of the item
+ * @param[in] style The style of Annex
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_SYSTEM A system error has occurred.
+ */
+ result Construct(const Tizen::Graphics::FloatDimension& itemSize, ListAnnexStyle style);
+
+ /**
* Sets the text string and bitmap image for %SimpleItem.
*
* @since 2.0