.. index:: pair: class; EE::System::tRGB .. _doxid-class_e_e_1_1_system_1_1t_r_g_b: template class EE::System::tRGB =============================== .. toctree:: :hidden: Overview ~~~~~~~~ Template class for a :ref:`RGB ` color. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include template class tRGB { public: // fields T :target:`r`; T :target:`g`; T :target:`b`; // construction :target:`tRGB`(); :ref:`tRGB`(T r, T g, T b); :ref:`tRGB`(:ref:`Uint32` Col); // methods bool :target:`operator==`(const tRGB& Col); bool :target:`operator!=`(const tRGB& Col); }; .. _details-class_e_e_1_1_system_1_1t_r_g_b: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Template class for a :ref:`RGB ` color. Construction ------------ .. index:: pair: function; tRGB .. _doxid-class_e_e_1_1_system_1_1t_r_g_b_1a872ddb7940f2d0a8b428ca1a6ffa4e40: .. ref-code-block:: cpp :class: doxyrest-title-code-block tRGB(T r, T g, T b) Creates an :ref:`RGB ` color from each component. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - r - Red component * - g - Green component * - b - Blue component .. index:: pair: function; tRGB .. _doxid-class_e_e_1_1_system_1_1t_r_g_b_1a9adc4bf3cd066c8f0899aa136246fc87: .. ref-code-block:: cpp :class: doxyrest-title-code-block tRGB(:ref:`Uint32` Col) From 32 bits value with RGB(A) byte order