.. index:: pair: class; EE::System::RGB .. _doxid-class_e_e_1_1_system_1_1_r_g_b: class EE::System::RGB ===================== .. toctree:: :hidden: Overview ~~~~~~~~ Small class to help in some color operations. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class RGB: public :ref:`EE::System::tRGB` { public: // construction :target:`RGB`(); :ref:`RGB`(:ref:`Uint8` r, :ref:`Uint8` g, :ref:`Uint8` b); :target:`RGB`(const :ref:`tRGB`<:ref:`Uint8`>& color); :target:`RGB`(:ref:`Uint32` Col); // methods :ref:`Color` :target:`toColor`(); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // fields T :ref:`r`; T :ref:`g`; T :ref:`b`; // methods bool :ref:`operator==`(const :ref:`tRGB`& Col); bool :ref:`operator!=`(const :ref:`tRGB`& Col); .. _details-class_e_e_1_1_system_1_1_r_g_b: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Small class to help in some color operations. Construction ------------ .. index:: pair: function; RGB .. _doxid-class_e_e_1_1_system_1_1_r_g_b_1ac2eb5c3a5be2bb98cb867d017a7dfc5a: .. ref-code-block:: cpp :class: doxyrest-title-code-block RGB(:ref:`Uint8` r, :ref:`Uint8` g, :ref:`Uint8` 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