diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-05-25 18:03:54 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-05-25 18:03:54 +0300 |
commit | 00955cd31eda95aca619842064d22663af4c812b (patch) | |
tree | 85a4650d260f2fdc250d433d51d7309b77f08510 /source/blender/blenlib/intern | |
parent | fd94e033446c72fb92048a9864c1d539fccde59a (diff) |
Revert "Blenlib: Explicit Colors."
This reverts commit fd94e033446c72fb92048a9864c1d539fccde59a.
does not compile against latest master.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/BLI_color.cc | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/source/blender/blenlib/intern/BLI_color.cc b/source/blender/blenlib/intern/BLI_color.cc deleted file mode 100644 index 6dcef4f4688..00000000000 --- a/source/blender/blenlib/intern/BLI_color.cc +++ /dev/null @@ -1,55 +0,0 @@ -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include "BLI_color.hh" - -namespace blender { - -std::ostream &operator<<(std::ostream &stream, const eAlpha &space) -{ - switch (space) { - case eAlpha::Straight: { - stream << "Straight"; - break; - } - case eAlpha::Premultiplied: { - stream << "Premultiplied"; - break; - } - } - return stream; -} - -std::ostream &operator<<(std::ostream &stream, const eSpace &space) -{ - switch (space) { - case eSpace::Theme: { - stream << "Theme"; - break; - } - case eSpace::SceneLinear: { - stream << "SceneLinear"; - break; - } - case eSpace::SceneLinearByteEncoded: { - stream << "SceneLinearByteEncoded"; - break; - } - } - return stream; -} - -} // namespace blender |