\hypertarget{group__Edje__Object__Color__Class}{}\doxysection{Edje Class\+: Color}
\label{group__Edje__Object__Color__Class}\index{Edje Class: Color@{Edje Class: Color}}


Functions that deal with Color Classes.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}{edje\+\_\+color\+\_\+class\+\_\+set}} (const char $\ast$color\+\_\+class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3)
\begin{DoxyCompactList}\small\item\em Sets Edje color class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__Color__Class_gaff4fa2c325782d6cff2876d2f5bfaea4}{edje\+\_\+color\+\_\+class\+\_\+apply}} (void)
\begin{DoxyCompactList}\small\item\em Applies changes mad when setting Edje color classes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Color__Class_gaf4e14706bc9766011ca60862f057d56e}{edje\+\_\+color\+\_\+class\+\_\+get}} (const char $\ast$color\+\_\+class, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a, int $\ast$r2, int $\ast$g2, int $\ast$b2, int $\ast$a2, int $\ast$r3, int $\ast$g3, int $\ast$b3, int $\ast$a3)
\begin{DoxyCompactList}\small\item\em Gets Edje color class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__Color__Class_ga0d30416497554e3f50c893de5c0cccad}{edje\+\_\+color\+\_\+class\+\_\+del}} (const char $\ast$color\+\_\+class)
\begin{DoxyCompactList}\small\item\em Deletes edje color class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ \mbox{\hyperlink{group__Edje__Object__Color__Class_gaf38d72501616d019a5743d75bfc5f81c}{edje\+\_\+color\+\_\+class\+\_\+list}} (void)
\begin{DoxyCompactList}\small\item\em Lists color classes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ \mbox{\hyperlink{group__Edje__Object__Color__Class_ga8906423cac2f9807a3fc964a48bc7ca6}{edje\+\_\+color\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new}} (void)
\begin{DoxyCompactList}\small\item\em Iterates over all the active class of an application. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ \mbox{\hyperlink{group__Edje__Object__Color__Class_gad92915b7a0de8155fbfb768b12b0f452}{edje\+\_\+mmap\+\_\+color\+\_\+class\+\_\+iterator\+\_\+new}} (\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$f)
\begin{DoxyCompactList}\small\item\em Iterates over all the color class provided by an Edje file. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Color__Class_ga2361689c9d0655fcbfe522038b057874}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+set}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$color\+\_\+class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3)
\begin{DoxyCompactList}\small\item\em Sets the object color class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Color__Class_ga406f0001c870d2d6a04545b1daedfc4b}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+get}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$color\+\_\+class, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a, int $\ast$r2, int $\ast$g2, int $\ast$b2, int $\ast$a2, int $\ast$r3, int $\ast$g3, int $\ast$b3, int $\ast$a3)
\begin{DoxyCompactList}\small\item\em Gets the object color class. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group__Edje__Object__Color__Class_ga88a517de928e71069ef64316bde6b392}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+del}} (\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj, const char $\ast$color\+\_\+class)
\begin{DoxyCompactList}\small\item\em Delete the object color class. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Edje__Object__Color__Class_ga96d9a2fc6cdcb00f24c658c77793b0ac}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+clear}} (const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$obj)
\begin{DoxyCompactList}\small\item\em Delete all color classes defined in object level. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__Edje__Object__Color__Class_ga88286f23995399b2c03024f6fd56e578}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+description\+\_\+get}} (const Edje\+\_\+\+Object $\ast$obj, const char $\ast$color\+\_\+class)
\begin{DoxyCompactList}\small\item\em Gets the description of an object color class. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Functions that deal with Color Classes. 

Sometimes we want to change the color of two or more parts equally and that\textquotesingle{}s when we use color classes.

