diff options
Diffstat (limited to 'project/inc/MainListForm.h')
-rwxr-xr-x | project/inc/MainListForm.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/project/inc/MainListForm.h b/project/inc/MainListForm.h new file mode 100755 index 0000000..bfb1fef --- /dev/null +++ b/project/inc/MainListForm.h @@ -0,0 +1,51 @@ +// +// Tizen C++ SDK +// Copyright (c) 2012 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://www.tizenopensource.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. +// + +#ifndef _MAINLISTFORM_H_ +#define _MAINLISTFORM_H_ + +#include <FBase.h> +#include <FUi.h> + +class MainListForm + : public Tizen::Ui::Controls::Form + , public Tizen::Ui::IActionEventListener +{ +public: + MainListForm(void); + virtual ~MainListForm(void); + bool Initialize(void); + + virtual result OnInitializing(void); + virtual result OnTerminating(void); + virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId); + +protected: + static const int ID_BUTTON_XMLReader = 102; + static const int ID_BUTTON_HTMLParser = 103; + static const int ID_BUTTON_XMLParser = 104; + static const int ID_BUTTON_XMLWriter = 105; + +private: + static const int BUTTON_LEFT_RIGHT_MARGIN = 128; + static const int BUTTON_TOP_MARGIN = 112; + static const int BUTTON_BOTTOM_MARGIN = 38; + static const int BUTTON_WIDTH = 480; + static const int BUTTON_HEIGHT = 74; +}; + +#endif //_MAINLISTFORM_H_ |