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
14 #ifndef __CICO_HSWINDOW_H__
15 #define __CICO_HSWINDOW_H__
19 #include <libwebsockets.h>
26 #include <Ecore_Wayland.h>
27 #include <Ecore_Evas.h>
30 #include "CicoHomeScreenCommon.h"
32 #define ICO_ORIENTATION_VERTICAL (1)
33 #define ICO_ORIENTATION_HORIZONTAL (2)
35 #define ICO_MAX_TITLE_NAME_LEN 64
37 struct created_window_name {
38 struct created_window_name *next;
39 char winname[ICO_MAX_TITLE_NAME_LEN];
46 virtual ~CicoHSWindow(void);
47 int CreateWindow(const char *title,int pos_x,int pos_y,int width,int height,int alpha);
48 void FreeWindow(void);
49 void WindowSetting(int pos_x,int pos_y,int width,int height,int alpha);
50 void ShowWindow(void);
51 void HideWindow(void);
53 static const char *getWindowName(const int index);
57 CicoHSWindow operator=(const CicoHSWindow&);
58 CicoHSWindow(const CicoHSWindow&);
60 char title[ICO_MAX_TITLE_NAME_LEN];
64 int height; /*height*/
65 Ecore_Evas *window; /* ecore-evas object */
67 static struct created_window_name *created_window_title;
70 // vim:set expandtab ts=4 sw=4: