yonixw/MangaPrinter

Tab with all settings

yonixw opened this issue · 7 comments

Tab with all settings
  • Duplex, Booklet stuff
    • Gaps
  • Flavour of custom pages
  • String or images for custom pages - Will be string, error in runtime
    • Fail if can't load image into memory
  • Save and load from /tmp/json (but let export/import)
    • load from file next to exe + from env (for future cli) or default value
    • Save button
  • How much RAM to use (show currently available)

Note: show default and current value (auto type from default json?). Also show config if found or not, and from what path.

Flavour of custom pages - A wizard window to style custom pages, text, font size with preview...

This and RAM to use (show currently available) will be custom dialog tools, that will change value of the config, and then the user can save it himself

yonixw commented
Custom Text Dialogs
    Copy button

[*] Window
    start_pos: XxY, centered
    sizeX
    sizeY
    font size!!
        need +/- buttons for preview

[*] Common
    Preview Blur%: 100
    Preview Blur radius: 40

[*] Chapter and files
    Double Page ratio: 1.15
    Import order: by_name by_create_date
    Include subfolder: true
    Better 0-9 sort: true
    Default import reading direction: rtl, ltr
    Default Import folder: (for dialog open)
    SmartScan mode

[*] Binding
    Binding type: duplex, booklet_single, booklet_print
    Binding Pages:
        Add start page
        Add End page
        Anti spoilers batch count: 25 (-1 to disable)
    Inlculde folder name: true (for TOC, extra pages)
    Page size list: Name:X,Y; ...
    Export pages to images 
    Keep Colors

[*] Page Templates
        colors?? border, arrows, text in page, under text
        show software version
        
        Duplex
            border width: not included in padding calc
            show reading arrows
            padding% x4
            gutter (on 2 singles)
            FontFamily: Arial
            Text
                Anti spoiler, Before... ({0})
                Character width: 80
                Max chars: 1000
            Bottom Meta
                page no {} / {}
                antispoiler {}
                {0} > {1} > {2}
                Max char per {}
        Booklet
            border width: not included in padding calc
            show reading arrows
            padding% x4
            gutter
            FontFamily: Arial
            Text
                Anti spoiler, Before... ({0})
                Character width: 80
                Max chars: 1000
            Bottom Meta
                page no {} / {}
                antispoiler {}
                {0} > {1} > {2}
                Max char per {}
yonixw commented

Config Tools:

  • Validate
  • Preview Template (Duplex, Booklet) -> (?,?) where ? -> A, M, D ...
  • Preview Font, Size, Color
  • Blur Select
  • Get Windows position, Size
  • Get windows Font

Edit : At the end, didnt do... let the user change and see changes because event listeners... in the exact relevant plac.

yonixw commented

Config class finished in d838cf5 , now to connect it across the board

yonixw commented

todo:

  • make sure not class injection, example: "$type": "MangaPrinter.Conf.JSize, MangaPrinter.Conf",
  • Also for list support:
    • "$type": "System.Collections.Generic.List`1[[MangaPrinter.Conf.JPage, MangaPrinter.Conf]], mscorlib",
yonixw commented

Finished at 9f09d90