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