Skip to content
Snippets Groups Projects
Commit a9a6b6f9 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[App] Color; Cleanup includes and unused fct decls

parent 8671323b
No related branches found
No related tags found
No related merge requests found
......@@ -14,13 +14,8 @@
#include "Color.h"
#include <fstream>
#include <sstream>
#include <logog/include/logog.hpp>
#include "BaseLib/StringTools.h"
namespace DataHolderLib {
Color createColor(unsigned char r, unsigned char g, unsigned char b)
......
......@@ -32,8 +32,7 @@ Color getRandomColor();
/// Uses a color-lookup-table (in form of a map) to return a colour for a specified name. If the name is not
/// in the colortable a new entry is created with the new name and a random colour.
Color const getColor(const std::string &id, std::map<std::string, DataHolderLib::Color> &colors);
Color const getColor(const std::string& id,
std::map<std::string, DataHolderLib::Color>& colors);
/// Convenience function to use the getColor method with numbers as identifiers.
Color const getColor(double id, std::map<std::string, DataHolderLib::Color> &colors);
} // namespace DataHolderLib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment