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 CicoBackground.cpp
16 /*========================================================================*/
21 #include "CicoBackground.h"
27 CicoBackground::CicoBackground(const Evas *parent,
28 const CicoGeometry &geometry,
29 const CicoColor &color)
30 : CicoEvasObject(parent, CicoEvasObject::OBJTYPE_RECTANGLE, geometry),
33 ICO_DBG("CicoBackground::CicoBackground entry");
35 /* setup attribute background object */
42 ICO_DBG("CicoBackground::CicoBackground exit");
48 CicoBackground::~CicoBackground()
50 ICO_DBG("CicoBackground::~CicoBackground entry");
51 ICO_DBG("CicoBackground::~CicoBackground exit");
55 * Set background color
58 CicoBackground::setColor(const CicoColor &color)
60 ICO_DBG("CicoBackground::setColor entry");
62 ICO_DBG("color(R:%03d G:%03d B:%03d A:%03d)",
64 _color._b, _color._a);
65 evas_object_color_set(_object,
67 _color._b, _color._a);
68 ICO_DBG("CicoBackground::setColor exit");
70 /* vim: set expandtab ts=4 sw=4: */