From d57fb034e3b89a981b6602af42296dba0bc10a93 Mon Sep 17 00:00:00 2001 From: qPCR4vir Date: Tue, 3 Mar 2015 22:43:44 +0100 Subject: [PATCH] Doxygen comments --- include/nana/basic_types.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/nana/basic_types.hpp b/include/nana/basic_types.hpp index 9a2d85f2..2e8c0929 100644 --- a/include/nana/basic_types.hpp +++ b/include/nana/basic_types.hpp @@ -18,7 +18,7 @@ namespace nana { - //A constant value for the invalid position. + /// A constant value for the invalid position. const std::size_t npos = static_cast(-1); @@ -127,8 +127,7 @@ namespace nana using pixel_color_t = pixel_argb_t; - //http://www.w3.org/TR/2011/REC-css3-color-20110607/ - //4.3. Extended color keywords + /// See extended CSS color keywords (4.3) in http://www.w3.org/TR/2011/REC-css3-color-20110607/ enum class colors { alice_blue = 0xf0f8ff, @@ -320,10 +319,10 @@ namespace nana color blend(const color& bgcolor, bool ignore_bgcolor_alpha) const; - ///< Blends two colors with the specified alpha, and the alpha values that come with these two colors are both ignored. + /// Blends two colors with the specified alpha, and the alpha values that come with these two colors are both ignored. color blend(const color& bgcolor, double alpha) const; - ///< Determines whether the color is completely transparent. + /// Determines whether the color is completely transparent. bool invisible() const; pixel_color_t px_color() const; pixel_argb_t argb() const;