/**
* \file Color.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
#include <cmath> // floor
#include FORMS_H_LOCATION
+#ifndef CXX_GLOBAL_CSTD
+using std::floor;
+#endif
+
using std::max;
using std::min;
double const g = rgb.g / 255.0;
double const b = rgb.b / 255.0;
- double const maxval = max( max( r, g), b);
- double const minval = min( min( r, g), b);
+ double const maxval = max(max(r, g), b);
+ double const minval = min(min(r, g), b);
v = maxval;