add comments in colors.h

Wed, 29 Jun 2022 16:21:44 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Wed, 29 Jun 2022 16:21:44 +0300
changeset 308
daa8770b9d26
parent 307
4771720fe258
child 309
d862721d19a3

add comments in colors.h

src/colors.h file | annotate | diff | comparison | revisions
--- a/src/colors.h	Wed Jun 29 16:19:05 2022 +0300
+++ b/src/colors.h	Wed Jun 29 16:21:44 2022 +0300
@@ -46,8 +46,11 @@
 };
 
 Q_DECLARE_METATYPE(ColorIndex)
-static constexpr ColorIndex MAIN_COLOR {16};
-static constexpr ColorIndex EDGE_COLOR {24};
+
+//! \brief LDraw main color (16)
+constexpr ColorIndex MAIN_COLOR{16};
+//! \brief LDraw edge color (24)
+constexpr ColorIndex EDGE_COLOR{24};
 
 /**
  * @brief Contains the information about a specific color

mercurial