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 CicoSCWindow.h
14 * @brief This file is definition of CicoSCWindow class
16 //==========================================================================
17 #ifndef __CICO_SC_WINDOW_H__
18 #define __CICO_SC_WINDOW_H__
22 //==========================================================================
24 //==========================================================================
25 #define ICO_SURFACEID_2_HOSTID(surfid) (((unsigned int)surfid) >> 24)
26 #define ICO_SURFACEID_2_DISPLAYNO(surfid) (((unsigned int)surfid) >> 16)
27 #define ICO_SURFACEID_2_NODEID(surfid) (((unsigned int)surfid) >> 16)
28 #define ICO_SURFACEID_BASE(nodeid) (((unsigned int)nodeid) << 16)
30 //--------------------------------------------------------------------------
32 * @brief This class holds window information
34 //--------------------------------------------------------------------------
38 // default constructor
42 virtual ~CicoSCWindow();
44 // dump log CicoSCWindow member variables
48 // assignment operator
49 CicoSCWindow& operator=(const CicoSCWindow &object);
52 CicoSCWindow(const CicoSCWindow &object);
55 int surfaceid; ///< surface id (window id)
56 std::string name; ///< window name
57 std::string appid; ///< application id
58 int pid; ///< process id
59 int layertype; ///< layer type
61 int nodeid; ///< node id
62 int displayid; ///< display id
63 int layerid; ///< layer id
64 std::string zone; ///< display zone name
65 int zoneid; ///< display zone id
66 int subwindow; ///< main window(0) or sub window(!0)
67 unsigned int eventmask; ///< Event to receive through this window
68 int x; ///< Upper left X coord of the window
69 int y; ///< Upper left Y coord of the window
70 int width; ///< width of window
71 int height; ///< height of window
72 bool visible; ///< visibility
73 bool raise; ///< raise/lower
74 bool active; ///< active/inactive
76 #endif // __CICO_SC_WINDOW_H__
77 // vim:set expandtab ts=4 sw=4: