\section{Colorselector}
\label{group__Colorselector}\index{Colorselector@{Colorselector}}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__Colorselector_ga76c5b385aedb9f35ac06cdf19ac81661}{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set}(r, g, b, a)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-O\-L\-O\-R\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, g), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, b), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, a)
\item 
\#define \hyperlink{group__Colorselector_gaafb4356fabac65554860bf776689b8bf}{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get}(r, g, b, a)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-O\-L\-O\-R\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, g), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, b), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, a)
\item 
\#define \hyperlink{group__Colorselector_ga8a4d816fca2bb16a99c1c6a73b9ef7e9}{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set}(mode)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-D\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Colorselector\-\_\-\-Mode, mode)
\item 
\#define \hyperlink{group__Colorselector_gaa6777b3084435fbc6aeb3a48ba52239d}{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-D\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Colorselector\-\_\-\-Mode $\ast$, ret)
\item 
\#define \hyperlink{group__Colorselector_gacc102196d6454f68d92bdea247d862ba}{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}(r, g, b, a, ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-C\-O\-L\-O\-R\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, g), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, b), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, a), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)
\item 
\#define \hyperlink{group__Colorselector_ga94d202fc4bb1f9a4d5101fa2afe64695}{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear}()~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-C\-L\-E\-A\-R)
\item 
\#define \hyperlink{group__Colorselector_gadf2f5a16e43c7ecde03ce36a4170e953}{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}(palette\-\_\-name)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-N\-A\-M\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, palette\-\_\-name)
\item 
\#define \hyperlink{group__Colorselector_ga06dc31985cb2118a73a482c4d5562b40}{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}(ret)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-N\-A\-M\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$$\ast$, ret)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__Colorselector_ga9058fd3f763834982fc00c1cc66c1288}{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get} (const \hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$it, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get Palette item's color. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_gaa946ad707505e98ab9bc3cb96a433651}{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set} (\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$it, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set palette item's color. \end{DoxyCompactList}\item 
Evas\-\_\-\-Object $\ast$ \hyperlink{group__Colorselector_ga27ebfd6da68b578e5f462eb4e71ce372}{elm\-\_\-colorselector\-\_\-add} (Evas\-\_\-\-Object $\ast$parent)
\begin{DoxyCompactList}\small\item\em Add a new colorselector to the parent. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_gad0d07f0a24a4987aee8402c94e117e1f}{elm\-\_\-colorselector\-\_\-color\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Set color to colorselector. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga72561a86608605241a911e45b9b46891}{elm\-\_\-colorselector\-\_\-color\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj, int $\ast$r, int $\ast$g, int $\ast$b, int $\ast$a)
\begin{DoxyCompactList}\small\item\em Get current color from colorselector. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga1e92d3ac67e679cfb8ca1946fe91086e}{elm\-\_\-colorselector\-\_\-mode\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, Elm\-\_\-\-Colorselector\-\_\-\-Mode mode)
\begin{DoxyCompactList}\small\item\em Set Colorselector's mode. \end{DoxyCompactList}\item 
Elm\-\_\-\-Colorselector\-\_\-\-Mode \hyperlink{group__Colorselector_gad2a3495e2af7aff1a21ce4bb9dc24f65}{elm\-\_\-colorselector\-\_\-mode\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get Colorselector's mode. \end{DoxyCompactList}\item 
\hyperlink{group__General_ga13a0c231414b86e62f68afe3c6fb462b}{Elm\-\_\-\-Object\-\_\-\-Item} $\ast$ \hyperlink{group__Colorselector_gaf94ea71c40a7d823fd048b3aaaac9ed7}{elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add} (Evas\-\_\-\-Object $\ast$obj, int r, int g, int b, int a)
\begin{DoxyCompactList}\small\item\em Add a new color item to palette. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_gaf049038fcc5d0611b157387f541bed30}{elm\-\_\-colorselector\-\_\-palette\-\_\-clear} (Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Clear the palette items. \end{DoxyCompactList}\item 
void \hyperlink{group__Colorselector_ga8e86d300667de9bdffb12b9f112f48aa}{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set} (Evas\-\_\-\-Object $\ast$obj, const char $\ast$palette\-\_\-name)
\begin{DoxyCompactList}\small\item\em Set current palette's name. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Colorselector_gad7f640c2dc2a89421a584d20a61a660e}{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get} (const Evas\-\_\-\-Object $\ast$obj)
\begin{DoxyCompactList}\small\item\em Get current palette's name. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{colorselector_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics{img/widget/colorselector/preview-00}}
\end{DoxyImageNoCaption}


A Color\-Selector is a color selection widget. It allows application to set a series of colors.\-It also allows to load/save colors from/to config with a unique identifier, by default, the colors are loaded/saved from/to config using \char`\"{}default\char`\"{} identifier. The colors can be picked by user from the color set by clicking on individual color item on the palette or by selecting it from selector.

This widget inherits from the \hyperlink{group__Layout}{Layout} one, so that all the functions acting on it also work for check objects.

This widget emits the following signals, besides the ones sent from Layout\-:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}changed\char`\"{}} -\/ When the color value changes on selector event\-\_\-info is N\-U\-L\-L.
\item {\ttfamily \char`\"{}color,item,selected\char`\"{}} -\/ When user clicks on color item. The event\-\_\-info parameter of the callback will be the selected color item.
\item {\ttfamily \char`\"{}color,item,longpressed\char`\"{}} -\/ When user long presses on color item. The event info parameter of the callback contains selected color item.
\item {\ttfamily \char`\"{}focused\char`\"{}} -\/ When the colorselector has received focus. (since 1.\-8)
\item {\ttfamily \char`\"{}unfocused\char`\"{}} -\/ When the colorselector has lost focus. (since 1.\-8)
\end{DoxyItemize}

See \hyperlink{tutorial_colorselector}{Color selector example}. 

\subsection{Macro Definition Documentation}
\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get@{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get@{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{r, }
\item[{}]{g, }
\item[{}]{b, }
\item[{}]{a}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-O\-L\-O\-R\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, g), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, b), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int $\ast$, a)}\label{group__Colorselector_gaafb4356fabac65554860bf776689b8bf}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get current color from colorselector


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em r} & \\
\hline
\mbox{\tt out}  & {\em g} & \\
\hline
\mbox{\tt out}  & {\em b} & \\
\hline
\mbox{\tt out}  & {\em a} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_ga72561a86608605241a911e45b9b46891}{elm\-\_\-colorselector\-\_\-color\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-color\-\_\-get().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set@{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set@{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{r, }
\item[{}]{g, }
\item[{}]{b, }
\item[{}]{a}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-C\-O\-L\-O\-R\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, g), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, b), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, a)}\label{group__Colorselector_ga76c5b385aedb9f35ac06cdf19ac81661}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set color to colorselector


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & \\
\hline
\mbox{\tt in}  & {\em g} & \\
\hline
\mbox{\tt in}  & {\em b} & \\
\hline
\mbox{\tt in}  & {\em a} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_gad0d07f0a24a4987aee8402c94e117e1f}{elm\-\_\-colorselector\-\_\-color\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-color\-\_\-set().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get@{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get@{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-D\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Colorselector\-\_\-\-Mode $\ast$, ret)}\label{group__Colorselector_gaa6777b3084435fbc6aeb3a48ba52239d}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get Colorselector's mode.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_gad2a3495e2af7aff1a21ce4bb9dc24f65}{elm\-\_\-colorselector\-\_\-mode\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-mode\-\_\-get().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set@{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set@{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{mode}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-M\-O\-D\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(Elm\-\_\-\-Colorselector\-\_\-\-Mode, mode)}\label{group__Colorselector_ga8a4d816fca2bb16a99c1c6a73b9ef7e9}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set Colorselector's mode.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em mode} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_ga1e92d3ac67e679cfb8ca1946fe91086e}{elm\-\_\-colorselector\-\_\-mode\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-mode\-\_\-set().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-C\-L\-E\-A\-R)}\label{group__Colorselector_ga94d202fc4bb1f9a4d5101fa2afe64695}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Clear the palette items.

\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_gaf049038fcc5d0611b157387f541bed30}{elm\-\_\-colorselector\-\_\-palette\-\_\-clear} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-palette\-\_\-clear().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add(
\begin{DoxyParamCaption}
\item[{}]{r, }
\item[{}]{g, }
\item[{}]{b, }
\item[{}]{a, }
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-C\-O\-L\-O\-R\-\_\-\-A\-D\-D), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, r), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, g), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, b), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(int, a), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K({\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$$\ast$, ret)}\label{group__Colorselector_gacc102196d6454f68d92bdea247d862ba}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Add a new color item to palette.


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em r} & \\
\hline
\mbox{\tt in}  & {\em g} & \\
\hline
\mbox{\tt in}  & {\em b} & \\
\hline
\mbox{\tt in}  & {\em a} & \\
\hline
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_gaf94ea71c40a7d823fd048b3aaaac9ed7}{elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get(
\begin{DoxyParamCaption}
\item[{}]{ret}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-N\-A\-M\-E\-\_\-\-G\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$$\ast$, ret)}\label{group__Colorselector_ga06dc31985cb2118a73a482c4d5562b40}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Get current palette's name


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt out}  & {\em ret} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_gad7f640c2dc2a89421a584d20a61a660e}{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get().

\index{Colorselector@{Colorselector}!elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}}
\index{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set@{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}\#define elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set(
\begin{DoxyParamCaption}
\item[{}]{palette\-\_\-name}
\end{DoxyParamCaption}
)~E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-I\-D(E\-L\-M\-\_\-\-O\-B\-J\-\_\-\-C\-O\-L\-O\-R\-S\-E\-L\-E\-C\-T\-O\-R\-\_\-\-S\-U\-B\-\_\-\-I\-D\-\_\-\-P\-A\-L\-E\-T\-T\-E\-\_\-\-N\-A\-M\-E\-\_\-\-S\-E\-T), E\-O\-\_\-\-T\-Y\-P\-E\-C\-H\-E\-C\-K(const char $\ast$, palette\-\_\-name)}\label{group__Colorselector_gadf2f5a16e43c7ecde03ce36a4170e953}
\begin{DoxySince}{Since}
1.\-8
\end{DoxySince}
Set current palette's name


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em palette\-\_\-name} & \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{group__Colorselector_ga8e86d300667de9bdffb12b9f112f48aa}{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set} 
\end{DoxySeeAlso}


Referenced by elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set().



\subsection{Function Documentation}
\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-add@{elm\-\_\-colorselector\-\_\-add}}
\index{elm\-\_\-colorselector\-\_\-add@{elm\-\_\-colorselector\-\_\-add}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}Evas\-\_\-\-Object$\ast$ elm\-\_\-colorselector\-\_\-add (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{parent}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga27ebfd6da68b578e5f462eb4e71ce372}


Add a new colorselector to the parent. 


\begin{DoxyParams}{Parameters}
{\em parent} & The parent object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The new object or N\-U\-L\-L if it cannot be created 
\end{DoxyReturn}
\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-color\-\_\-get@{elm\-\_\-colorselector\-\_\-color\-\_\-get}}
\index{elm\-\_\-colorselector\-\_\-color\-\_\-get@{elm\-\_\-colorselector\-\_\-color\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-color\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-color\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{g, }
\item[{int $\ast$}]{b, }
\item[{int $\ast$}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga72561a86608605241a911e45b9b46891}


Get current color from colorselector. 


\begin{DoxyParams}{Parameters}
{\em obj} & Colorselector object \\
\hline
{\em r} & integer pointer for r-\/value of color \\
\hline
{\em g} & integer pointer for g-\/value of color \\
\hline
{\em b} & integer pointer for b-\/value of color \\
\hline
{\em a} & integer pointer for a-\/value of color \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-get.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-color\-\_\-set@{elm\-\_\-colorselector\-\_\-color\-\_\-set}}
\index{elm\-\_\-colorselector\-\_\-color\-\_\-set@{elm\-\_\-colorselector\-\_\-color\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-color\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-color\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gad0d07f0a24a4987aee8402c94e117e1f}


Set color to colorselector. 


\begin{DoxyParams}{Parameters}
{\em obj} & Colorselector object \\
\hline
{\em r} & r-\/value of color \\
\hline
{\em g} & g-\/value of color \\
\hline
{\em b} & b-\/value of color \\
\hline
{\em a} & a-\/value of color \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-colorselector\-\_\-color\-\_\-set.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-mode\-\_\-get@{elm\-\_\-colorselector\-\_\-mode\-\_\-get}}
\index{elm\-\_\-colorselector\-\_\-mode\-\_\-get@{elm\-\_\-colorselector\-\_\-mode\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-mode\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}Elm\-\_\-\-Colorselector\-\_\-\-Mode elm\-\_\-colorselector\-\_\-mode\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gad2a3495e2af7aff1a21ce4bb9dc24f65}


Get Colorselector's mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & Colorselector object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
mode The current mode of colorselector 
\end{DoxyReturn}


References elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-get.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-mode\-\_\-set@{elm\-\_\-colorselector\-\_\-mode\-\_\-set}}
\index{elm\-\_\-colorselector\-\_\-mode\-\_\-set@{elm\-\_\-colorselector\-\_\-mode\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-mode\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-mode\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{Elm\-\_\-\-Colorselector\-\_\-\-Mode}]{mode}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga1e92d3ac67e679cfb8ca1946fe91086e}


Set Colorselector's mode. 


\begin{DoxyParams}{Parameters}
{\em obj} & Colorselector object \\
\hline
{\em mode} & Elm\-\_\-\-Colorselector\-\_\-\-Mode\\
\hline
\end{DoxyParams}
Colorselector supports three modes palette only, selector only and both. 

References elm\-\_\-obj\-\_\-colorselector\-\_\-mode\-\_\-set.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-palette\-\_\-clear@{elm\-\_\-colorselector\-\_\-palette\-\_\-clear}}
\index{elm\-\_\-colorselector\-\_\-palette\-\_\-clear@{elm\-\_\-colorselector\-\_\-palette\-\_\-clear}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-palette\-\_\-clear}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-palette\-\_\-clear (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaf049038fcc5d0611b157387f541bed30}


Clear the palette items. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Colorselector object \\
\hline
\end{DoxyParams}


References elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-clear.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add@{elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}}
\index{elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add@{elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Elm\-\_\-\-Object\-\_\-\-Item}$\ast$ elm\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaf94ea71c40a7d823fd048b3aaaac9ed7}


Add a new color item to palette. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Colorselector object \\
\hline
{\em r} & r-\/value of color \\
\hline
{\em g} & g-\/value of color \\
\hline
{\em b} & b-\/value of color \\
\hline
{\em a} & a-\/value of color \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new color palette Item. 
\end{DoxyReturn}


References elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-color\-\_\-add.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get@{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get}}
\index{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get@{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-get (
\begin{DoxyParamCaption}
\item[{const {\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$}]{it, }
\item[{int $\ast$}]{r, }
\item[{int $\ast$}]{g, }
\item[{int $\ast$}]{b, }
\item[{int $\ast$}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga9058fd3f763834982fc00c1cc66c1288}


Get Palette item's color. 


\begin{DoxyParams}{Parameters}
{\em it} & The color palette item. \\
\hline
{\em r} & integer pointer for r-\/value of color \\
\hline
{\em g} & integer pointer for g-\/value of color \\
\hline
{\em b} & integer pointer for b-\/value of color \\
\hline
{\em a} & integer pointer for a-\/value of color \\
\hline
\end{DoxyParams}
\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set@{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set}}
\index{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set@{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-palette\-\_\-item\-\_\-color\-\_\-set (
\begin{DoxyParamCaption}
\item[{{\bf Elm\-\_\-\-Object\-\_\-\-Item} $\ast$}]{it, }
\item[{int}]{r, }
\item[{int}]{g, }
\item[{int}]{b, }
\item[{int}]{a}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gaa946ad707505e98ab9bc3cb96a433651}


Set palette item's color. 


\begin{DoxyParams}{Parameters}
{\em it} & The color palette item. \\
\hline
{\em r} & r-\/value of color \\
\hline
{\em g} & g-\/value of color \\
\hline
{\em b} & b-\/value of color \\
\hline
{\em a} & a-\/value of color \\
\hline
\end{DoxyParams}
\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get@{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}}
\index{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get@{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get (
\begin{DoxyParamCaption}
\item[{const Evas\-\_\-\-Object $\ast$}]{obj}
\end{DoxyParamCaption}
)}\label{group__Colorselector_gad7f640c2dc2a89421a584d20a61a660e}


Get current palette's name. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Colorselector object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Name of palette
\end{DoxyReturn}
Returns the currently set palette name using which colors will be saved/loaded in to config. 

References elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-get.

\index{Colorselector@{Colorselector}!elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set@{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}}
\index{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set@{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}!Colorselector@{Colorselector}}
\subsubsection[{elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}void elm\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set (
\begin{DoxyParamCaption}
\item[{Evas\-\_\-\-Object $\ast$}]{obj, }
\item[{const char $\ast$}]{palette\-\_\-name}
\end{DoxyParamCaption}
)}\label{group__Colorselector_ga8e86d300667de9bdffb12b9f112f48aa}


Set current palette's name. 


\begin{DoxyParams}{Parameters}
{\em obj} & The Colorselector object \\
\hline
{\em palette\-\_\-name} & Name of palette\\
\hline
\end{DoxyParams}
When colorpalette name is set, colors will be loaded from and saved to config using the set name. If no name is set then colors will be loaded from or saved to \char`\"{}default\char`\"{} config. 

References elm\-\_\-obj\-\_\-colorselector\-\_\-palette\-\_\-name\-\_\-set.

