Commit Graph

1345 Commits

Author SHA1 Message Date
Isaiah Odhner
707f180fe7 Ensure scrollbar thumb is small enough to move when scrolling
In the normal scrollbar render implementation, which uses fractional block characters, thumb_size makes sense as a float, but here, it can lead to cases where the scrollbar thumb takes up the entire scrollbar even though scrolling is possible, if it's not snapped to an integer number of cells. (In the original implementation, perhaps it can still run into such cases, but it would need a more extreme fraction?)
2023-09-05 20:03:05 -04:00
Isaiah Odhner
96f5c959eb Clean up ASCIIScrollBarRender 2023-09-05 20:03:05 -04:00
Isaiah Odhner
7c4947df12 ASCII-ize scrollbar in --ascii-only mode 2023-09-05 19:24:52 -04:00
Isaiah Odhner
e2c53e48a0 Finish ASCIIficating radio buttons in --ascii-only mode 2023-09-05 18:58:48 -04:00
Isaiah Odhner
ab29b0f5ae Group development options in CLI help 2023-09-05 17:57:33 -04:00
Isaiah Odhner
c610019430 Automatically update CLI help on readme, during development 2023-09-05 17:39:07 -04:00
Isaiah Odhner
e200501518 Ignore some private accesses
It's fiiiiine... (until these things change, and the type: ignore comment starts hiding an actual problem)
2023-09-04 22:05:42 -04:00
Isaiah Odhner
38c40f4b77 Set HeaderIcon instance's icon instead of overwriting class variable 2023-09-04 22:02:10 -04:00
Isaiah Odhner
c9757a4549 Remove all trailing whitespace
using regular expression: \s+$
2023-09-04 21:47:58 -04:00
Isaiah Odhner
bd6ce9b3a7 Press 'f' to pay respects 2023-09-04 21:43:48 -04:00
Isaiah Odhner
379249c237 Update changelog 2023-09-04 21:22:36 -04:00
Isaiah Odhner
8101c9c962 Bold brush handles in Paint icon in header 2023-09-04 21:22:36 -04:00
Isaiah Odhner
576778de45 Un-bold parts of the Windows logo icon 2023-09-04 20:20:36 -04:00
Isaiah Odhner
724762e110 Crop header icon to hide shadow of hidden page curl 2023-09-04 19:53:43 -04:00
Isaiah Odhner
b818c2c99b Handle running from outside repo when reporting version 2023-09-04 19:37:07 -04:00
Isaiah Odhner
1897dbe386 Tweak Header icon 2023-09-04 19:06:59 -04:00
Isaiah Odhner
fea5cf8894 Show tiny Paint icon ASCII art in Header (regardless of --ascii-only) 2023-09-04 18:27:44 -04:00
Isaiah Odhner
79b9c37c09 ASCIItulate radio buttons in --ascii-only mode
I think that's the last thing! Except for the weird circle in the Header widget, and my NanoTiny font when zoomed in.
2023-09-04 17:54:43 -04:00
Isaiah Odhner
bcbf877fb8 EmASCIIen directory tree icons in --ascii-only mode 2023-09-04 17:32:36 -04:00
Isaiah Odhner
a16b3b3d9f ASCIIfy Windows logo for enlarge canvas dialog in --ascii-only mode
Once again I'm surprised at how good I was able to get this!
2023-09-04 17:13:35 -04:00
Isaiah Odhner
f2d8a5dbe6 Use bold exclamation mark and question mark for dialog icons
An exclamation mark character is more centered than the pipe and dot combo, although it's smaller.
Bolding the bang makes up for its gulf in girth.

Bold the question mark to match.
2023-09-04 17:13:35 -04:00
Isaiah Odhner
bee5440abc Use actual ASCII alternatives for maximize/restore in --ascii-only mode 2023-09-04 17:13:35 -04:00
Isaiah Odhner
ed40ed70c2 ASCIItize more UI in --ascii-only mode 2023-09-04 17:13:35 -04:00
Isaiah Odhner
47468d1c06 Refactor --ascii-only argument plumbing
Query for the argument instead of patching values in from outside.
2023-09-04 17:13:35 -04:00
Isaiah Odhner
ad83dee949 Extract argument parsing to a file 2023-09-04 14:35:44 -04:00
Isaiah Odhner
d471e92855 Make --ascii-only-icons only affect tool icons (again) 2023-09-04 13:48:51 -04:00
Isaiah Odhner
52dfb38803 Use ASCII-only icon for About Paint in --ascii-only mode 2023-09-04 13:45:15 -04:00
Isaiah Odhner
b75e849c29 Correct instruction for truecolor in XTerm 2023-09-04 13:26:21 -04:00
Isaiah Odhner
58daeedd16 Distinguish development vs. production, using Git information 2023-09-04 13:02:22 -04:00
Isaiah Odhner
97bfbda1ec Use ASCII art for question bubble icon in --ascii-only mode 2023-09-04 12:42:20 -04:00
Isaiah Odhner
a7b92a1643 Use ASCII line art for warning icon in --ascii-only mode 2023-09-04 12:40:33 -04:00
Isaiah Odhner
2cff6c89e1 Swap colors with right click or Ctrl+click on current colors area 2023-09-04 11:35:30 -04:00
Isaiah Odhner
778ecb2b8a Allow right click to pick foreground color from palette 2023-09-04 11:35:30 -04:00
Isaiah Odhner
833f0fac48 Recommend pipx for installation
Closes https://github.com/1j01/textual-paint/issues/3
2023-09-04 11:35:30 -04:00
Isaiah Odhner
272b8c5d57 Add terminal emulator logo art 2023-09-04 11:35:30 -04:00
Isaiah Odhner
c6e45a44a2 Note some more Pencil icon alternatives 2023-09-01 01:18:43 -04:00
Isaiah Odhner
50778b4f1b Update compatibility info on readme 2023-08-31 23:09:28 -04:00
Isaiah Odhner
c063b92c2f Add ASCII rendition of Help window icon 2023-08-31 02:10:38 -04:00
Isaiah Odhner
7e2110df37 Remove flag variables in favor of args object 2023-08-31 01:19:22 -04:00
Isaiah Odhner
244a88816b Move graphics primitives to a separate file 2023-08-30 22:41:20 -04:00
Isaiah Odhner
df446462b3 Tweak ASCII borders 2023-08-30 22:26:04 -04:00
Isaiah Odhner
7699d3d1a8 Move ASCII border code to a file, with a demo app 2023-08-30 22:25:48 -04:00
Isaiah Odhner
3b42656f48 Add less pager to sample gallery command
It fails to display the 4x4_font_template.ans but other than that it's fine, and that's not really an artwork anyways.
2023-08-30 21:24:09 -04:00
Isaiah Odhner
65ef282148 Use full-ASCII version of Stretch/Skew icons
The partial-ASCII version works in XTerm, but not the Linux Console.
2023-08-30 18:19:42 -04:00
Isaiah Odhner
7212cde1f9 Add more ASCII-using versions of Stretch/Skew icons 2023-08-30 18:12:32 -04:00
Isaiah Odhner
f0979fefd5 Add --ascii-only option 2023-08-30 17:39:55 -04:00
Isaiah Odhner
7e59ca7e6a Color and tweak --ascii-only-icons 2023-08-30 17:39:52 -04:00
Isaiah Odhner
576eee5244 Use alternative tool icons for Kitty terminal 2023-08-30 17:39:43 -04:00
Isaiah Odhner
2a4b6484e7 Note many additional symbol options for tools
- "🧯" might be a new best Airbrush symbol
- "𝐴" appears closer to MS Paint's Text icon, although it's not centered like the wide character "A"
- "⬙﹅" is quite a nice two-glyph Fill With Color icon, only a bit disjoint with the bucket being too small/low (as I see it rendered)
- Add lasso-themed Free-Form Select symbol alternatives
- Add many misc. options
- Combine composite brush symbols so they're directly visualized ("▭⋹ 𝈸⋹ ⊏⋹ ⸦⋹ ⊂⋹" instead of "▭/𝈸/⊏/⸦/⊂+⋹")
- Add one crosshair cursor option
- Remove "whilst" phrase that didn't add any meaning
2023-08-27 13:59:51 -04:00
Isaiah Odhner
9183edbe53 VS Code: use the new Textual Syntax Highlighter extension 2023-08-21 18:34:48 -04:00