]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Color.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / Color.h
index acd04527ecc52672c01de3fe087a72f4582f648a..98965b454a4f0ca29a13a7601b0706d6edb3e0db 100644 (file)
@@ -1,18 +1,23 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *         Copyright 1995 Matthias Ettrich
- *          Copyright 1995-2000 The LyX Team.
+/**
+ * \file Color.h
+ * Copyright 1995 Matthias Ettrich
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================*/
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
+ */
+
+/* structs RGBColor and HSVColor to enable simple conversion between
+ * color spaces.
+ */
 
 #ifndef COLOR_H
 #define COLOR_H
 
-#ifdef __GNUG_
+#ifdef __GNUG__
 #pragma interface
 #endif
 
@@ -43,7 +48,7 @@ struct RGBColor {
 struct NamedColor : public RGBColor {
        string name;
        NamedColor() : RGBColor() {}
-       NamedColor(string const & n, RGBColor const & c )
+       NamedColor(string const & n, RGBColor const & c)
                : RGBColor(c), name(n) {}
        RGBColor const & color() const { return *this; }
        string const & getname() const { return name; }