X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=capi%2Fdali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol.h;h=d22f6b4072420aa88a0b7753541d04e9ed9e51cf;hb=16e2b98c54081905fa9e26e017e96672581c9f34;hp=bd1b19b393f695a450983f3e96cbab886e79ad1d;hpb=a881757839b7abb008873a68c67e17b3ba39669b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/capi/dali-toolkit/public-api/controls/control.h b/capi/dali-toolkit/public-api/controls/control.h index bd1b19b..d22f6b4 100644 --- a/capi/dali-toolkit/public-api/controls/control.h +++ b/capi/dali-toolkit/public-api/controls/control.h @@ -1,22 +1,21 @@ #ifndef __DALI_TOOLKIT_CONTROL_H__ #define __DALI_TOOLKIT_CONTROL_H__ -/* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. - * - * 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://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, - * 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. - * - */ +// +// Copyright (c) 2014 Samsung Electronics Co., Ltd. +// +// Licensed under the Flora License, Version 1.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/ +// +// Unless required by applicable law or agreed to in writing, software +// 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. +// /** * @addtogroup CAPI_DALI_TOOLKIT_CONTROLS_MODULE @@ -34,13 +33,16 @@ namespace Toolkit //Forward declarations. -class ControlImpl; +namespace Internal +{ +class Control; +} /** * @brief Control is the base class for all controls. * - * The implementation of the control must be supplied; see ControlImpl for more details. - * @see ControlImpl + * The implementation of the control must be supplied; see Internal::Control for more details. + * @see Internal::Control */ class Control : public CustomActor, public ConnectionTrackerInterface { @@ -50,6 +52,11 @@ public: /** @{ */ static const Property::Index PROPERTY_BACKGROUND_COLOR; ///< name "background-color", @see SetBackgroundColor, type VECTOR4 static const Property::Index PROPERTY_BACKGROUND; ///< name "background", @see SetBackground, type MAP + static const Property::Index PROPERTY_WIDTH_POLICY; ///< name "width-policy", @see SetSizePolicy, type STRING + static const Property::Index PROPERTY_HEIGHT_POLICY; ///< name "height-policy", @see SetSizePolicy, type STRING + static const Property::Index PROPERTY_MINIMUM_SIZE; ///< name "minimum-size", @see SetMinimumSize, type VECTOR3 + static const Property::Index PROPERTY_MAXIMUM_SIZE; ///< name "maximum-size", @see SetMaximumSize, type VECTOR3 + static const Property::Index PROPERTY_KEY_INPUT_FOCUS; ///< name "key-input-focus", @see SetKeyInputFocus, type BOOLEAN /** @} */ /// @name Signals @@ -161,14 +168,14 @@ public: * * @return The implementation. */ - ControlImpl& GetImplementation(); + Internal::Control& GetImplementation(); /** * @brief Retrieve the Control implementation. * * @return The implementation. */ - const ControlImpl& GetImplementation() const; + const Internal::Control& GetImplementation() const; // Size Negotiation @@ -389,7 +396,7 @@ public: // Not intended for application developers * @param[in] implementation The implementation for this control. * @return A handle to a newly allocated Dali resource. */ - Control(ControlImpl& implementation); + Control(Internal::Control& implementation); /** * @brief This constructor is used by CustomActor within Dali core to create additional Control handles