If one or more parts are assigned with a color class, when we set color values to this class it will cause all these parts to have their colors multiplied by the values. Setting values to a color class at a process level will affect all parts with that color class, while at a object level will affect only the parts inside an specified object. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}\label{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_color\_class\_set@{edje\_color\_class\_set}}
\index{edje\_color\_class\_set@{edje\_color\_class\_set}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_color\_class\_set()}{edje\_color\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+color\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{const char $\ast$}]{color\+\_\+class,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b,  }\item[{int}]{a,  }\item[{int}]{r2,  }\item[{int}]{g2,  }\item[{int}]{b2,  }\item[{int}]{a2,  }\item[{int}]{r3,  }\item[{int}]{g3,  }\item[{int}]{b3,  }\item[{int}]{a3 }\end{DoxyParamCaption})}



Sets Edje color class. 


\begin{DoxyParams}{Parameters}
{\em color\+\_\+class} & \\
\hline
{\em r} & Object Red value \\
\hline
{\em g} & Object Green value \\
\hline
{\em b} & Object Blue value \\
\hline
{\em a} & Object Alpha value \\
\hline
{\em r2} & Outline Red value \\
\hline
{\em g2} & Outline Green value \\
\hline
{\em b2} & Outline Blue value \\
\hline
{\em a2} & Outline Alpha value \\
\hline
{\em r3} & Shadow Red value \\
\hline
{\em g3} & Shadow Green value \\
\hline
{\em b3} & Shadow Blue value \\
\hline
{\em a3} & Shadow Alpha value\\
\hline
\end{DoxyParams}
This function sets the color values for a process level color class. This will cause all edje parts in the current process that have the specified color class to have their colors multiplied by these values. (Object level color classes set by \mbox{\hyperlink{group__Edje__Object__Color__Class_ga2361689c9d0655fcbfe522038b057874}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+set()}} will override the values set by this function).

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

Setting color emits a signal \char`\"{}color\+\_\+class,set\char`\"{} with source being the given color class in all objects.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}{edje\+\_\+color\+\_\+class\+\_\+set()}}.
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
Unlike Evas, Edje colors are {\bfseries{not}} pre-\/multiplied. That is, half-\/transparent white is 255 255 255 128.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
Eina\+\_\+\+Bool, {\ttfamily EINA\+\_\+\+TRUE} on success and {\ttfamily EINA\+\_\+\+FALSE} on failure. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-color-class_8c-example}{edje-\/color-\/class.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Hash__Group_ga9fdef2647ff77d42d2b3271c1f71030e}{eina\+\_\+hash\+\_\+string\+\_\+superfast\+\_\+new()}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Elm__Color__Class__Group_gaf9e0a25a2cd3e57d3ff211b62d763ba8}{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add()}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_gaff4fa2c325782d6cff2876d2f5bfaea4}\label{group__Edje__Object__Color__Class_gaff4fa2c325782d6cff2876d2f5bfaea4}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_color\_class\_apply@{edje\_color\_class\_apply}}
\index{edje\_color\_class\_apply@{edje\_color\_class\_apply}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_color\_class\_apply()}{edje\_color\_class\_apply()}}
{\footnotesize\ttfamily void edje\+\_\+color\+\_\+class\+\_\+apply (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Applies changes mad when setting Edje color classes. 

This forces all changes to color classes made by (for example) \mbox{\hyperlink{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}{edje\+\_\+color\+\_\+class\+\_\+set()}} to actually take effect.

\begin{DoxySince}{Since}
1.\+26 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Inline__List__Group_ga65e496b9b16d527d23c1d735652b4e62}{EINA\+\_\+\+INLIST\+\_\+\+FOREACH}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_gaf4e14706bc9766011ca60862f057d56e}\label{group__Edje__Object__Color__Class_gaf4e14706bc9766011ca60862f057d56e}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_color\_class\_get@{edje\_color\_class\_get}}
\index{edje\_color\_class\_get@{edje\_color\_class\_get}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_color\_class\_get()}{edje\_color\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+color\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{color\+\_\+class,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b,  }\item[{int $\ast$}]{a,  }\item[{int $\ast$}]{r2,  }\item[{int $\ast$}]{g2,  }\item[{int $\ast$}]{b2,  }\item[{int $\ast$}]{a2,  }\item[{int $\ast$}]{r3,  }\item[{int $\ast$}]{g3,  }\item[{int $\ast$}]{b3,  }\item[{int $\ast$}]{a3 }\end{DoxyParamCaption})}



