314 Commits

Author SHA1 Message Date
nick black
4d4942a9a4
notcurses.h: emphasize that octants are a superset of 2x1 2025-01-02 17:22:22 -05:00
nick black
4ad0236a6e
usage: provide updated ncchannels_reverse() definition (#2757) 2024-02-12 07:53:15 -05:00
nick black
b292bba6df [docs] correct definition of ncprogbar_options #2639 2022-03-31 03:20:33 -04:00
joseLuís
fef35db1c9 fix docs: rename ncplane_attr → ncplane_styles 2022-03-20 12:38:31 +01:00
Harrison Katz
3181b6c8d9 docs: fix formatting
Restores the ``` to close code block.
2022-01-26 12:08:01 -05:00
nick black
4985bf1f3f
doc ncchannels_channels() and ncchannels_set_channels() 2022-01-23 21:45:06 -05:00
nick black
cb7e77eab2
document ncplane_set_[fb]channel 2022-01-23 21:24:07 -05:00
nick black
65de20490f
[USAGE] update comment text 2022-01-23 19:00:04 -05:00
nick black
beea4d62d8
restore nccell_[bf]channel using safe ncchannels_bchannel #2571 2022-01-23 18:19:23 -05:00
nick black
24293e8d72
Revert "purge all references to nccell_{set}?_[fb]channel() #2571"
This reverts commit 4e0428dfcc58b8de5b0d0b1449e5d7a0b8808e96.
2022-01-23 18:16:00 -05:00
nick black
860d06384d
ncchannels_bchannel: operate only on alpha+coloring bits #2571 2022-01-23 18:15:53 -05:00
nick black
e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571 2022-01-23 17:46:04 -05:00
nick black
4e0428dfcc
purge all references to nccell_{set}?_[fb]channel() #2571 2022-01-23 17:40:07 -05:00
Harrison Katz
815bd9f7f2 docs: remove references to ncplane_growtext 2022-01-20 16:42:24 -05:00
nick black
dc8c7d8826
[input] update ncinput_nomod_p() and future-proof it #2540 2022-01-10 01:11:00 -05:00
nick black
3d0fbc4d8f ncvisual_from_sixel() atop ncsixel_as_rgba() 2021-12-23 09:47:41 -05:00
nick black
bb91c170dd implement sixel_as_rgba() #1724 2021-12-23 09:47:41 -05:00
nick black
e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE 2021-12-23 07:54:37 -05:00
nick black
2f00fadfdd eliminate some signedness changes in notcurses.h 2021-12-19 07:26:44 -05:00
nick black
041a083a0f add ncplane_cursor_y()/ncplane_cursor_x() 2021-12-18 15:41:37 -05:00
nick black
9c3adaaea3
add ncchannel_rgb(), use it in channels_blend() 2021-12-17 03:17:56 -05:00
nick black
ba1c79b66e add nccell_load_ucs32 2021-12-10 02:38:17 -05:00
nick black
4c17970ba0
detect and expose default foreground color #2432 2021-12-09 16:08:43 -05:00
nick black
6e42d5c52e
add notcurses_default_background() #2432 2021-12-09 15:38:32 -05:00
nick black
67eaa64557
mandoc syntax 2021-12-09 14:27:59 -05:00
nick black
546355a871
notcurses_cursor_yx ought be const 2021-12-09 14:24:12 -05:00
nick black
977a4ed966 introduce NCPLANE_OPTIONS_{VSCROLL, AUTOGROW} #2440 2021-12-08 01:09:15 -05:00
nick black
b7785d1272 declare ncplane_growtext() 2021-12-08 01:09:15 -05:00
joseLuís
b1f636a2d9 [docs] rename plane/visual sections to regions 2021-11-30 15:39:58 +01:00
nick black
46ebc1d9c6
ncplane_options: make margin fields unsigned 2021-11-30 05:44:41 -05:00
nick black
df689d9104
[notcurses_options] unsigned margins 2021-11-29 12:13:16 -05:00
joseLuís
7a45d1553d [docs] fix ncplane_erase_region examples in USAGE 2021-11-24 02:22:12 +01:00
joseLuís
2a01b305b6 [docs] minor fix & update 2021-11-22 14:16:32 +01:00
nick black
03a03ca22c
[channels] set_rgb needs clear the palette bit! 2021-11-19 05:36:38 -05:00
joseLuís
da13d8938d [docs] fix ncplane_[format|stain] docs 2021-11-12 19:56:13 +01:00
nick black
9065975a3c
move synthesized events beyond unicode 2021-11-09 04:16:23 -05:00
nick black
b42587a1b9
notcurses_getc -> notcurses_get, absolute deadlines 2021-11-09 00:54:29 -05:00
nick black
fe924be5ef
ABI3 changes (#2333)
Long-planned changes for API/ABI3 #1777

* remove old-style notcurses_ rendering functions
* Make notcurses_render() a static inline wrapper around
 ncpile_render(). Remove the deprecated
 notcurses_render_to_file() and ncpile_render_to_file().
* ncstrwidth() becomes static inline wrapper #1777
* remove deprecated ncvisual_subtitle()
* kill ncvisual_inflate(), long deprecated #1777
* remove deprecated palette256 wrappers #1777
* kill ncplane_new() #1777
* remove deprecated renderfp field from notcurses_options #1777
* reorder ncstats fields to match documentation #1777
* kill deprecated style functions #1777
* ncplane_move{top, bottom} become static inline #1777
** ncplane_pixelgeom -> ncplane_pixel_geom() #1777
* ncstyle functions ought return uint16_t #1777 #2200
* ncvisualplane_create: provide new pile functionality #1462
* [heuristics] GNU screen 4x never has rgb
* [BitmapSmoothMove] only WARN in test until sixel supports this #2258
* contour: enable sextants
* interp PoC: clean up ncvisual #2266
* ncselector_options: constify string arguments
* Constify strings in selector/mselector_items
 Use internal types to track items within the
 selector/mselector widgets, rather than pressing the
 user-provided item structs into double-duty. With this
 change, we can constify the strings within those
 user-provided items. Do so, also removing the internal-side
 elements. Update documentation. Closes #2267.
* constify ncmenu_item/_section strings
* constify strings in nctabbed_options
* notcurses-demo FPS graph: back to straight seconds
* remove unused wchar_from_utf8()
* nstrwidth_valid(): properly initialize bytes/width
* [ncneofetch] use GetSystemInfo on Windows
2021-11-09 00:53:30 -05:00
nick black
c20e859a6d [python] API conversions 2021-11-08 21:05:15 -05:00
nick black
d29813457b stylemasks ought always be uint16_t 2021-11-08 21:05:15 -05:00
nick black
91420af5ce eliminate recursion in ncplane_polyfill_yx #2328 2021-11-08 21:05:15 -05:00
nick black
83ff2cfe5a unsigned geometries 2021-11-08 21:05:15 -05:00
nick black
960414d818
[ncvisual_geom] remove redundant/confusing sentence from docs #2321 2021-11-05 00:10:44 -04:00
nick black
3792dd5592 [mergeplane] 0 means remainder #1696 2021-11-04 10:08:26 -04:00
nick black
37f077a653 normalize lenghts for line-drawing functions #1696 2021-11-04 10:08:26 -04:00
nick black
d80884ea48 normalize geometry for ncvisual_from_plane, ncplane_contents, and ncplane_as_rgba() #1696 2021-11-04 10:08:26 -04:00
nick black
2e01c4c217
[ncvisual_blit] improve documentation 2021-11-02 01:17:19 -04:00
nick black
17b06b1180 [ncvgeom] add begy/begx and leny/lenx to ncvgeom 2021-11-01 21:57:05 -04:00
nick black
a0b34f7062 [core] introduce ncvisual_geom(), replacing ncvisual_blitter_geom() #1684 2021-11-01 21:57:05 -04:00
nick black
935e96a3bc [stats] add hpa_gratuitous stat #2199 2021-10-28 06:42:19 -04:00