3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.1 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://floralicense.org/license/
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 //!Internet IntFontSize class
19 /*@file: IntFontSize.h
20 *@brief: This class defines IntFontSize used to change the font size
24 #ifndef _INT_READER_FONT_SIZE_FORM_H_
25 #define _INT_READER_FONT_SIZE_FORM_H_
30 class ReaderFontSizeForm
31 : public Tizen::Ui::Controls::Form
32 , public Tizen::Ui::IActionEventListener
33 , public Tizen::Ui::Controls::IFormBackEventListener
34 , public Tizen::Ui::Scenes::ISceneEventListener
35 , public Tizen::Ui::Controls::ISliderEventListener
39 * @brief The Default Constructor
41 ReaderFontSizeForm(void);
44 * @brief The Default Destructor
46 virtual ~ReaderFontSizeForm(void);
49 * @brief Initializes this IntFontSize Form.
50 * @return An error code
52 * @exception true The method is successful.
53 * @exception false An error occurred.
55 bool Initialize(void);
58 * @brief Initializes the controls of the UI for IntFontSize.
60 * @return An error code
61 * @exception E_SUCCESS The method is successful.
62 * @exception E_INVALID_STATE This instance has already been constructed.
63 * @exception E_INVALID_ARG A specified input parameter is invalid.
64 * @exception E_OUT_OF_MEMORY The memory is insufficient.
65 * @exception E_SYSTEM A system error has occurred.
68 result OnInitializing(void);
71 //IActionEventListener
72 virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
74 //IFormBackEventListener
75 virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
78 virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
79 virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
81 //ISliderEventListener
82 virtual void OnSliderBarMoved(Tizen::Ui::Controls::Slider& source, int value);
85 Tizen::Ui::Controls::Slider* __pFontSlider;
86 Tizen::Base::Integer* __pFontValue;
89 #endif /* _INT_READER_FONT_SIZE_FORM_H_ */