Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
a9a6b6f9
Commit
a9a6b6f9
authored
5 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[App] Color; Cleanup includes and unused fct decls
parent
8671323b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/DataHolderLib/Color.cpp
+0
-5
0 additions, 5 deletions
Applications/DataHolderLib/Color.cpp
Applications/DataHolderLib/Color.h
+2
-3
2 additions, 3 deletions
Applications/DataHolderLib/Color.h
with
2 additions
and
8 deletions
Applications/DataHolderLib/Color.cpp
+
0
−
5
View file @
a9a6b6f9
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Applications/DataHolderLib/Color.h
+
2
−
3
View file @
a9a6b6f9
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment