3b36b7107382796fbacd04a32ef3b89c17161e2d
[apps/native/sample/BasicApp.git] / project / inc / ButtonPanel.h
1 //
2 // Tizen C++ SDK
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 //     http://floralicense.org/license/
10 //
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.
16 //
17
18 #ifndef _BUTTON_PANEL_H_
19 #define _BUTTON_PANEL_H_
20
21 #include <FGraphics.h>
22 #include <FUi.h>
23
24 class ButtonPanel
25         : public Tizen::Ui::Controls::Panel
26         , public Tizen::Ui::IActionEventListener
27 {
28 public:
29         ButtonPanel(void);
30         virtual ~ButtonPanel(void);
31
32         result Initialize(const Tizen::Graphics::Rectangle& Rect);
33
34         virtual result OnInitializing(void);
35         virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
36
37 private:
38         static const int ID_BUTTON = 101;
39
40         Tizen::Ui::Controls::Label *__pLabel;
41 };
42
43 #endif