Option Strict On
Option Explicit On

Imports System
Imports System.Collections.Generic
Imports System.Collections.ObjectModel
Imports System.Windows.Forms
Imports Nexamas.UI.Architecture
Imports Nexamas.UI.Composition
Imports Nexamas.UI.Controls
Imports Nexamas.UI.General
Imports Nexamas.UI.Layout
Imports Nexamas.UI.Rendering
Imports Nexamas.UI.TextRendering
Imports Nexamas.UI.Theming
Imports Nexamas.UI.Values
Imports SkiaSharp

Namespace Nexamas.UI.Components

    Partial Public NotInheritable Class MASMasterDetailView

#Region "Nested state"

        Private NotInheritable Class MasterDetailItemState
            Friend Sub New(key As String,
                           title As String,
                           subtitle As String,
                           detailTitle As String,
                           detailText As String,
                           badgeText As String)
                Me.Key = key
                Me.Title = title
                Me.Subtitle = subtitle
                Me.DetailTitle = detailTitle
                Me.DetailText = detailText
                Me.BadgeText = badgeText
            End Sub

            Friend ReadOnly Property Key As String
            Friend Property Title As String
            Friend Property Subtitle As String
            Friend Property DetailTitle As String
            Friend Property DetailText As String
            Friend Property BadgeText As String
        End Class

        Private NotInheritable Class MasterDetailItemHit
            Friend Sub New(index As Integer,
                           rect As SKRect)
                Me.Index = index
                Me.Rect = rect
            End Sub

            Friend ReadOnly Property Index As Integer
            Friend ReadOnly Property Rect As SKRect
        End Class

#End Region

    End Class

End Namespace