Gets Edje color class. 


\begin{DoxyParams}{Parameters}
{\em color\+\_\+class} & \\
\hline
{\em r} & Object Red value \\
\hline
{\em g} & Object Green value \\
\hline
{\em b} & Object Blue value \\
\hline
{\em a} & Object Alpha value \\
\hline
{\em r2} & Outline Red value \\
\hline
{\em g2} & Outline Green value \\
\hline
{\em b2} & Outline Blue value \\
\hline
{\em a2} & Outline Alpha value \\
\hline
{\em r3} & Shadow Red value \\
\hline
{\em g3} & Shadow Green value \\
\hline
{\em b3} & Shadow Blue value \\
\hline
{\em a3} & Shadow Alpha value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily EINA\+\_\+\+TRUE} if found or {\ttfamily EINA\+\_\+\+FALSE} if not found and all values are zeroed.
\end{DoxyReturn}
This function gets the color values for a process level color class. This value is the globally set and not per-\/object, that is, the value that would be used by objects if they did not override with \mbox{\hyperlink{group__Edje__Object__Color__Class_ga2361689c9d0655fcbfe522038b057874}{edje\+\_\+object\+\_\+color\+\_\+class\+\_\+set()}}.

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}{edje\+\_\+color\+\_\+class\+\_\+set()}}.
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
Unlike Evas, Edje colors are {\bfseries{not}} pre-\/multiplied. That is, half-\/transparent white is 255 255 255 128. 
\end{DoxyNote}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-color-class_8c-example}{edje-\/color-\/class.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga0d30416497554e3f50c893de5c0cccad}\label{group__Edje__Object__Color__Class_ga0d30416497554e3f50c893de5c0cccad}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_color\_class\_del@{edje\_color\_class\_del}}
\index{edje\_color\_class\_del@{edje\_color\_class\_del}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_color\_class\_del()}{edje\_color\_class\_del()}}
{\footnotesize\ttfamily void edje\+\_\+color\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{const char $\ast$}]{color\+\_\+class }\end{DoxyParamCaption})}



Deletes edje color class. 


\begin{DoxyParams}{Parameters}
{\em color\+\_\+class} & \\
\hline
\end{DoxyParams}
This function deletes any values at the process level for the specified color class. \begin{DoxyNote}{Note}
Deleting the color class will revert it to the values defined in the theme file.
\end{DoxyNote}
Deleting the color class will emit the signal \char`\"{}color\+\_\+class,del\char`\"{} to all the Edje objects in the running program. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-color-class_8c-example}{edje-\/color-\/class.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Edje__Object__Color__Class_gaf38d72501616d019a5743d75bfc5f81c}\label{group__Edje__Object__Color__Class_gaf38d72501616d019a5743d75bfc5f81c}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_color\_class\_list@{edje\_color\_class\_list}}
\index{edje\_color\_class\_list@{edje\_color\_class\_list}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_color\_class\_list()}{edje\_color\_class\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} $\ast$ edje\+\_\+color\+\_\+class\+\_\+list (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Lists color classes. 

\begin{DoxyReturn}{Returns}
A list of color class names (strings). These strings and the list must be free()\textquotesingle{}d by the caller.
\end{DoxyReturn}
This function lists all color classes known about by the current process. \begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-color-class_8c-example}{edje-\/color-\/class.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Hash__Group_ga9237dbade8e59ac827992c7a5146cb20}{eina\+\_\+hash\+\_\+foreach()}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga8906423cac2f9807a3fc964a48bc7ca6}\label{group__Edje__Object__Color__Class_ga8906423cac2f9807a3fc964a48bc7ca6}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_color\_class\_active\_iterator\_new@{edje\_color\_class\_active\_iterator\_new}}
\index{edje\_color\_class\_active\_iterator\_new@{edje\_color\_class\_active\_iterator\_new}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_color\_class\_active\_iterator\_new()}{edje\_color\_class\_active\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ edje\+\_\+color\+\_\+class\+\_\+active\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Iterates over all the active class of an application. 

\begin{DoxyReturn}{Returns}
an iterator of Edje\+\_\+\+Color\+\_\+\+Class of the currently active color class
\end{DoxyReturn}
This function only iterate over the Edje\+\_\+\+Color\+\_\+\+Class in use by an application.

\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}.



