/Source Code/SongDatabase/Items/OverrideBackground.vb
# · Visual Basic · 30 lines · 12 code · 7 blank · 11 comment · 0 complexity · 47851fc722c6089d296c26fb1c5b76bd MD5 · raw file
- Imports PowerSong.SongDatabase.Style
- Imports PowerSong.SongDatabase.Style.EBackgroundType
-
- Namespace Items
-
- ''' <summary>
- ''' Represents details that describe how the background of a projection is overridden.
- ''' </summary>
- Public Class OverrideBackground
-
- ''' <summary>
- ''' Gets or sets the type of background (ie: solid, image...etc).
- ''' </summary>
- ''' <value>The type of background.</value>
- Public Property Type() As EBackgroundType = None
-
- ''' <summary>
- ''' Gets or sets the value that relates to the type of background.
- ''' </summary>
- ''' <value>The value of the background (ie: a colour, or image, depending on the background type).</value>
- Public Property Value() As Object = Nothing
-
- Public Sub New(ByVal type As EBackgroundType, ByVal value As Object)
- Me.Type = type
- Me.Value = value
- End Sub
-
- End Class
-
- End Namespace