ctxpopup: add color class

Summary:
Apply ctxpopup color class
 - ctxpopup_bg

Test Plan:
  1. change ctxpopup bg color class in colorclass.edc
  2. run elementary test
  3. check the color of ctxpopup bg

Reviewers: Hermet, kimcinoo, woohyun, raster

Differential Revision: https://phab.enlightenment.org/D3492

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
taehyub 2016-01-04 14:51:28 -08:00 committed by Cedric BAIL
parent af4bce7a45
commit 99e4f86bab
2 changed files with 10 additions and 0 deletions

View File

@ -316,6 +316,10 @@ color_classes {
color: 255 255 255 255;
desc: "Text color of popup text";
}
color_class { name: "ctxpopup_bg";
color: 255 255 255 255;
desc: "Color of ctxpopup background";
}
// modules
color_class { name: "module_label";

View File

@ -50,6 +50,7 @@ group { name: "elm/ctxpopup/base/default";
image.normal: "tooltip-base.png";
image.border: 7 7 6 8;
image.middle: SOLID;
color_class: "ctxpopup_bg";
}
}
part { name: "elm.swallow.content"; type: SWALLOW;
@ -211,30 +212,35 @@ group { name: "elm/ctxpopup/arrow/default";
min: 9 9;
fixed: 1 1;
image.normal: "tooltip-edge-left-tip.png";
color_class: "ctxpopup_bg";
}
description { state: "left" 0.0;
inherit: "default" 0.0;
min: 9 13;
align: 0.0 0.5;
image.normal: "tooltip-edge-left-tip.png";
color_class: "ctxpopup_bg";
}
description { state: "right" 0.0;
inherit: "default" 0.0;
min: 9 13;
align: 1.0 0.5;
image.normal: "tooltip-edge-right-tip.png";
color_class: "ctxpopup_bg";
}
description { state: "top" 0.0;
inherit: "default" 0.0;
min: 11 9;
align: 0.5 0.0;
image.normal: "tooltip-edge-top-tip.png";
color_class: "ctxpopup_bg";
}
description { state: "bottom" 0.0;
inherit: "default" 0.0;
min: 11 9;
align: 0.5 1.0;
image.normal: "tooltip-edge-bottom-tip.png";
color_class: "ctxpopup_bg";
}
}
}