Referenced by \mbox{\hyperlink{group__Elm__Color__Class__Group_gaf9e0a25a2cd3e57d3ff211b62d763ba8}{elm\+\_\+color\+\_\+class\+\_\+editor\+\_\+add()}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_gad92915b7a0de8155fbfb768b12b0f452}\label{group__Edje__Object__Color__Class_gad92915b7a0de8155fbfb768b12b0f452}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_mmap\_color\_class\_iterator\_new@{edje\_mmap\_color\_class\_iterator\_new}}
\index{edje\_mmap\_color\_class\_iterator\_new@{edje\_mmap\_color\_class\_iterator\_new}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_mmap\_color\_class\_iterator\_new()}{edje\_mmap\_color\_class\_iterator\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Iterator__Group_ga15b975bb881d955249ce13d4ebc96948}{Eina\+\_\+\+Iterator}} $\ast$ edje\+\_\+mmap\+\_\+color\+\_\+class\+\_\+iterator\+\_\+new (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__File__Group_ga20697123547cbc937c6c9dd845af0403}{Eina\+\_\+\+File}} $\ast$}]{f }\end{DoxyParamCaption})}



Iterates over all the color class provided by an Edje file. 


\begin{DoxyParams}{Parameters}
{\em f} & The mapped edje file.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an iterator of Edje\+\_\+\+Color\+\_\+\+Class provided by the Edje file.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Hash__Group_ga7fcb2572c843c88ac8c81b61bd9845cc}{eina\+\_\+hash\+\_\+iterator\+\_\+tuple\+\_\+new()}}, and \mbox{\hyperlink{group__Eina__Magic__Group_ga470f5ce28eaaf59ce80523be8471c5e0}{EINA\+\_\+\+MAGIC\+\_\+\+SET}}.



Referenced by \mbox{\hyperlink{group__Elm__Color__Class__Group_ga8907766e782fdb43c916f322e7e543d2}{elm\+\_\+color\+\_\+class\+\_\+util\+\_\+edje\+\_\+file\+\_\+list()}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga2361689c9d0655fcbfe522038b057874}\label{group__Edje__Object__Color__Class_ga2361689c9d0655fcbfe522038b057874}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_object\_color\_class\_set@{edje\_object\_color\_class\_set}}
\index{edje\_object\_color\_class\_set@{edje\_object\_color\_class\_set}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_object\_color\_class\_set()}{edje\_object\_color\_class\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+color\+\_\+class\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{color\+\_\+class,  }\item[{int}]{r,  }\item[{int}]{g,  }\item[{int}]{b,  }\item[{int}]{a,  }\item[{int}]{r2,  }\item[{int}]{g2,  }\item[{int}]{b2,  }\item[{int}]{a2,  }\item[{int}]{r3,  }\item[{int}]{g3,  }\item[{int}]{b3,  }\item[{int}]{a3 }\end{DoxyParamCaption})}



Sets the object color class. 

This function sets the color values for an object level color class. This will cause all edje parts in the specified object that have the specified color class to have their colors multiplied by these values.

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

