From d8bdbf3bb946475a7a5cbb0c52a9ee440d31bf1d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 10 May 2003 13:29:13 +0000 Subject: comments --- src/FbTk/Color.hh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/FbTk/Color.hh b/src/FbTk/Color.hh index e54512c..f9c1600 100644 --- a/src/FbTk/Color.hh +++ b/src/FbTk/Color.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Color.hh,v 1.3 2003/02/23 01:09:02 fluxgen Exp $ +// $Id: Color.hh,v 1.4 2003/05/10 13:29:13 fluxgen Exp $ #ifndef FBTK_COLOR_HH #define FBTK_COLOR_HH @@ -30,18 +30,19 @@ #include "NotCopyable.hh" namespace FbTk { -/** - Holds rgb color and pixel value -*/ + +/// Allocates rgb color and pixel value class Color { public: Color(); explicit Color(unsigned long pixel); Color(const Color &col_copy); Color(unsigned short red, unsigned short green, unsigned short blue, int screen); + /// parses and sets rgb and pixel value from a string Color(const char *color_string, int screen); ~Color(); + /// parses and sets rgb and pixel value from a string bool setFromString(const char *color_string, int screen); /// TODO don't like this void setPixel(unsigned long pixel) { m_pixel = pixel; } -- cgit v0.11.2