edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiBff99ad6Tahinli6 days ago1055 commits
| 1 | //! The settings page (user complaint: "we should have a settings page that |
| 2 | //! we can edit project and editor settings"). Sections, per the split |
| 3 | //! rule a rubric pass settled -- but never columns at once: they are |
| 4 | //! tabs of one strip since 2026-09-19 (user: the three-column row asked the |
| 5 | //! eye to find three anchors in one glance and then to read a column that |
| 6 | //! began mid-screen). One section shows under the strip; the strip wears the |
| 7 | //! dock's own tab look ([`crate::ui::dock_stance`]'s `dock_tab`, reproduced |
| 8 | //! here because that fn is private to its module) and each tab's hover plate |
| 9 | //! carries the one-line explanation the column head used to trail: |
| 10 | //! |
| 11 | //! Four tabs (DESIGN §9.2), each ending on a line that says where its values |
| 12 | //! are kept: |
| 13 | //! |
| 14 | //! - PROJECT: anything that changes the rendered output or is stored in the |
| 15 | //! `.edith` file -- resolution, fps, sample-rate, the HDR tonemap, the mix, |
| 16 | //! and the proxy switches. The window's own default answers before a project |
| 17 | //! is open ([`crate::player::library::load_proxies_pref`]). |
| 18 | //! - EDITOR: this machine and this window -- the palette and the subtitle font, |
| 19 | //! kept in `~/.config/edith` like the theme beside them, and the monitoring |
| 20 | //! level, which is session-only. |
| 21 | //! - EXPORT: what a delivery is written as. The picture and the sound are this |
| 22 | //! computer's default ([`load_export_defaults`]); the encoder is the project's. |
| 23 | //! - KEYS: every shortcut, rebindable, saved in the keybindings file. See |
| 24 | //! [`keys_section`]. |
| 25 | //! |
| 26 | //! A row with five answers or fewer shows all of them as chips |
| 27 | //! ([`crate::ui::choice`]): the tonemap, the two proxy switches, the sound |
| 28 | //! rate and the encoder seat -- what used to be "press to cycle" rows, where |
| 29 | //! only the current value showed (UX audit D-1). A longer list (the project's |
| 30 | //! size and rate, the palette, the export's file) is a dropdown off the row, |
| 31 | //! which wears a caret so it reads as one. The arrows walk the chip rows and |
| 32 | //! step them ([`settings_arrow`]); the focused row wears a 1px `ink2` top rule. |
| 33 | //! |
| 34 | //! Every row here reuses an opener or a picker this editor already has |
| 35 | //! ([`Player::open_picker`], [`Player::open_mix`], [`Player::open_subtitle_style`], |
| 36 | //! [`Player::toggle_proxies`], [`Player::toggle_auto_proxies`]) -- no new card |
| 37 | //! body, no second source of truth for what a value is or how it is set. |
| 38 | //! Values apply live through those same doors; there is no Apply button here |
| 39 | //! to be inconsistent with the rest of the room. |
| 40 | //! |
| 41 | //! Seams left for other builders (this task's scope boundary): a finer |
| 42 | //! fps/sample-rate/tone picker is the same builder's to extend; this page |
| 43 | //! only ever asks for [`Pick::Fps`]/[`Pick::SampleRate`]/[`Pick::Tone`] |
| 44 | //! exactly as `inspector.rs`'s legacy panel already does. |
| 45 | //! |
| 46 | //! The HDR reference numbers beside the tonemap row (`HDR reference` and |
| 47 | //! `Content light`) are the *file's* declared light level |
| 48 | //! ([`engine::colorspace::ContentLight`]), not a monitor fact -- read-only, |
| 49 | //! since nothing in [`engine::project::Project`] holds a place to persist an |
| 50 | //! override into. |
| 51 | |
| 52 | use crate; |
| 53 | use cratechoice; |
| 54 | use cratehitmap; |
| 55 | use cratetype_scale; |
| 56 | use crate::*; |
| 57 | use ; |
| 58 | use ; |
| 59 | |
| 60 | /// Which of the page's four sections is showing. Kept on [`Player`] beside |
| 61 | /// [`Player::settings_open`] rather than in the leaf, so a close and a reopen |
| 62 | /// return to the section a hand left instead of snapping back to the first -- |
| 63 | /// the dock keeps its own tab pick the same way ([`Player::dock_src_active`]). |
| 64 | /// Display state and nothing else: no row reads it, and picking a tab writes |
| 65 | /// no project value, so the pick never lights the ledger. |
| 66 | |
| 67 | pub |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | /// What the KEYS tab is waiting on. Held on [`Player`] so a capture survives a |
| 74 | /// repaint and the tab's own key listener can read it. `None` (the field) is |
| 75 | /// the page at rest: keys the tab does not take fall through to the room, so |
| 76 | /// escape still closes the page. |
| 77 | |
| 78 | pub |
| 79 | |
| 80 | |
| 81 | |
| 82 | |
| 83 | |
| 84 | |
| 85 | |
| 86 | |
| 87 | |
| 88 | |
| 89 | |
| 90 | |
| 91 | |
| 92 | /// One tab of the page's strip (PROJECT/EDITOR/EXPORT), wearing the dock's |
| 93 | /// own tab look -- [`crate::ui::dock_stance`]'s `dock_tab` verbatim: no pill, |
| 94 | /// no fill, no rounded button, a 1px `ink1` top rule and `ink1` text mark the |
| 95 | /// showing tab, the resting one is `ink3`, and the whole row is a |
| 96 | /// [`hitmap::control`] so the harness can press it. The section's one-line |
| 97 | /// explanation -- what used to run on after a column head as ambient prose -- |
| 98 | /// is the tab's hover plate (DESIGN §8: a distinction that matters is a plate, |
| 99 | /// not ambient text). |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | |
| 126 | |
| 127 | |
| 128 | |
| 129 | |
| 130 | |
| 131 | |
| 132 | |
| 133 | |
| 134 | |
| 135 | |
| 136 | /// The shortcut column every settings row ends on: the stroke that also |
| 137 | /// reaches the setting, dim and right-aligned in a column of its own after the |
| 138 | /// value (the menus' shortcut column), never glued before it -- "M 100%" read |
| 139 | /// as one value. A row with no stroke keeps the column empty so the values |
| 140 | /// above and below it stay on one edge, and an unbound action shows nothing, |
| 141 | /// never a dash. |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | /// The least width of [`chord_col`]: one short stroke, so single-letter keys |
| 162 | /// line up and a longer one (`Ctrl+M`) grows the column rather than wrapping. |
| 163 | const SETTINGS_CHORD_W: f32 = 52.; |
| 164 | |
| 165 | /// `action`'s first stroke, compact, or `None` when it has none: an unbound |
| 166 | /// action wears no badge (the keymap's own [`Keymap::chord`] answers `--`). |
| 167 | |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
| 172 | |
| 173 | |
| 174 | |
| 175 | |
| 176 | /// The short plain sentence a value slot carries instead of a bare dash when |
| 177 | /// there is nothing to show: no project yet, or (`hdr_only`) a project whose |
| 178 | /// source declares nothing for this row. |
| 179 | pub |
| 180 | |
| 181 | |
| 182 | |
| 183 | |
| 184 | |
| 185 | |
| 186 | |
| 187 | /// A row for a setting with more answers than a row of chips holds: a |
| 188 | /// click opens its list ([`Pick`]), and the value wears a caret so the row |
| 189 | /// reads as a dropdown rather than a button that steps. `chord` is the |
| 190 | /// stroke that also reaches the setting, in the mono chord ink every other |
| 191 | /// darkroom surface wears it in (DESIGN §4 -- "every command wears its chord, |
| 192 | /// everywhere it appears"): the palette came here off the spine with its |
| 193 | /// badge, and keeps it. |
| 194 | |
| 195 | |
| 196 | |
| 197 | |
| 198 | |
| 199 | |
| 200 | |
| 201 | |
| 202 | |
| 203 | |
| 204 | |
| 205 | |
| 206 | |
| 207 | |
| 208 | |
| 209 | |
| 210 | /// The one row body the wrappers share. `chord` is the stroke that also |
| 211 | /// reaches this setting, drawn in mono `ink3` *beside* the value rather than |
| 212 | /// over it -- three settings came here off the spine and each one keeps the |
| 213 | /// badge it wore there (DESIGN §4). `caret` trails the value with `▾` for a |
| 214 | /// row whose click opens a list, the dock's own fold glyph, so a dropdown |
| 215 | /// and a door read differently before either is pressed. |
| 216 | |
| 217 | |
| 218 | |
| 219 | |
| 220 | |
| 221 | |
| 222 | |
| 223 | |
| 224 | |
| 225 | |
| 226 | |
| 227 | |
| 228 | |
| 229 | |
| 230 | |
| 231 | |
| 232 | |
| 233 | |
| 234 | |
| 235 | |
| 236 | |
| 237 | |
| 238 | |
| 239 | |
| 240 | |
| 241 | |
| 242 | |
| 243 | |
| 244 | |
| 245 | |
| 246 | |
| 247 | |
| 248 | |
| 249 | |
| 250 | |
| 251 | |
| 252 | |
| 253 | |
| 254 | |
| 255 | |
| 256 | |
| 257 | |
| 258 | |
| 259 | |
| 260 | |
| 261 | |
| 262 | |
| 263 | |
| 264 | |
| 265 | |
| 266 | |
| 267 | |
| 268 | |
| 269 | |
| 270 | |
| 271 | |
| 272 | |
| 273 | |
| 274 | |
| 275 | |
| 276 | |
| 277 | |
| 278 | |
| 279 | |
| 280 | |
| 281 | |
| 282 | |
| 283 | |
| 284 | |
| 285 | |
| 286 | /// A setting with five answers or fewer, shown as a row of chips rather |
| 287 | /// than a value that steps on a press: every answer visible, the one in |
| 288 | /// force lit, any other one click away. Listed in the order the keyboard |
| 289 | /// walks them ([`choice_rows`]). |
| 290 | |
| 291 | pub |
| 292 | |
| 293 | |
| 294 | |
| 295 | |
| 296 | |
| 297 | |
| 298 | |
| 299 | |
| 300 | |
| 301 | /// The devices the picker offers: the GPU only when edith-stt has one. |
| 302 | pub |
| 303 | |
| 304 | |
| 305 | |
| 306 | |
| 307 | |
| 308 | |
| 309 | |
| 310 | |
| 311 | |
| 312 | |
| 313 | |
| 314 | |
| 315 | |
| 316 | |
| 317 | /// The two words a switch answers with, and the index each one sits at. |
| 318 | const SWITCH: = ; |
| 319 | |
| 320 | /// Where a switch's chip is: `Off` first, `On` second. |
| 321 | pub |
| 322 | |
| 323 | |
| 324 | |
| 325 | /// The switch a chip index means ([`switch_index`]'s inverse). |
| 326 | pub |
| 327 | |
| 328 | |
| 329 | |
| 330 | /// Where `value` sits in `all` -- the chip to light. |
| 331 | pub |
| 332 | |
| 333 | |
| 334 | |
| 335 | |
| 336 | |
| 337 | |
| 338 | |
| 339 | |
| 340 | |
| 341 | |
| 342 | |
| 343 | |
| 344 | |
| 345 | |
| 346 | |
| 347 | |
| 348 | |
| 349 | |
| 350 | |
| 351 | |
| 352 | |
| 353 | |
| 354 | |
| 355 | |
| 356 | |
| 357 | |
| 358 | |
| 359 | |
| 360 | |
| 361 | |
| 362 | |
| 363 | |
| 364 | |
| 365 | |
| 366 | |
| 367 | |
| 368 | |
| 369 | |
| 370 | |
| 371 | |
| 372 | /// The choice rows a tab shows, top to bottom -- what the arrows walk. The |
| 373 | /// EXPORT tab's depend on the file: a codec with no rate has no Sound row, |
| 374 | /// and a song has no Encoder row ([`export_section`]'s own two gates). |
| 375 | pub |
| 376 | |
| 377 | |
| 378 | |
| 379 | |
| 380 | |
| 381 | |
| 382 | /// Which chip of `row` is in force: `None` where nothing is behind it yet. |
| 383 | pub |
| 384 | |
| 385 | |
| 386 | |
| 387 | |
| 388 | |
| 389 | |
| 390 | |
| 391 | |
| 392 | |
| 393 | |
| 394 | |
| 395 | |
| 396 | |
| 397 | |
| 398 | |
| 399 | |
| 400 | /// The arrows while the page is up ([`Player::param_card_key`]'s settings |
| 401 | /// branch): `↑`/`↓` move the focus between the showing tab's choice rows, |
| 402 | /// `←`/`→` step the focused row's value -- and, with no row focused yet, |
| 403 | /// only put the focus on the first one, so the first stroke shows where the |
| 404 | /// keyboard is before anything changes. `false` for any other key, and for |
| 405 | /// a tab with no choice rows, so those strokes fall through as before. |
| 406 | pub |
| 407 | |
| 408 | |
| 409 | |
| 410 | |
| 411 | |
| 412 | |
| 413 | |
| 414 | |
| 415 | |
| 416 | |
| 417 | |
| 418 | |
| 419 | |
| 420 | |
| 421 | |
| 422 | |
| 423 | |
| 424 | |
| 425 | |
| 426 | |
| 427 | |
| 428 | |
| 429 | |
| 430 | |
| 431 | |
| 432 | |
| 433 | |
| 434 | /// A choice row: the label, then the chord and the tail where the row has |
| 435 | /// them, then the chips ([`choice::segmented`]) in the value's slot. No |
| 436 | /// click on the row itself -- the chips are the controls -- and the row |
| 437 | /// the keyboard is on wears DESIGN §4.10's 1px `ink2` top rule. |
| 438 | |
| 439 | |
| 440 | |
| 441 | |
| 442 | |
| 443 | |
| 444 | |
| 445 | |
| 446 | |
| 447 | |
| 448 | |
| 449 | |
| 450 | |
| 451 | |
| 452 | |
| 453 | |
| 454 | |
| 455 | |
| 456 | |
| 457 | |
| 458 | |
| 459 | |
| 460 | |
| 461 | |
| 462 | |
| 463 | |
| 464 | |
| 465 | |
| 466 | |
| 467 | |
| 468 | |
| 469 | |
| 470 | |
| 471 | |
| 472 | |
| 473 | |
| 474 | |
| 475 | |
| 476 | |
| 477 | |
| 478 | |
| 479 | |
| 480 | |
| 481 | |
| 482 | |
| 483 | |
| 484 | |
| 485 | |
| 486 | |
| 487 | |
| 488 | |
| 489 | |
| 490 | |
| 491 | |
| 492 | |
| 493 | |
| 494 | |
| 495 | |
| 496 | |
| 497 | |
| 498 | |
| 499 | |
| 500 | |
| 501 | |
| 502 | |
| 503 | |
| 504 | |
| 505 | |
| 506 | |
| 507 | |
| 508 | |
| 509 | |
| 510 | |
| 511 | |
| 512 | |
| 513 | |
| 514 | |
| 515 | |
| 516 | |
| 517 | |
| 518 | |
| 519 | |
| 520 | |
| 521 | |
| 522 | |
| 523 | |
| 524 | |
| 525 | |
| 526 | |
| 527 | |
| 528 | |
| 529 | |
| 530 | |
| 531 | |
| 532 | |
| 533 | |
| 534 | |
| 535 | |
| 536 | |
| 537 | |
| 538 | |
| 539 | |
| 540 | |
| 541 | |
| 542 | /// A size as a person says it: `1920×1080 (1080p)`, `3840×2160 (2160p, 4K)`; |
| 543 | /// a size with no common name is just its two numbers. |
| 544 | pub |
| 545 | |
| 546 | |
| 547 | |
| 548 | |
| 549 | |
| 550 | |
| 551 | |
| 552 | |
| 553 | |
| 554 | |
| 555 | |
| 556 | |
| 557 | |
| 558 | |
| 559 | |
| 560 | |
| 561 | |
| 562 | /// One quiet, wrapping line under a row: what its choices mean. |
| 563 | |
| 564 | |
| 565 | |
| 566 | |
| 567 | |
| 568 | |
| 569 | |
| 570 | |
| 571 | |
| 572 | |
| 573 | |
| 574 | |
| 575 | |
| 576 | /// PROJECT: the canvas every clip is composed onto, the rate it is cut at, |
| 577 | /// how HDR looks on a normal screen (only when the project has HDR in it), and |
| 578 | /// the editing-copies switches. The mix is a live panel (Clip tab), not a row. |
| 579 | |
| 580 | |
| 581 | |
| 582 | |
| 583 | |
| 584 | |
| 585 | |
| 586 | |
| 587 | |
| 588 | |
| 589 | |
| 590 | |
| 591 | |
| 592 | |
| 593 | |
| 594 | |
| 595 | |
| 596 | |
| 597 | |
| 598 | |
| 599 | |
| 600 | |
| 601 | |
| 602 | |
| 603 | |
| 604 | |
| 605 | |
| 606 | |
| 607 | |
| 608 | |
| 609 | |
| 610 | |
| 611 | |
| 612 | |
| 613 | |
| 614 | |
| 615 | |
| 616 | |
| 617 | |
| 618 | |
| 619 | |
| 620 | |
| 621 | |
| 622 | |
| 623 | |
| 624 | |
| 625 | |
| 626 | |
| 627 | |
| 628 | |
| 629 | |
| 630 | |
| 631 | |
| 632 | |
| 633 | |
| 634 | |
| 635 | |
| 636 | |
| 637 | |
| 638 | |
| 639 | |
| 640 | |
| 641 | |
| 642 | |
| 643 | |
| 644 | |
| 645 | |
| 646 | |
| 647 | |
| 648 | |
| 649 | |
| 650 | |
| 651 | |
| 652 | |
| 653 | |
| 654 | |
| 655 | |
| 656 | |
| 657 | |
| 658 | |
| 659 | |
| 660 | |
| 661 | |
| 662 | |
| 663 | |
| 664 | |
| 665 | |
| 666 | |
| 667 | |
| 668 | |
| 669 | |
| 670 | |
| 671 | |
| 672 | |
| 673 | |
| 674 | |
| 675 | |
| 676 | |
| 677 | |
| 678 | |
| 679 | |
| 680 | |
| 681 | |
| 682 | |
| 683 | |
| 684 | |
| 685 | |
| 686 | |
| 687 | |
| 688 | |
| 689 | |
| 690 | |
| 691 | |
| 692 | |
| 693 | |
| 694 | |
| 695 | |
| 696 | |
| 697 | |
| 698 | |
| 699 | |
| 700 | |
| 701 | |
| 702 | |
| 703 | |
| 704 | |
| 705 | |
| 706 | |
| 707 | |
| 708 | |
| 709 | |
| 710 | /// The still image length: a typed number of seconds, the number field's own look. A click opens |
| 711 | /// it for typing; Enter keeps it, Escape drops it. Off until a project is open, since the length |
| 712 | /// is the project's. |
| 713 | |
| 714 | |
| 715 | |
| 716 | |
| 717 | |
| 718 | |
| 719 | |
| 720 | |
| 721 | |
| 722 | |
| 723 | |
| 724 | |
| 725 | |
| 726 | |
| 727 | |
| 728 | |
| 729 | |
| 730 | |
| 731 | |
| 732 | |
| 733 | |
| 734 | |
| 735 | |
| 736 | |
| 737 | |
| 738 | |
| 739 | |
| 740 | |
| 741 | |
| 742 | |
| 743 | |
| 744 | |
| 745 | |
| 746 | |
| 747 | /// The speech model the project transcribes with: Auto, or one of [`speech::MODELS`] from a list. |
| 748 | /// Models not installed for the device are dimmed in the list. |
| 749 | |
| 750 | |
| 751 | |
| 752 | |
| 753 | |
| 754 | |
| 755 | |
| 756 | |
| 757 | |
| 758 | |
| 759 | |
| 760 | |
| 761 | |
| 762 | |
| 763 | |
| 764 | |
| 765 | |
| 766 | /// A chip of `row` was picked (by a click, or by an arrow through |
| 767 | /// [`settings_arrow`]): the value at `at`, through the same door the row's |
| 768 | /// old cycle press and the keymap's own action go through -- the switches |
| 769 | /// toggle only when the chip differs from the state, so a click on the lit |
| 770 | /// chip is not a flip. Beside the PROJECT section because three of the five |
| 771 | /// rows are its, and the doors it opens are the project's. |
| 772 | |
| 773 | |
| 774 | |
| 775 | |
| 776 | |
| 777 | |
| 778 | |
| 779 | |
| 780 | |
| 781 | |
| 782 | |
| 783 | |
| 784 | |
| 785 | |
| 786 | |
| 787 | |
| 788 | |
| 789 | |
| 790 | |
| 791 | |
| 792 | |
| 793 | |
| 794 | |
| 795 | |
| 796 | |
| 797 | /// The line a section ends on, saying where its values are kept (DESIGN §9.2). |
| 798 | /// Quiet `ink3` text on the row's own height, so it reads as a note, not a row. |
| 799 | |
| 800 | |
| 801 | |
| 802 | |
| 803 | |
| 804 | |
| 805 | |
| 806 | |
| 807 | |
| 808 | |
| 809 | |
| 810 | |
| 811 | |
| 812 | |
| 813 | /// EDITOR: this machine and this person's own reading preferences. Nothing |
| 814 | /// here touches the `.edith` file. |
| 815 | |
| 816 | |
| 817 | |
| 818 | |
| 819 | |
| 820 | |
| 821 | |
| 822 | |
| 823 | |
| 824 | |
| 825 | |
| 826 | |
| 827 | |
| 828 | |
| 829 | |
| 830 | |
| 831 | |
| 832 | |
| 833 | |
| 834 | |
| 835 | |
| 836 | |
| 837 | |
| 838 | |
| 839 | |
| 840 | |
| 841 | |
| 842 | |
| 843 | |
| 844 | |
| 845 | |
| 846 | |
| 847 | |
| 848 | |
| 849 | |
| 850 | |
| 851 | |
| 852 | |
| 853 | |
| 854 | |
| 855 | |
| 856 | |
| 857 | |
| 858 | |
| 859 | |
| 860 | |
| 861 | |
| 862 | |
| 863 | |
| 864 | |
| 865 | |
| 866 | |
| 867 | |
| 868 | |
| 869 | /// "Accent colour": six round swatches, one click picks, the pick is in force |
| 870 | /// and kept at once. Every swatch has the same 22px box with a 2px border that |
| 871 | /// is transparent until it is the picked one, so picking never moves a neighbour. |
| 872 | |
| 873 | |
| 874 | |
| 875 | |
| 876 | |
| 877 | |
| 878 | |
| 879 | |
| 880 | |
| 881 | |
| 882 | |
| 883 | |
| 884 | |
| 885 | |
| 886 | |
| 887 | |
| 888 | |
| 889 | |
| 890 | |
| 891 | |
| 892 | |
| 893 | |
| 894 | |
| 895 | |
| 896 | |
| 897 | |
| 898 | |
| 899 | |
| 900 | |
| 901 | |
| 902 | |
| 903 | |
| 904 | |
| 905 | |
| 906 | |
| 907 | |
| 908 | |
| 909 | |
| 910 | |
| 911 | |
| 912 | |
| 913 | |
| 914 | |
| 915 | |
| 916 | |
| 917 | |
| 918 | |
| 919 | |
| 920 | |
| 921 | |
| 922 | |
| 923 | |
| 924 | |
| 925 | |
| 926 | |
| 927 | |
| 928 | |
| 929 | |
| 930 | |
| 931 | |
| 932 | |
| 933 | |
| 934 | /// The Custom colour and Hue rows while Custom is the accent in force; otherwise one quiet line in |
| 935 | /// the same space, so picking an accent never moves the rows below. |
| 936 | |
| 937 | |
| 938 | |
| 939 | |
| 940 | |
| 941 | |
| 942 | |
| 943 | |
| 944 | |
| 945 | |
| 946 | |
| 947 | |
| 948 | |
| 949 | |
| 950 | |
| 951 | |
| 952 | |
| 953 | |
| 954 | |
| 955 | |
| 956 | |
| 957 | |
| 958 | /// Wraps one of the Custom rows: always on the page so nothing moves, dim and untouchable while |
| 959 | /// the accent in force is not Custom. |
| 960 | |
| 961 | |
| 962 | |
| 963 | |
| 964 | |
| 965 | |
| 966 | |
| 967 | |
| 968 | |
| 969 | |
| 970 | /// "Vivid": how strong the accent is, 0 a faint tint, 50 the colours as designed, 100 bold. |
| 971 | |
| 972 | |
| 973 | |
| 974 | |
| 975 | |
| 976 | |
| 977 | |
| 978 | |
| 979 | |
| 980 | |
| 981 | |
| 982 | |
| 983 | |
| 984 | |
| 985 | |
| 986 | |
| 987 | |
| 988 | |
| 989 | |
| 990 | |
| 991 | |
| 992 | |
| 993 | |
| 994 | |
| 995 | |
| 996 | |
| 997 | |
| 998 | |
| 999 | |
| 1000 | |
| 1001 | |
| 1002 | |
| 1003 | |
| 1004 | |
| 1005 | |
| 1006 | |
| 1007 | |
| 1008 | |
| 1009 | |
| 1010 | |
| 1011 | |
| 1012 | |
| 1013 | |
| 1014 | |
| 1015 | |
| 1016 | |
| 1017 | |
| 1018 | |
| 1019 | /// "Custom colour": the hex of the colour behind the Custom swatch. A valid edit is in force at |
| 1020 | /// once; an invalid one keeps the last good colour and says what a colour looks like. |
| 1021 | |
| 1022 | |
| 1023 | |
| 1024 | |
| 1025 | |
| 1026 | |
| 1027 | |
| 1028 | |
| 1029 | |
| 1030 | |
| 1031 | |
| 1032 | |
| 1033 | |
| 1034 | |
| 1035 | |
| 1036 | |
| 1037 | |
| 1038 | |
| 1039 | |
| 1040 | |
| 1041 | |
| 1042 | |
| 1043 | |
| 1044 | |
| 1045 | |
| 1046 | |
| 1047 | |
| 1048 | |
| 1049 | |
| 1050 | |
| 1051 | |
| 1052 | |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | |
| 1057 | |
| 1058 | |
| 1059 | |
| 1060 | |
| 1061 | |
| 1062 | |
| 1063 | |
| 1064 | |
| 1065 | |
| 1066 | |
| 1067 | |
| 1068 | |
| 1069 | |
| 1070 | |
| 1071 | |
| 1072 | |
| 1073 | |
| 1074 | |
| 1075 | |
| 1076 | |
| 1077 | |
| 1078 | |
| 1079 | |
| 1080 | |
| 1081 | |
| 1082 | |
| 1083 | |
| 1084 | |
| 1085 | |
| 1086 | |
| 1087 | /// The hue of the Custom colour, 0..360, on a rainbow track drawn at the Vivid in force. The |
| 1088 | /// knob is white over it; the whole row is dim while Custom is not the accent. |
| 1089 | |
| 1090 | |
| 1091 | |
| 1092 | |
| 1093 | |
| 1094 | |
| 1095 | |
| 1096 | |
| 1097 | |
| 1098 | |
| 1099 | |
| 1100 | |
| 1101 | |
| 1102 | |
| 1103 | |
| 1104 | |
| 1105 | |
| 1106 | |
| 1107 | |
| 1108 | |
| 1109 | |
| 1110 | |
| 1111 | |
| 1112 | |
| 1113 | |
| 1114 | |
| 1115 | |
| 1116 | |
| 1117 | |
| 1118 | |
| 1119 | |
| 1120 | |
| 1121 | |
| 1122 | |
| 1123 | |
| 1124 | |
| 1125 | |
| 1126 | |
| 1127 | |
| 1128 | |
| 1129 | |
| 1130 | |
| 1131 | |
| 1132 | |
| 1133 | |
| 1134 | |
| 1135 | |
| 1136 | |
| 1137 | |
| 1138 | |
| 1139 | |
| 1140 | |
| 1141 | |
| 1142 | |
| 1143 | |
| 1144 | |
| 1145 | |
| 1146 | |
| 1147 | |
| 1148 | |
| 1149 | |
| 1150 | |
| 1151 | |
| 1152 | |
| 1153 | |
| 1154 | |
| 1155 | |
| 1156 | |
| 1157 | |
| 1158 | |
| 1159 | |
| 1160 | |
| 1161 | |
| 1162 | |
| 1163 | |
| 1164 | |
| 1165 | |
| 1166 | |
| 1167 | |
| 1168 | |
| 1169 | |
| 1170 | |
| 1171 | |
| 1172 | |
| 1173 | |
| 1174 | |
| 1175 | |
| 1176 | |
| 1177 | |
| 1178 | |
| 1179 | |
| 1180 | |
| 1181 | |
| 1182 | |
| 1183 | |
| 1184 | |
| 1185 | |
| 1186 | |
| 1187 | |
| 1188 | |
| 1189 | |
| 1190 | |
| 1191 | |
| 1192 | |
| 1193 | |
| 1194 | /// The nine files this editor writes, in the order the Picture row cycles |
| 1195 | /// them: a codec's two boxes side by side (the container question the export |
| 1196 | /// card asked in a row of its own, folded into this one), and the sound-only |
| 1197 | /// formats after the pictures. |
| 1198 | pub const PICTURE_CYCLE: = |
| 1199 | |
| 1200 | |
| 1201 | |
| 1202 | |
| 1203 | |
| 1204 | |
| 1205 | |
| 1206 | |
| 1207 | |
| 1208 | |
| 1209 | ; |
| 1210 | |
| 1211 | /// `H.264 · MP4`: the codec by the name it is picked under ([`format_label`]) |
| 1212 | /// and the box it lands in. An audio-only format names itself once -- `WAV · |
| 1213 | /// WAV` would be the one field on the line that says nothing. |
| 1214 | pub |
| 1215 | |
| 1216 | |
| 1217 | |
| 1218 | |
| 1219 | |
| 1220 | |
| 1221 | /// The Picture row's list ([`Pick::Picture`]): the nine files in the order |
| 1222 | /// of [`PICTURE_CYCLE`], the one in force marked, and beside each one what this |
| 1223 | /// machine says about it -- a refusal in six words where there is one |
| 1224 | /// ([`short_reason`]), else the box or `sound only`. Refused rows are still |
| 1225 | /// listed, since a reason a person can read is what tells them why the pick |
| 1226 | /// is not theirs to make (DESIGN §8: never hidden). |
| 1227 | pub |
| 1228 | |
| 1229 | |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | |
| 1234 | |
| 1235 | |
| 1236 | |
| 1237 | |
| 1238 | |
| 1239 | |
| 1240 | |
| 1241 | |
| 1242 | |
| 1243 | |
| 1244 | |
| 1245 | |
| 1246 | |
| 1247 | |
| 1248 | |
| 1249 | /// A refusal in six words, which is what fits beside a value on one row -- |
| 1250 | /// the whole sentence is still said where the pick is actually refused |
| 1251 | /// ([`Player::set_format`]'s own banner). |
| 1252 | pub |
| 1253 | |
| 1254 | |
| 1255 | |
| 1256 | /// Saves the keybindings file after a change. As with the export pick, a |
| 1257 | /// failed write is said once and the new keys still work this session. |
| 1258 | |
| 1259 | |
| 1260 | |
| 1261 | |
| 1262 | |
| 1263 | |
| 1264 | |
| 1265 | /// Whether a key name is a modifier alone. A capture waits through these: the |
| 1266 | /// stroke is the key pressed with them, not the shift on its own. |
| 1267 | |
| 1268 | |
| 1269 | |
| 1270 | |
| 1271 | |
| 1272 | |
| 1273 | |
| 1274 | /// Takes `chord` for row `row`. A stroke the file cannot spell is refused and |
| 1275 | /// the row keeps waiting; a stroke another row holds is offered as a swap, never |
| 1276 | /// taken silently; any other stroke is simply the row's now. |
| 1277 | |
| 1278 | |
| 1279 | |
| 1280 | |
| 1281 | |
| 1282 | |
| 1283 | |
| 1284 | |
| 1285 | |
| 1286 | |
| 1287 | |
| 1288 | |
| 1289 | |
| 1290 | /// Puts `chord` on row `row`, handing the holder's stroke over when there is |
| 1291 | /// one, and saves. |
| 1292 | |
| 1293 | |
| 1294 | |
| 1295 | |
| 1296 | |
| 1297 | |
| 1298 | /// Puts one action back to its shipped keys. Any action that lost one of them |
| 1299 | /// to this is named, so the change is never silent. |
| 1300 | |
| 1301 | |
| 1302 | |
| 1303 | |
| 1304 | |
| 1305 | |
| 1306 | |
| 1307 | |
| 1308 | |
| 1309 | |
| 1310 | |
| 1311 | |
| 1312 | |
| 1313 | |
| 1314 | |
| 1315 | |
| 1316 | |
| 1317 | /// The KEYS tab's keyboard, asked first while its list holds focus (a click on |
| 1318 | /// the filter or a row gives it focus). A capture takes every key but the |
| 1319 | /// modifiers alone; the filter takes the letters typed into it. Anything it |
| 1320 | /// does not take falls through to the room, so escape still closes the page |
| 1321 | /// and the room's chords still work. `true` when the key was taken. |
| 1322 | |
| 1323 | |
| 1324 | |
| 1325 | |
| 1326 | |
| 1327 | |
| 1328 | |
| 1329 | |
| 1330 | |
| 1331 | |
| 1332 | |
| 1333 | |
| 1334 | |
| 1335 | |
| 1336 | |
| 1337 | |
| 1338 | |
| 1339 | |
| 1340 | |
| 1341 | |
| 1342 | |
| 1343 | |
| 1344 | |
| 1345 | |
| 1346 | |
| 1347 | |
| 1348 | |
| 1349 | |
| 1350 | |
| 1351 | |
| 1352 | |
| 1353 | |
| 1354 | |
| 1355 | |
| 1356 | |
| 1357 | |
| 1358 | |
| 1359 | |
| 1360 | |
| 1361 | |
| 1362 | |
| 1363 | |
| 1364 | |
| 1365 | |
| 1366 | |
| 1367 | |
| 1368 | |
| 1369 | |
| 1370 | |
| 1371 | |
| 1372 | |
| 1373 | |
| 1374 | |
| 1375 | |
| 1376 | /// A text button on a KEYS row or its footer: a hit area of its own, the label |
| 1377 | /// in `ink1`, and `hint` as its tooltip. `key` names it for the harness, and |
| 1378 | /// the click stops there so the row it sits in does not also take it. |
| 1379 | |
| 1380 | |
| 1381 | |
| 1382 | |
| 1383 | |
| 1384 | |
| 1385 | |
| 1386 | |
| 1387 | |
| 1388 | |
| 1389 | |
| 1390 | |
| 1391 | |
| 1392 | |
| 1393 | |
| 1394 | |
| 1395 | |
| 1396 | |
| 1397 | |
| 1398 | |
| 1399 | |
| 1400 | |
| 1401 | |
| 1402 | |
| 1403 | |
| 1404 | |
| 1405 | |
| 1406 | |
| 1407 | |
| 1408 | |
| 1409 | |
| 1410 | |
| 1411 | /// One value on a KEYS row, in mono, its ink the caller's: `ink1` for a stroke |
| 1412 | /// the user changed or a prompt, `ink3` for the shipped one. |
| 1413 | /// The strokes of one Keys row as keycaps ("Ctrl" "M"), words such as "hold" or |
| 1414 | /// "drag" plain beside them; an action with no key shows a calm dash. |
| 1415 | |
| 1416 | |
| 1417 | |
| 1418 | |
| 1419 | |
| 1420 | |
| 1421 | |
| 1422 | |
| 1423 | |
| 1424 | |
| 1425 | |
| 1426 | |
| 1427 | |
| 1428 | |
| 1429 | |
| 1430 | |
| 1431 | |
| 1432 | |
| 1433 | |
| 1434 | |
| 1435 | |
| 1436 | |
| 1437 | |
| 1438 | |
| 1439 | |
| 1440 | |
| 1441 | |
| 1442 | |
| 1443 | |
| 1444 | |
| 1445 | |
| 1446 | |
| 1447 | |
| 1448 | |
| 1449 | |
| 1450 | |
| 1451 | |
| 1452 | |
| 1453 | |
| 1454 | |
| 1455 | |
| 1456 | |
| 1457 | |
| 1458 | |
| 1459 | |
| 1460 | |
| 1461 | |
| 1462 | |
| 1463 | |
| 1464 | /// One stroke split into its keys: `Ctrl+Shift+M` is three, `Ctrl++` is |
| 1465 | /// "Ctrl" and "+". |
| 1466 | |
| 1467 | |
| 1468 | |
| 1469 | |
| 1470 | |
| 1471 | |
| 1472 | |
| 1473 | |
| 1474 | |
| 1475 | |
| 1476 | |
| 1477 | |
| 1478 | |
| 1479 | |
| 1480 | |
| 1481 | |
| 1482 | |
| 1483 | |
| 1484 | |
| 1485 | |
| 1486 | |
| 1487 | |
| 1488 | |
| 1489 | |
| 1490 | |
| 1491 | |
| 1492 | |
| 1493 | /// The filter field above the list: a click gives it the keyboard, and typed |
| 1494 | /// letters then narrow the rows. |
| 1495 | |
| 1496 | |
| 1497 | |
| 1498 | |
| 1499 | |
| 1500 | |
| 1501 | |
| 1502 | |
| 1503 | |
| 1504 | |
| 1505 | |
| 1506 | |
| 1507 | |
| 1508 | |
| 1509 | |
| 1510 | |
| 1511 | |
| 1512 | |
| 1513 | |
| 1514 | |
| 1515 | |
| 1516 | |
| 1517 | |
| 1518 | |
| 1519 | |
| 1520 | |
| 1521 | |
| 1522 | |
| 1523 | |
| 1524 | |
| 1525 | |
| 1526 | |
| 1527 | |
| 1528 | |
| 1529 | |
| 1530 | |
| 1531 | |
| 1532 | |
| 1533 | |
| 1534 | |
| 1535 | |
| 1536 | |
| 1537 | |
| 1538 | |
| 1539 | |
| 1540 | |
| 1541 | |
| 1542 | |
| 1543 | /// A read-only line on the KEYS list: the label, and the stroke in the dim |
| 1544 | /// right-aligned key column (empty for an action with none). |
| 1545 | |
| 1546 | |
| 1547 | |
| 1548 | |
| 1549 | |
| 1550 | |
| 1551 | |
| 1552 | |
| 1553 | |
| 1554 | |
| 1555 | |
| 1556 | |
| 1557 | |
| 1558 | |
| 1559 | |
| 1560 | |
| 1561 | |
| 1562 | |
| 1563 | |
| 1564 | |
| 1565 | |
| 1566 | |
| 1567 | |
| 1568 | |
| 1569 | |
| 1570 | /// One stroke on the KEYS list. A click takes the next key for it; while it |
| 1571 | /// waits the row says so, and a stroke another row holds offers Swap and Cancel |
| 1572 | /// in place. A changed action carries its own Reset. The value is `ink1` when |
| 1573 | /// the stroke differs from the shipped one, `ink3` at the shipped one. |
| 1574 | |
| 1575 | |
| 1576 | |
| 1577 | |
| 1578 | |
| 1579 | |
| 1580 | |
| 1581 | |
| 1582 | |
| 1583 | |
| 1584 | |
| 1585 | |
| 1586 | |
| 1587 | |
| 1588 | |
| 1589 | |
| 1590 | |
| 1591 | |
| 1592 | |
| 1593 | |
| 1594 | |
| 1595 | |
| 1596 | |
| 1597 | |
| 1598 | |
| 1599 | |
| 1600 | |
| 1601 | |
| 1602 | |
| 1603 | |
| 1604 | |
| 1605 | |
| 1606 | |
| 1607 | |
| 1608 | |
| 1609 | |
| 1610 | |
| 1611 | |
| 1612 | |
| 1613 | |
| 1614 | |
| 1615 | |
| 1616 | |
| 1617 | |
| 1618 | |
| 1619 | |
| 1620 | |
| 1621 | |
| 1622 | |
| 1623 | |
| 1624 | |
| 1625 | |
| 1626 | |
| 1627 | |
| 1628 | |
| 1629 | |
| 1630 | |
| 1631 | |
| 1632 | |
| 1633 | |
| 1634 | |
| 1635 | |
| 1636 | |
| 1637 | |
| 1638 | |
| 1639 | |
| 1640 | |
| 1641 | |
| 1642 | |
| 1643 | |
| 1644 | |
| 1645 | |
| 1646 | |
| 1647 | |
| 1648 | |
| 1649 | |
| 1650 | |
| 1651 | |
| 1652 | |
| 1653 | |
| 1654 | |
| 1655 | |
| 1656 | |
| 1657 | |
| 1658 | |
| 1659 | |
| 1660 | |
| 1661 | |
| 1662 | |
| 1663 | |
| 1664 | |
| 1665 | |
| 1666 | |
| 1667 | |
| 1668 | |
| 1669 | |
| 1670 | |
| 1671 | |
| 1672 | |
| 1673 | |
| 1674 | |
| 1675 | |
| 1676 | |
| 1677 | |
| 1678 | |
| 1679 | |
| 1680 | |
| 1681 | |
| 1682 | |
| 1683 | |
| 1684 | |
| 1685 | |
| 1686 | |
| 1687 | |
| 1688 | |
| 1689 | |
| 1690 | |
| 1691 | |
| 1692 | |
| 1693 | |
| 1694 | |
| 1695 | |
| 1696 | |
| 1697 | |
| 1698 | |
| 1699 | |
| 1700 | |
| 1701 | |
| 1702 | |
| 1703 | |
| 1704 | |
| 1705 | |
| 1706 | |
| 1707 | |
| 1708 | |
| 1709 | |
| 1710 | |
| 1711 | /// KEYS: every shortcut the keymap holds, one row per action, filterable. A |
| 1712 | /// click on a row (or Enter on the focused row) takes the next key as its |
| 1713 | /// stroke; escape cancels. A stroke another row holds is offered as a swap: |
| 1714 | /// Enter swaps, escape cancels, Tab reaches the two buttons. The footer resets |
| 1715 | /// every key. |
| 1716 | /// |
| 1717 | /// The list takes the keyboard through `track_focus`, so its own key listener |
| 1718 | /// sees each stroke before the room's keymap does. It takes only what the page |
| 1719 | /// is waiting for ([`settings_key_down`]). |
| 1720 | |
| 1721 | |
| 1722 | |
| 1723 | |
| 1724 | |
| 1725 | |
| 1726 | |
| 1727 | |
| 1728 | |
| 1729 | |
| 1730 | |
| 1731 | |
| 1732 | |
| 1733 | |
| 1734 | |
| 1735 | |
| 1736 | |
| 1737 | |
| 1738 | |
| 1739 | |
| 1740 | |
| 1741 | |
| 1742 | |
| 1743 | |
| 1744 | |
| 1745 | |
| 1746 | |
| 1747 | |
| 1748 | |
| 1749 | |
| 1750 | |
| 1751 | |
| 1752 | |
| 1753 | |
| 1754 | |
| 1755 | |
| 1756 | |
| 1757 | |
| 1758 | |
| 1759 | |
| 1760 | |
| 1761 | |
| 1762 | |
| 1763 | |
| 1764 | |
| 1765 | |
| 1766 | |
| 1767 | |
| 1768 | |
| 1769 | |
| 1770 | |
| 1771 | |
| 1772 | |
| 1773 | |
| 1774 | |
| 1775 | |
| 1776 | |
| 1777 | |
| 1778 | |
| 1779 | |
| 1780 | |
| 1781 | |
| 1782 | |
| 1783 | |
| 1784 | |
| 1785 | |
| 1786 | |
| 1787 | |
| 1788 | |
| 1789 | |
| 1790 | |
| 1791 | |
| 1792 | |
| 1793 | |
| 1794 | |
| 1795 | |
| 1796 | |
| 1797 | |
| 1798 | |
| 1799 | |
| 1800 | |
| 1801 | |
| 1802 | |
| 1803 | |
| 1804 | /// The scroll fade at the foot of the rows, in the plate's own colour (the |
| 1805 | /// shared fade is the dock's, a different surface). |
| 1806 | |
| 1807 | |
| 1808 | |
| 1809 | |
| 1810 | |
| 1811 | |
| 1812 | |
| 1813 | |
| 1814 | |
| 1815 | |
| 1816 | |
| 1817 | |
| 1818 | |
| 1819 | |
| 1820 | |
| 1821 | |
| 1822 | |
| 1823 | |
| 1824 | |
| 1825 | |
| 1826 | |
| 1827 | |
| 1828 | |
| 1829 | |
| 1830 | |
| 1831 | |
| 1832 | /// The centred modal's plate width: one tabbed column's own measure, wide |
| 1833 | /// enough for the longest row a section carries (the EXPORT range's marks |
| 1834 | /// line, its chords and all) beside its label -- and no wider. The sheet this |
| 1835 | /// replaces was `w_full()`, which read every row as a line stretched across |
| 1836 | /// the room with its value a window away from the label it belongs to. |
| 1837 | /// [`KEYS_W`]'s class, and a step past its number: these rows carry the same |
| 1838 | /// label-left/stroke-right anatomy with a value where that card has none. |
| 1839 | const SETTINGS_W: f32 = 480.; |
| 1840 | |
| 1841 | /// The gap the plate keeps to the menu bar above it and the time band below. |
| 1842 | const SETTINGS_GAP: f32 = 8.; |
| 1843 | |
| 1844 | /// The rows' one measure, spent by every tab alike: the tallest section's own |
| 1845 | /// height (PROJECT's nine rows and its storage line at [`CONTROL_H`], the |
| 1846 | /// sections' 2px gaps between them), so a tab switch swaps the rows and never resizes the plate |
| 1847 | /// under the hand (user 2026-09-20: "switching between them feels weird"). A |
| 1848 | /// shorter section leaves air below its last row; a short window still |
| 1849 | /// scrolls, the plate's `max_h` cap shrinking this from `min_h(0)`. |
| 1850 | pub const SETTINGS_ROWS_H: f32 = 9. * CONTROL_H + 36. + 9. * 2.; |
| 1851 | |
| 1852 | /// The plate's height that is not its rows: the dialog's padding and gaps, the title and the tab |
| 1853 | /// strip. The plate's top is set from it, so the tab strip sits on one line for every tab. |
| 1854 | const SETTINGS_CHROME_H: f32 = 40. + 28. + CONTROL_H + 12.; |
| 1855 | |
| 1856 | /// The Keys list's share of the window's height, and the most it may take: the list is the one |
| 1857 | /// place a whole shortcut sheet is read, so it gets more room than PROJECT's rows. |
| 1858 | const KEYS_SHARE: f32 = 0.6; |
| 1859 | const KEYS_ROWS_MAX: f32 = 560.; |
| 1860 | |
| 1861 | /// The dialog layer's own top and bottom padding ([`kit::dialog_layer`]). |
| 1862 | const LAYER_PAD: f32 = 8.; |
| 1863 | |
| 1864 | /// The page itself: a centred modal card, closed by a click away or `esc` |
| 1865 | /// through [`Player::close_card`] like every other card here. |
| 1866 | /// |
| 1867 | /// It held to [`crate::ui::stance::below_picture_floor`] from 2026-08-21 |
| 1868 | /// until 2026-09-19: a centred sheet then drew the whole page -- and every |
| 1869 | /// picker opened off one of its rows -- over the picture (DESIGN §11 check |
| 1870 | /// 6's occlusion rule, half of the user's own report about menus "not |
| 1871 | /// aligning with our design"), so the page was anchored over the bench and |
| 1872 | /// ledger at the window's full width. The user 2026-09-19 retired that read |
| 1873 | /// -- "this settings section should be a modal instead of covering the |
| 1874 | /// timeline" -- so the plate is centred again, at one tabbed column's own |
| 1875 | /// measure: it floats over the room's middle, the timeline beneath is not |
| 1876 | /// laid under a full-width sheet, and a short window scrolls the rows under |
| 1877 | /// the strip rather than clipping them. The catcher still paints nothing |
| 1878 | /// rather than tinting the frame, the same rule the menus it opens follow. |
| 1879 | /// |
| 1880 | /// Centred on the whole window it still stood over the ruler and the V1/A1 |
| 1881 | /// lanes (its top near y=375 of 1080), so since 2026-10-19 the plate is |
| 1882 | /// centred in [`settings_area`] -- the band over the viewer that ends above |
| 1883 | /// the time band, where the export sheet sits -- and capped to it. |
| 1884 | pub |
| 1885 | |
| 1886 | |
| 1887 | |
| 1888 | |
| 1889 | |
| 1890 | |
| 1891 | |
| 1892 | |
| 1893 | |
| 1894 | |
| 1895 | |
| 1896 | |
| 1897 | |
| 1898 | |
| 1899 | |
| 1900 | |
| 1901 | |
| 1902 | |
| 1903 | |
| 1904 | |
| 1905 | |
| 1906 | |
| 1907 | |
| 1908 | |
| 1909 | |
| 1910 | |
| 1911 | |
| 1912 | |
| 1913 | |
| 1914 | |
| 1915 | |
| 1916 | |
| 1917 | |
| 1918 | |
| 1919 | |
| 1920 | |
| 1921 | |
| 1922 | |
| 1923 | |
| 1924 | |
| 1925 | |
| 1926 | |
| 1927 | |
| 1928 | |
| 1929 | |
| 1930 | |
| 1931 | |
| 1932 | |
| 1933 | |
| 1934 | |
| 1935 | |
| 1936 | |
| 1937 | |
| 1938 | |
| 1939 | |
| 1940 | |
| 1941 | |
| 1942 | |
| 1943 | |
| 1944 | |
| 1945 | |
| 1946 | |
| 1947 | |
| 1948 | |
| 1949 | |
| 1950 | |
| 1951 | |
| 1952 | |
| 1953 | |
| 1954 | |
| 1955 | |
| 1956 | |
| 1957 | |
| 1958 | |
| 1959 | |
| 1960 | |
| 1961 | |
| 1962 | |
| 1963 | |
| 1964 | |
| 1965 | |
| 1966 | |
| 1967 | |
| 1968 | |
| 1969 | |
| 1970 | |
| 1971 | |
| 1972 | |
| 1973 | |
| 1974 | |
| 1975 | |
| 1976 | |
| 1977 | |
| 1978 | |
| 1979 | |
| 1980 | |
| 1981 | |
| 1982 | |
| 1983 | |
| 1984 | |
| 1985 | |
| 1986 | |
| 1987 | |
| 1988 | |
| 1989 | |
| 1990 | |
| 1991 | |
| 1992 | |
| 1993 | |
| 1994 | |
| 1995 | |
| 1996 | |
| 1997 | |
| 1998 | |
| 1999 | |
| 2000 | |
| 2001 | |
| 2002 | |
| 2003 | |
| 2004 | |
| 2005 | |
| 2006 | |
| 2007 | |
| 2008 | |
| 2009 | |
| 2010 | |
| 2011 | |
| 2012 | |
| 2013 | |
| 2014 | |
| 2015 | |
| 2016 | |
| 2017 | |
| 2018 | |
| 2019 | |
| 2020 | |
| 2021 | |
| 2022 | |
| 2023 | |
| 2024 | |
| 2025 | |
| 2026 | |
| 2027 | |
| 2028 | |
| 2029 | |
| 2030 | |
| 2031 | |
| 2032 | |
| 2033 | |
| 2034 | |
| 2035 | |
| 2036 | |
| 2037 | |
| 2038 | |
| 2039 | |
| 2040 | |
| 2041 | |
| 2042 | |
| 2043 | |
| 2044 | |
| 2045 | |
| 2046 | |
| 2047 | |
| 2048 | |
| 2049 | |
| 2050 | |
| 2051 | |
| 2052 | |
| 2053 | |
| 2054 | |
| 2055 | |
| 2056 | |
| 2057 | |
| 2058 | |
| 2059 | |
| 2060 | |
| 2061 | |
| 2062 | |
| 2063 | |
| 2064 | |
| 2065 | |
| 2066 | |
| 2067 | |
| 2068 | |
| 2069 | |
| 2070 | |
| 2071 | |
| 2072 | |
| 2073 | |
| 2074 | |
| 2075 | |
| 2076 | |
| 2077 | |
| 2078 | |
| 2079 | |
| 2080 | |
| 2081 | |
| 2082 | |
| 2083 | |
| 2084 | |
| 2085 | |
| 2086 | |
| 2087 | |
| 2088 | |
| 2089 | |
| 2090 | |
| 2091 | |
| 2092 | |
| 2093 | |
| 2094 | |
| 2095 | |
| 2096 | |
| 2097 | |
| 2098 | |
| 2099 | |
| 2100 | |
| 2101 | |
| 2102 | |
| 2103 | |
| 2104 | |
| 2105 | |
| 2106 | |
| 2107 | |
| 2108 | |
| 2109 | |
| 2110 | |
| 2111 | |
| 2112 | |
| 2113 | |
| 2114 | |
| 2115 | |
| 2116 | |
| 2117 | |
| 2118 | |
| 2119 | |
| 2120 | |
| 2121 | |
| 2122 | |
| 2123 | |
| 2124 | |
| 2125 | |
| 2126 | |
| 2127 | |
| 2128 | |
| 2129 | |
| 2130 | |
| 2131 | |
| 2132 | |
| 2133 | |
| 2134 | |
| 2135 | |
| 2136 | |
| 2137 | |
| 2138 | |
| 2139 | |
| 2140 | |
| 2141 | |
| 2142 | |
| 2143 | |
| 2144 | |
| 2145 | |
| 2146 | |
| 2147 | |
| 2148 | |
| 2149 | |
| 2150 | |
| 2151 | |
| 2152 | |
| 2153 | |
| 2154 | |
| 2155 | |
| 2156 | |
| 2157 | |
| 2158 | |
| 2159 | |
| 2160 | |
| 2161 | |
| 2162 | |
| 2163 | |
| 2164 | |
| 2165 | |
| 2166 | |
| 2167 | |
| 2168 | |
| 2169 | |
| 2170 | |
| 2171 | |
| 2172 | |
| 2173 | |
| 2174 | |
| 2175 | |
| 2176 | |
| 2177 | |
| 2178 | |
| 2179 | |
| 2180 | |
| 2181 | |
| 2182 | |
| 2183 | |
| 2184 | |
| 2185 | |
| 2186 | |
| 2187 | |
| 2188 | |
| 2189 | |
| 2190 | |
| 2191 | |
| 2192 | |
| 2193 | |
| 2194 | |
| 2195 | |
| 2196 | |
| 2197 | |
| 2198 | |
| 2199 | |
| 2200 | |
| 2201 | |
| 2202 | |
| 2203 | |
| 2204 | |
| 2205 | |
| 2206 | |
| 2207 | |
| 2208 | |
| 2209 | |
| 2210 | |
| 2211 | |
| 2212 | |
| 2213 | |
| 2214 | |
| 2215 | |
| 2216 | |
| 2217 | |
| 2218 | |
| 2219 | |
| 2220 | |
| 2221 | |
| 2222 | |
| 2223 | |
| 2224 | |
| 2225 | |
| 2226 | |
| 2227 | |
| 2228 | |
| 2229 | |
| 2230 | |
| 2231 | |
| 2232 | |
| 2233 | |
| 2234 | |
| 2235 | |
| 2236 | |
| 2237 | |
| 2238 | |
| 2239 | |
| 2240 | |
| 2241 | |
| 2242 | |
| 2243 | |
| 2244 | |
| 2245 | |
| 2246 | |
| 2247 | |
| 2248 | |
| 2249 | |
| 2250 | |
| 2251 | |
| 2252 | |
| 2253 | |
| 2254 | |
| 2255 | |
| 2256 | |
| 2257 | |
| 2258 | |
| 2259 | |
| 2260 | |
| 2261 | |
| 2262 | |
| 2263 | |
| 2264 | |
| 2265 | |
| 2266 | |
| 2267 | |
| 2268 | |
| 2269 | |
| 2270 |