using API.Entities;
using API.Entities.Enums;
namespace API.DTOs
{
public class UserPreferencesDto
{
///
/// Manga Reader Option: What direction should the next/prev page buttons go
///
public ReadingDirection ReadingDirection { get; set; }
///
/// Manga Reader Option: How should the image be scaled to screen
///
public ScalingOption ScalingOption { get; set; }
///
/// Manga Reader Option: Which side of a split image should we show first
///
public PageSplitOption PageSplitOption { get; set; }
///
/// Manga Reader Option: How the manga reader should perform paging or reading of the file
///
/// Webtoon uses scrolling to page, LeftRight uses paging by clicking left/right side of reader, UpDown uses paging
/// by clicking top/bottom sides of reader.
///
///
public ReaderMode ReaderMode { get; set; }
///
/// Manga Reader Option: How many pages to display in the reader at once
///
public LayoutMode LayoutMode { get; set; }
///
/// Manga Reader Option: Background color of the reader
///
public string BackgroundColor { get; set; } = "#000000";
///
/// Manga Reader Option: Allow the menu to close after 6 seconds without interaction
///
public bool AutoCloseMenu { get; set; }
///
/// Manga Reader Option: Show screen hints to the user on some actions, ie) pagination direction change
///
public bool ShowScreenHints { get; set; } = true;
///
/// Book Reader Option: Should the background color be dark
///
public bool BookReaderDarkMode { get; set; } = false;
///
/// Book Reader Option: Override extra Margin
///
public int BookReaderMargin { get; set; }
///
/// Book Reader Option: Override line-height
///
public int BookReaderLineSpacing { get; set; }
///
/// Book Reader Option: Override font size
///
public int BookReaderFontSize { get; set; }
///
/// Book Reader Option: Maps to the default Kavita font-family (inherit) or an override
///
public string BookReaderFontFamily { get; set; }
///
/// Book Reader Option: Allows tapping on side of screens to paginate
///
public bool BookReaderTapToPaginate { get; set; }
///
/// Book Reader Option: What direction should the next/prev page buttons go
///
public ReadingDirection BookReaderReadingDirection { get; set; }
///
/// UI Site Global Setting: The UI theme the user should use.
///
/// Should default to Dark
public SiteTheme Theme { get; set; }
}
}