Setting color emits a signal \char`\"{}color\+\_\+class,set\char`\"{} with source being the given color.

\begin{DoxyNote}{Note}
unlike Evas, Edje colors are not pre-\/multiplied. That is, half-\/transparent white is 255 255 255 128.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em color\+\_\+class} & The name of color class \\
\hline
\mbox{\texttt{ in}}  & {\em r} & Object Red value \\
\hline
\mbox{\texttt{ in}}  & {\em g} & Object Green value \\
\hline
\mbox{\texttt{ in}}  & {\em b} & Object Blue value \\
\hline
\mbox{\texttt{ in}}  & {\em a} & Object Alpha value \\
\hline
\mbox{\texttt{ in}}  & {\em r2} & Outline Red value \\
\hline
\mbox{\texttt{ in}}  & {\em g2} & Outline Green value \\
\hline
\mbox{\texttt{ in}}  & {\em b2} & Outline Blue value \\
\hline
\mbox{\texttt{ in}}  & {\em a2} & Outline Alpha value \\
\hline
\mbox{\texttt{ in}}  & {\em r3} & Shadow Red value \\
\hline
\mbox{\texttt{ in}}  & {\em g3} & Shadow Green value \\
\hline
\mbox{\texttt{ in}}  & {\em b3} & Shadow Blue value \\
\hline
\mbox{\texttt{ in}}  & {\em a3} & Shadow Alpha value \\
\hline
\end{DoxyParams}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-color-class_8c-example}{edje-\/color-\/class.\+c}}.\end{Desc}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga406f0001c870d2d6a04545b1daedfc4b}\label{group__Edje__Object__Color__Class_ga406f0001c870d2d6a04545b1daedfc4b}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_object\_color\_class\_get@{edje\_object\_color\_class\_get}}
\index{edje\_object\_color\_class\_get@{edje\_object\_color\_class\_get}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_object\_color\_class\_get()}{edje\_object\_color\_class\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+color\+\_\+class\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{color\+\_\+class,  }\item[{int $\ast$}]{r,  }\item[{int $\ast$}]{g,  }\item[{int $\ast$}]{b,  }\item[{int $\ast$}]{a,  }\item[{int $\ast$}]{r2,  }\item[{int $\ast$}]{g2,  }\item[{int $\ast$}]{b2,  }\item[{int $\ast$}]{a2,  }\item[{int $\ast$}]{r3,  }\item[{int $\ast$}]{g3,  }\item[{int $\ast$}]{b3,  }\item[{int $\ast$}]{a3 }\end{DoxyParamCaption})}



Gets the object color class. 

This function gets the color values for an object level color class. If no explicit object color is set, then global values will be used.

The first color is the object, the second is the text outline, and the third is the text shadow. (Note that the second two only apply to text parts).

\begin{DoxyNote}{Note}
unlike Evas, Edje colors are not pre-\/multiplied. That is, half-\/transparent white is 255 255 255 128.
\end{DoxyNote}

\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em color\+\_\+class} & The name of color class \\
\hline
\mbox{\texttt{ out}}  & {\em r} & Object Red value \\
\hline
\mbox{\texttt{ out}}  & {\em g} & Object Green value \\
\hline
\mbox{\texttt{ out}}  & {\em b} & Object Blue value \\
\hline
\mbox{\texttt{ out}}  & {\em a} & Object Alpha value \\
\hline
\mbox{\texttt{ out}}  & {\em r2} & Outline Red value \\
\hline
\mbox{\texttt{ out}}  & {\em g2} & Outline Green value \\
\hline
\mbox{\texttt{ out}}  & {\em b2} & Outline Blue value \\
\hline
\mbox{\texttt{ out}}  & {\em a2} & Outline Alpha value \\
\hline
\mbox{\texttt{ out}}  & {\em r3} & Shadow Red value \\
\hline
\mbox{\texttt{ out}}  & {\em g3} & Shadow Green value \\
\hline
\mbox{\texttt{ out}}  & {\em b3} & Shadow Blue value \\
\hline
\mbox{\texttt{ out}}  & {\em a3} & Shadow Alpha value\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if found or false if not found and all values are zeroed. 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga88a517de928e71069ef64316bde6b392}\label{group__Edje__Object__Color__Class_ga88a517de928e71069ef64316bde6b392}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_object\_color\_class\_del@{edje\_object\_color\_class\_del}}
\index{edje\_object\_color\_class\_del@{edje\_object\_color\_class\_del}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_object\_color\_class\_del()}{edje\_object\_color\_class\_del()}}
{\footnotesize\ttfamily void edje\+\_\+object\+\_\+color\+\_\+class\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj,  }\item[{const char $\ast$}]{color\+\_\+class }\end{DoxyParamCaption})}



Delete the object color class. 

This function deletes any values at the object level for the specified object and color class.

Deleting the color class will revert it to the values defined by \mbox{\hyperlink{group__Edje__Object__Color__Class_ga684435de625bdbb996e405e3eaaa54ad}{edje\+\_\+color\+\_\+class\+\_\+set()}} or the color class defined in the theme file.

Deleting the color class will emit the signal \char`\"{}color\+\_\+class,del\char`\"{} for the given Edje object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em color\+\_\+class} & The color class to be deleted. \\
\hline
\end{DoxyParams}
\begin{Desc}
\item[Examples]\par
\mbox{\hyperlink{edje-color-class_8c-example}{edje-\/color-\/class.\+c}}.\end{Desc}
\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga96d9a2fc6cdcb00f24c658c77793b0ac}\label{group__Edje__Object__Color__Class_ga96d9a2fc6cdcb00f24c658c77793b0ac}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_object\_color\_class\_clear@{edje\_object\_color\_class\_clear}}
\index{edje\_object\_color\_class\_clear@{edje\_object\_color\_class\_clear}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_object\_color\_class\_clear()}{edje\_object\_color\_class\_clear()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} edje\+\_\+object\+\_\+color\+\_\+class\+\_\+clear (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Evas__Object__Group_ga9e19e6dd1f517a0ba437c0114d3e7c97}{Evas\+\_\+\+Object}} $\ast$}]{obj }\end{DoxyParamCaption})}



Delete all color classes defined in object level. 

This function deletes any color classes defined in object level. Clearing color classes will revert the color of all edje parts to the values defined in global level or theme file.

\begin{DoxyReturn}{Returns}
{\ttfamily true}, on success or {\ttfamily false}, on error
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+17.\+0 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.

\mbox{\Hypertarget{group__Edje__Object__Color__Class_ga88286f23995399b2c03024f6fd56e578}\label{group__Edje__Object__Color__Class_ga88286f23995399b2c03024f6fd56e578}} 
\index{Edje Class: Color@{Edje Class: Color}!edje\_object\_color\_class\_description\_get@{edje\_object\_color\_class\_description\_get}}
\index{edje\_object\_color\_class\_description\_get@{edje\_object\_color\_class\_description\_get}!Edje Class: Color@{Edje Class: Color}}
\doxysubsubsection{\texorpdfstring{edje\_object\_color\_class\_description\_get()}{edje\_object\_color\_class\_description\_get()}}
{\footnotesize\ttfamily const char $\ast$ edje\+\_\+object\+\_\+color\+\_\+class\+\_\+description\+\_\+get (\begin{DoxyParamCaption}\item[{const Edje\+\_\+\+Object $\ast$}]{obj,  }\item[{const char $\ast$}]{color\+\_\+class }\end{DoxyParamCaption})}



Gets the description of an object color class. 

This function gets the description of a color class in use by an object.


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em color\+\_\+class} & Color class description\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The description of the target color class or {\ttfamily null} if not found 
\end{DoxyReturn}
