зеркало из https://github.com/electron/electron.git
20 строки
446 B
C++
20 строки
446 B
C++
// Copyright (c) 2016 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ATOM_COMMON_COLOR_UTIL_H_
|
|
#define ATOM_COMMON_COLOR_UTIL_H_
|
|
|
|
#include <string>
|
|
|
|
#include "third_party/skia/include/core/SkColor.h"
|
|
|
|
namespace atom {
|
|
|
|
// Parse hex color like "#FFF" or "#EFEFEF"
|
|
SkColor ParseHexColor(const std::string& name);
|
|
|
|
} // namespace atom
|
|
|
|
#endif // ATOM_COMMON_COLOR_UTIL_H_
|