Adapt the AIL filter used to new ones
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCDisplayZone.h
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 is definition of CicoSCDisplayZone class
15  */
16 //==========================================================================
17 #ifndef __CICO_SC_DISPLAYZONE_H__
18 #define __CICO_SC_DISPLAYZONE_H__
19
20 #include <string>
21
22 //==========================================================================
23 //  Forward declaration
24 //==========================================================================
25 class CicoSCWindow;
26
27 //==========================================================================
28 /**
29  *  @brief  This class hold display zone information
30  */
31 //==========================================================================
32 class CicoSCDisplayZone
33 {
34 public:
35     // default constructor
36     CicoSCDisplayZone();
37
38     // destructor
39     virtual ~CicoSCDisplayZone();
40
41     // dump log CicoSCDisplay member variables
42     void dump(void);
43
44 private:
45     // assignment operator
46     CicoSCDisplayZone& operator=(const CicoSCDisplayZone &object);
47
48     // copy constructor
49     CicoSCDisplayZone(const CicoSCDisplayZone &object);
50
51 public:
52     int zoneid;                     ///< display zone id
53     int x;                          ///< display zone x position
54     int y;                          ///< display zone y position
55     int width;                      ///< display zone width
56     int height;                     ///< display zone height
57     std::string fullname;           ///< full name of layer
58     CicoSCWindow *displayedWindow;  ///< current displayed window
59
60     /// fixed asppect ratio flag
61     bool aspectFixed;
62     /// horizontal direction to aligned at the left
63     bool aspectAlignLeft;
64     /// horizontal direction to aligned at the right
65     bool aspectAlignRight;
66     /// vertical direction is aligned at the top
67     bool aspectAlignTop;
68     /// vertical direction is aligned at the bottom
69     bool aspectAlignBottom;
70 };
71 #endif  // __CICO_SC_DISPLAYZONE_H__
72 // vim:set expandtab ts=4 sw=4: