Adapt the AIL filter used to new ones
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCDisplayZone.cpp
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
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
7  *
8  */
9
10 /*========================================================================*/
11 /**
12  *  @file   CicoSCDisplayZone.h
13  *
14  *  @brief  This file implementation of CicoSCDisplayZone class
15  */
16 /*========================================================================*/
17
18 #include "CicoSCDisplayZone.h"
19 #include "CicoLog.h"
20
21 //--------------------------------------------------------------------------
22 /**
23  *  @brief  default constructor
24  */
25 //--------------------------------------------------------------------------
26 CicoSCDisplayZone::CicoSCDisplayZone()
27     : zoneid(-1), x(-1), y(-1), width(-1), height(-1), fullname(""),
28       displayedWindow(NULL), aspectFixed(false), aspectAlignLeft(false), 
29       aspectAlignRight(false), aspectAlignTop(false), aspectAlignBottom(false)
30 {
31 }
32
33 //--------------------------------------------------------------------------
34 /**
35  *  @brief  destructor
36  */
37 //--------------------------------------------------------------------------
38 CicoSCDisplayZone::~CicoSCDisplayZone()
39 {
40 }
41
42 //--------------------------------------------------------------------------
43 /**
44  *  @brief  dump log CicoSCDisplayZone member variables
45  */
46 //--------------------------------------------------------------------------
47 void
48 CicoSCDisplayZone::dump(void)
49 {
50     ICO_DBG("CicoSCDisplayZone: zoneid=%d "
51             "x/y=%d/%d w/h=%d/%d fullname=%s window=0x%08x "
52             "aspect(fixed=%s l/r=%s/%s t/b=%s/%s",
53             zoneid, x, y, width, height, fullname.c_str(), displayedWindow,
54             aspectFixed       ? "true" : "false",
55             aspectAlignLeft   ? "true" : "false",
56             aspectAlignRight  ? "true" : "false",
57             aspectAlignTop    ? "true" : "false",
58             aspectAlignBottom ? "true" : "false");
59 }
60 // vim:set expandtab ts=4 sw=4: