/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

package ca.gosyer.jui.ui.reader.navigation

import androidx.compose.runtime.Immutable
import ca.gosyer.jui.ui.reader.model.Navigation

/**
 * Visualization of default state without any inversion
 * +---+---+---+
 * | P | P | P |   P: Previous
 * +---+---+---+
 * | P | M | N |   M: Menu
 * +---+---+---+
 * | N | N | N |   N: Next
 * +---+---+---+
 */
@Immutable
open class LNavigation : ViewerNavigation() {

    override var regions: List<Region> = listOf(
        Region(
            rect = Rect(0, 33, 33, 66),
            type = Navigation.PREV
        ),
        Region(
            rect = Rect(0, 0, 100, 33),
            type = Navigation.PREV
        ),
        Region(
            rect = Rect(66, 33, 100, 66),
            type = Navigation.NEXT
        ),
        Region(
            rect = Rect(0, 66, 100, 100),
            type = Navigation.NEXT
        )
    )
}
