Commit Graph

2850 Commits

Author SHA1 Message Date
nick black
11685e77cc
[sprixel_create] eliminate copy of glyph 2021-03-27 11:43:58 -04:00
nick black
fac56fc2cc
[plane] incorporate left/top margins into resize #1472 2021-03-27 08:12:18 -04:00
nick black
5a6ee2d720
[ncplane_dup] remove cheerful diagnostic 2021-03-27 07:15:28 -04:00
nick black
a8a42c2a50 [planes] implement ncplane_resize_marginalized() #1472 2021-03-27 07:07:48 -04:00
nick black
7c5b7fe85c [ncplane_new] allocate based on true length #1472 2021-03-27 07:07:48 -04:00
nick black
1688f66bc7 [ncplane_new_internal] fix diagnostic 2021-03-27 07:07:48 -04:00
nick black
50df69ab31 [planes] implement MARGINALIZED in ncplane_create() #1472 2021-03-27 07:07:48 -04:00
nick black
78c8e70933 [planes] add NCPLANE_OPTION_MARGINALIZED #1472 2021-03-27 07:07:48 -04:00
nick black
a3a4f40fa0 [bitmaps] add a big unit test on wiping 2021-03-27 07:07:48 -04:00
nick black
d095ba9bb7 [keller] drop 2 unnecessary bitmap workarounds 2021-03-27 07:07:48 -04:00
nick black
0100e26d62 [ncplayer] use unique_ptr for view plane 2021-03-27 07:07:48 -04:00
nick black
0c36e1248e
[blit] skip over left/top trim, allowing neg placement #1470 2021-03-27 03:09:17 -04:00
nick black
ca84f95379
[demo] vertically align fpsgraph at bottom 2021-03-27 02:39:08 -04:00
nick black
fea6b51bdf
xray: horizontally center video 2021-03-27 02:34:15 -04:00
nick black
390bfc6647 ncplayer: extract handle_subtitle() 2021-03-27 02:31:51 -04:00
nick black
df85fb55ba [bitmaps] fix bitmap placement when making a new plane #1468 2021-03-27 02:31:51 -04:00
nick black
229c1ab3c2 ncplane_new_internal: use ncplane_valign() #1468 2021-03-27 02:31:51 -04:00
nick black
86de98c5d2 Fix cell blit / plane vertical alignment
Deprecate ncplane_align(), after rewriting it as a passthrough
to new function ncplane_halign(). Add ncplane_valign(). Update
all callers. Closes #1468.
2021-03-27 02:31:51 -04:00
nick black
51ccd60e96 [kitty] comment up the graphics protocol] 2021-03-27 02:31:51 -04:00
nick black
8b3e692fa1
[ncplayer] don't vertically center until #1468 is resolved 2021-03-27 01:03:36 -04:00
nick black
958b75bed7 NCPLANE_OPTION_VERALIGNED for bitmaps #1465 2021-03-26 09:50:22 -04:00
nick black
ff86bb0187 [ncvisual] first stab at NCVISUAL_OPTION_VERALIGNED #1461 2021-03-26 09:50:22 -04:00
nick black
de69fd858b
fwrite vs ncputs
theoretically, fwrite() could get better performance than
fputs() due to knowing the length of its input buffer. i
didn't see any perf change beyond noise, but who knows.
2021-03-26 06:26:00 -04:00
nick black
465390f5e1 [planes] implement NCPLANE_OPTION_VERALIGNED #1465 2021-03-26 04:18:15 -04:00
nick black
6105913d06 [planes] add NCPLANE_OPTION_VERALIGNED #1465 2021-03-26 04:18:15 -04:00
nick black
3d586844fb
[intro] great scott! 2021-03-25 23:08:30 -04:00
nick black
625955ba63
[intro] cover the x-axis when we move 2021-03-25 22:53:21 -04:00
nick black
00634eb982
[ncdirect] honor xoff for bitmaps #1436 2021-03-25 22:22:10 -04:00
nick black
83af07546d
[bitmap] actually call sprite_sixel_init() 2021-03-25 21:16:02 -04:00
nick black
6f446f94de
remove kittyzapper PoC 2021-03-25 20:55:08 -04:00
nick black
721e208ce2
[ncplayer] newline between bitmaps in directmode 2021-03-25 20:54:30 -04:00
nick black
8b9af4cf0e [visual] work for all alignment types 2021-03-25 20:41:02 -04:00
nick black
42e1e4f5d0 [visual] NCVISUAL_OPTIONS_HORALIGNED for bitmaps #1443 2021-03-25 20:41:02 -04:00
nick black
1c3e10f926 [visual] implement NCVISUAL_OPTION_HORALIGNED for cells 1443 2021-03-25 20:41:02 -04:00
nick black
f714337fe1 [visual] NCVISUAL_OPTION_HORALIGNED for cell blitters #1443 2021-03-25 20:41:02 -04:00
nick black
cd297ff4d2 [tests] add pixel video test, direct mode scale test 2021-03-25 20:41:02 -04:00
nick black
57cb7004ff [ncvisual] add logerror() throughout parameter checks 2021-03-25 20:41:02 -04:00
nick black
6f4a9e089c [tests] unit test for directmode image rendering 2021-03-25 20:41:02 -04:00
nick black
828cce634a [capabilites] remove redundant notcurses_canpixel() 2021-03-25 20:41:02 -04:00
nick black
32def3a600
[nctabbed] notcurses_stop() ending unit tests 2021-03-25 16:42:43 -04:00
nick black
a487aa9a28
[nctabbed_destroy] work on single-element case 2021-03-25 16:31:05 -04:00
nick black
978d872307
[nctabbed] get Add test working 2021-03-25 16:29:23 -04:00
nick black
7754eed249
fix bad test in ncreel_add()/nctabbed_add() 2021-03-25 16:27:10 -04:00
nick black
636b7a5d45
[nctabbed] break loop in nctabbed_destroy() 2021-03-25 15:45:53 -04:00
nick black
e0c3f4dd82
[tabbed] don't explode when destroying 0 tabs 2021-03-25 14:38:35 -04:00
nick black
37a12e4273
[nctabbed] NULL guards around trivalent nctabbed_channels() 2021-03-24 17:57:56 -04:00
MasFlam
c677a4fd8a
Add the nctabbed widget (#1431)
Tabs for the people!

fixes #986
2021-03-24 17:27:29 -04:00
nick black
c5a70dbd43
[sixel] clean up warnings from merge :( 2021-03-24 05:26:42 -04:00
nick black
d82a3e935f [ncplayer] erase() standard plane for frame count 2021-03-24 05:22:15 -04:00
nick black
1ea85c4191 [yield] reduce pixel threshold 2021-03-24 05:22:15 -04:00