Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ClassificationColor.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 //
4 // Theme Coloring Source: https://github.com/fsprojects/VisualFSharpPowerTools
5 //
6 // Copyright 2014 F# Software Foundation
7 //
8 // Licensed under the Apache License, Version 2.0 (the "License");
9 // you may not use this file except in compliance with the License.
10 // You may obtain a copy of the License at
11 //
12 // http://www.apache.org/licenses/LICENSE-2.0
13 //
14 // Unless required by applicable law or agreed to in writing, software
15 // distributed under the License is distributed on an "AS IS" BASIS,
16 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 // See the License for the specific language governing permissions and
18 // limitations under the License.
19 //
20 using System.Windows.Media;
21 
22 namespace SiliconStudio.Paradox.VisualStudio.Classifiers
23 {
24  public struct ClassificationColor
25  {
26  public readonly Color? ForegroundColor;
27  public readonly Color? BackgroundColor;
28 
29  public ClassificationColor(Color? foregroundColor = null, Color? backgroundColor = null)
30  {
31  ForegroundColor = foregroundColor;
32  BackgroundColor = backgroundColor;
33  }
34  }
35 }
SiliconStudio.Core.Mathematics.Color Color
Definition: ColorPicker.cs:14
ClassificationColor(Color?foregroundColor=null, Color?backgroundColor=null)