cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e06d9bc332fb4e6313318639b85008325a569c94

commit e06d9bc332fb4e6313318639b85008325a569c94
Author: taehyub <[email protected]>
Date:   Mon Jan 4 14:51:28 2016 -0800

    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 <[email protected]>
---
 data/themes/colorclasses.edc     | 4 ++++
 data/themes/edc/elm/ctxpopup.edc | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/data/themes/colorclasses.edc b/data/themes/colorclasses.edc
index 98e8c91..33f6f82 100644
--- a/data/themes/colorclasses.edc
+++ b/data/themes/colorclasses.edc
@@ -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";
diff --git a/data/themes/edc/elm/ctxpopup.edc b/data/themes/edc/elm/ctxpopup.edc
index c7e8553..783c044 100644
--- a/data/themes/edc/elm/ctxpopup.edc
+++ b/data/themes/edc/elm/ctxpopup.edc
@@ -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";
          }
       }
    }

-- 


Reply via email to