2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 //==========================================================================
12 * @file CicoCommonWindow.h
14 * @brief This file is definition of CicoCommonWindow class
16 //==========================================================================
17 #ifndef __CICO_COMMON_WINDOW_H__
18 #define __CICO_COMMON_WINDOW_H__
20 #include <Elementary.h>
25 //==========================================================================
27 * @brief This class provide the common window interfaces
29 //==========================================================================
30 class CicoCommonWindow
33 // default constructor
37 virtual ~CicoCommonWindow();
39 // terminate the window
40 virtual bool Terminate(void);
43 virtual void Show(void);
46 virtual void Hide(void);
48 // set position of the window
49 virtual void SetPos(int x, int y);
51 // set size of the window
52 virtual void SetSize(int w, int h);
56 Ecore_Evas *window_; /// main window
57 Evas_Object *windowobj_; /// background
58 int posx_; /// position x
59 int posy_; /// position y
60 int width_; /// window width
61 int height_; /// window height
63 #endif // __CICO_COMMON_WINDOW_H__
64 // vim: set expandtab ts=4 sw=4: