\hypertarget{classACG_1_1ColorStack_1_1Node}{}\section{A\+CG\+:\+:Color\+Stack\+:\+:Node Class Reference}
\label{classACG_1_1ColorStack_1_1Node}\index{A\+C\+G\+::\+Color\+Stack\+::\+Node@{A\+C\+G\+::\+Color\+Stack\+::\+Node}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a3b67c084e045a57a34ff564dac046a34}\label{classACG_1_1ColorStack_1_1Node_a3b67c084e045a57a34ff564dac046a34}} 
{\bfseries Node} (size\+\_\+t \+\_\+idx, \hyperlink{classACG_1_1ColorStack_1_1Node}{Node} $\ast$\+\_\+parent, \hyperlink{classACG_1_1ColorTranslator}{Color\+Translator} $\ast$\+\_\+ct)
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_abbd381c73e67f976b24957ce7ee123a8}\label{classACG_1_1ColorStack_1_1Node_abbd381c73e67f976b24957ce7ee123a8}} 
bool \hyperlink{classACG_1_1ColorStack_1_1Node_abbd381c73e67f976b24957ce7ee123a8}{set\+Maximum\+Index} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em sets the maximum index number used in current node \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a6dd8b53e38c72b542ffd8aaeef3723bf}\label{classACG_1_1ColorStack_1_1Node_a6dd8b53e38c72b542ffd8aaeef3723bf}} 
bool \hyperlink{classACG_1_1ColorStack_1_1Node_a6dd8b53e38c72b542ffd8aaeef3723bf}{set\+Index} (size\+\_\+t \+\_\+idx) const
\begin{DoxyCompactList}\small\item\em sets the current color the given index (like gl\+Load\+Name) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a6a9ef5b78f90b4fa439b3f16a4c0ab85}\label{classACG_1_1ColorStack_1_1Node_a6a9ef5b78f90b4fa439b3f16a4c0ab85}} 
bool \hyperlink{classACG_1_1ColorStack_1_1Node_a6a9ef5b78f90b4fa439b3f16a4c0ab85}{get\+Index\+Color} (size\+\_\+t \+\_\+idx, \hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{Vec4uc} \&\+\_\+rgba) const
\begin{DoxyCompactList}\small\item\em gets the color instead of setting it directly \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a72fdd995e797e678797856c2ed411471}\label{classACG_1_1ColorStack_1_1Node_a72fdd995e797e678797856c2ed411471}} 
\hyperlink{classACG_1_1ColorStack_1_1Node}{Node} $\ast$ \hyperlink{classACG_1_1ColorStack_1_1Node_a72fdd995e797e678797856c2ed411471}{push\+Index} (size\+\_\+t \+\_\+idx)
\begin{DoxyCompactList}\small\item\em creates a new node the stack (like gl\+Push\+Name) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_ad221e346218fa6c68f825dd5e31de300}\label{classACG_1_1ColorStack_1_1Node_ad221e346218fa6c68f825dd5e31de300}} 
\hyperlink{classACG_1_1ColorStack_1_1Node}{Node} $\ast$ \hyperlink{classACG_1_1ColorStack_1_1Node_ad221e346218fa6c68f825dd5e31de300}{pop\+Index} ()
\begin{DoxyCompactList}\small\item\em pops the current node from the stack (like gl\+Pop\+Name) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_af62e26b1cb4c19dc4f535bb3a93958fe}\label{classACG_1_1ColorStack_1_1Node_af62e26b1cb4c19dc4f535bb3a93958fe}} 
void {\bfseries color\+To\+Stack} (std\+::vector$<$ size\+\_\+t $>$ \&\+\_\+stack, size\+\_\+t size\+\_\+t)
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_aceb6c10196f481b4c0426d2009000e51}\label{classACG_1_1ColorStack_1_1Node_aceb6c10196f481b4c0426d2009000e51}} 
size\+\_\+t {\bfseries start\+Index} () const
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a5dfa0a714e7a1080e55e53b8733bbb6c}\label{classACG_1_1ColorStack_1_1Node_a5dfa0a714e7a1080e55e53b8733bbb6c}} 
size\+\_\+t {\bfseries end\+Index} () const
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_af68d11c16c2802c93b8467b4197b2e0a}\label{classACG_1_1ColorStack_1_1Node_af68d11c16c2802c93b8467b4197b2e0a}} 
size\+\_\+t {\bfseries color\+Index} () const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a5d6a9221c34b013458d9fdc085375a65}\label{classACG_1_1ColorStack_1_1Node_a5d6a9221c34b013458d9fdc085375a65}} 
\hyperlink{classACG_1_1ColorStack_1_1Node}{Node} $\ast$ {\bfseries parent\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a3e0e932df556916c444e9267a7dad515}\label{classACG_1_1ColorStack_1_1Node_a3e0e932df556916c444e9267a7dad515}} 
size\+\_\+t {\bfseries index\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_aa93593accd636ba7cfda7242032454d2}\label{classACG_1_1ColorStack_1_1Node_aa93593accd636ba7cfda7242032454d2}} 
\hyperlink{classACG_1_1ColorTranslator}{Color\+Translator} $\ast$ {\bfseries translator\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a07885fedb9f1c9e07c8bd0bf6124c935}\label{classACG_1_1ColorStack_1_1Node_a07885fedb9f1c9e07c8bd0bf6124c935}} 
std\+::vector$<$ \hyperlink{classACG_1_1ColorStack_1_1Node}{Node} $\ast$ $>$ {\bfseries nodes\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_a013c001d17d01daef81b5f2775116e9b}\label{classACG_1_1ColorStack_1_1Node_a013c001d17d01daef81b5f2775116e9b}} 
size\+\_\+t {\bfseries start\+Idx\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_ab5c23c39414b8574f123ce43ef1021bb}\label{classACG_1_1ColorStack_1_1Node_ab5c23c39414b8574f123ce43ef1021bb}} 
size\+\_\+t {\bfseries end\+Idx\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_ae79000634c79dc308cfcba50fd421f12}\label{classACG_1_1ColorStack_1_1Node_ae79000634c79dc308cfcba50fd421f12}} 
size\+\_\+t {\bfseries color\+Start\+Idx\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1ColorStack_1_1Node_ac7f7d3d6c11e8a78386f9e7fc05b5a39}\label{classACG_1_1ColorStack_1_1Node_ac7f7d3d6c11e8a78386f9e7fc05b5a39}} 
size\+\_\+t {\bfseries color\+End\+Idx\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 118 of file Color\+Stack.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/Color\+Stack.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+G\+L/Color\+Stack.\+cc\end{DoxyCompactItemize}
