Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
ScrollBar.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 using System.Diagnostics;
4 
5 using SiliconStudio.Core.Mathematics;
6 
7 namespace SiliconStudio.Paradox.UI.Controls
8 {
9  /// <summary>
10  /// Represents a scroll bar.
11  /// </summary>
12  [DebuggerDisplay("ScrollBar - Name={Name}")]
13  public class ScrollBar : UIElement
14  {
15  public ScrollBar()
16  {
17  BarColorInternal = new Color(0, 0, 0, 0);
18  }
19 
20  internal Color BarColorInternal;
21 
22  /// <summary>
23  /// The color of the bar.
24  /// </summary>
25  public Color BarColor
26  {
27  get { return BarColorInternal; }
28  set { BarColorInternal = value; }
29  }
30  }
31 }
Provides a base class for all the User Interface elements in Paradox applications.
Definition: UIElement.cs:21
SiliconStudio.Core.Mathematics.Color Color
Definition: ColorPicker.cs:14
Represents a 32-bit color (4 bytes) in the form of RGBA (in byte order: R, G, B, A).
Definition: Color.cs:16