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 implementation of CicoSCWindow class
16 //==========================================================================
21 #include "CicoSCWindow.h"
22 #include "CicoSCWlWinMgrIF.h"
25 //--------------------------------------------------------------------------
27 * @brief default constructor
29 //--------------------------------------------------------------------------
30 CicoSCWindow::CicoSCWindow()
31 : surfaceid(-1), name(""), appid(""), pid(-1),
32 nodeid(-1), displayid(-1), layerid(-1), zone(""), zoneid(-1),
33 subwindow(0), eventmask(0), srcwidth(0), srcheight(0), x(-1), y(-1),
34 width(-1), height(-1), visible(false), raise(false), active(false)
36 // ICO_TRA("CicoSCWindow::CicoSCWindow Enter");
37 // ICO_TRA("CicoSCWindow::CicoSCWindow Leave");
40 //--------------------------------------------------------------------------
44 //--------------------------------------------------------------------------
45 CicoSCWindow::~CicoSCWindow()
47 ICO_TRA("CicoSCWindow::~CicoSCWindow Enter");
48 CicoSCWlWinMgrIF::wlIviCtrlRemoveSurface(surfaceid);
49 ICO_TRA("CicoSCWindow::~CicoSCWindow Leave");
52 //--------------------------------------------------------------------------
54 * @brief dump log this class member variables
56 //--------------------------------------------------------------------------
58 CicoSCWindow::dump(void)
60 ICO_DBG("CicoSCWindow: surfaceid=0x%08X name=%s appid=%s pid=%d "
61 "nodeid=%d displayid=%d layerid=%d zone=%s zoneid=%d "
62 "subwindow=%d eventmask=%d x=%d y=%d width=%d height=%d "
63 "visible=%s raise=%s active=%s",
64 surfaceid, name.c_str(), appid.c_str(), pid, nodeid, displayid,
65 layerid, zone.c_str(), zoneid, subwindow, eventmask,
67 visible ? "true" : "false", raise ? "true" : "false",
68 active ? "true" : "false");
70 // vim:set expandtab ts=4 sw=4: