Marek Habersack
3e78dd7d1f
[C++] API sync
...
New classes:
* MultiSelector (`ncmultiselector_*`)
Added:
* Direct: cursor_{enable,disable}
* Plane: high_gradient (`ncplane_highgradient`)
* Plane: high_gradient_sized (`ncplane_highgradient_sized`)
* Plane: rotate_cw (`ncplane_rotate_cw`)
* Plane: rotate_ccw (`ncplane_rotate_ccw`)
Updated:
* NotCurses: added all the margin initializers to the default options
5 years ago
nick black
ba90c70a47
ncplane_cursor_yx() takes const first argument
5 years ago
nick black
bdd7f9422a
python: add ncdirect_cursor_*()
5 years ago
nick black
db30bcf0d2
document new ncdirect functions for cursor #402
5 years ago
nick black
1b4333861a
add ncdirect_{en,dis}able_cursor() #402
5 years ago
nick black
d5d827f38e
adjust ncplane_yx() for margins
5 years ago
Nick Black
c056a0a026
Subregion renders #293 ( #404 )
...
Add four new fields to notcurses_options: margin_{tblr}, which requests margins to the top, right, bottom, and left. Render only within those margins, leaving the screen otherwise untouched (well, cleared if using the alternate screen). #293
5 years ago
nick black
982d729c69
switch to CLOCK_MONOTONIC from _RAW
5 years ago
nick black
d77aa78a0e
s/CLOCK_MONOTONIC_RAW/CLOCK_MONOTONIC/g
5 years ago
nick black
de520f3aa0
python avoid double def
5 years ago
nick black
be089747a7
ncmultiselector_selected() #322
5 years ago
nick black
638be8feb7
multiselector options/items #322
5 years ago
nick black
2dd97de4e4
multiselector man page
5 years ago
nick black
a46393b035
ncmultiselect: get space rigged up #322
5 years ago
nick black
4abe078eae
ncmultiselector #322
5 years ago
nick black
667ac14549
ncmultiselector: draw properly
5 years ago
nick black
a9c64a8c8b
yummy covid-19
5 years ago
nick black
078feca8e6
ncmultiselector links up
5 years ago
nick black
635d6e5751
ncmultiselect demo
5 years ago
nick black
6060248968
ncmultiselector_options structure #322
5 years ago
nick black
583906368c
add internal safe home_cursor()
5 years ago
nick black
eead4c1414
notcurses_highgradient() added #398
5 years ago
nick black
d7ea87e129
notcurses_refresh(): properly initialize rvec #380
5 years ago
nick black
83b325de05
notcurses_refresh(): drop double write #380
5 years ago
nick black
e1b729c6a3
Kill warn_unused_result warning in reel demo
5 years ago
nick black
a5bdb88ca9
update libnotcurses symbols
5 years ago
nick black
d44759fd25
kill compiler warning on write(2)
5 years ago
nick black
ac683e21d2
v1.2.3
5 years ago
nick black
e2459ac1a4
purge old rotate implementation #351
5 years ago
Nick Black
4e58747709
ncplane_rotate_cw() and ncplane_rotate_ccw() ( #396 )
...
Introduce limited plane rotation capability. We currently support clockwise and counterclockwise rotation of planes. Square and rectangular geometries are both supported, but there must be an even number of columns. The atomic unit of rotation is a 2x1 "square" (this assumes .5 cell aspect ratio). We can only rotate those glyphs which have rotated equivalents, and not even all of those. We currently handle only:
* null glyph
* space
* upper half block
* lower half block
* full block
I've added unit tests as well. This functionality is used by our Tetris example in the book
5 years ago
nick black
333f7c1192
define ncplane_rotate_cw/ccw()
5 years ago
nick black
b8608c15c9
ncdirect_init(): reset style #393
5 years ago
nick black
c355e26d0f
add zalgo poc
5 years ago
nick black
696873894e
ncmenu_offer_input: return true on match
5 years ago
nick black
163565dddd
handle_mouse(): drop unused variables
5 years ago
nick black
afe724ee1d
docs: update for ncplane_translate_abs()
5 years ago
nick black
3498956370
ncplane_mouseevent_p()->ncplane_translate_abs()
...
ncplane_mouseevent_p() is retired--it was poorly named, and
ncplane_translate_abs() does what it does, plus more, plus
more generally (it works on any y, x, not necessarily an
ncinput). update c++ wrappers #394 .
5 years ago
nick black
6966632821
demo: hook up menu mouse support #309
5 years ago
nick black
6690bc6bb9
Unroll/roll up menus based on mouse #306
5 years ago
nick black
c6a3f93691
ncmenu: check mouse clicks for presence #306
5 years ago
nick black
a325a6d4b0
remove unnecessary c++ Visual() error check #378
5 years ago
nick black
e7d0ce72dd
view: catch exception on Visual constructor #378
5 years ago
nick black
5a8107b788
ncdirect: preserve colors on sgr #391
5 years ago
nick black
bb579d0d05
notcurses_directmode()->ncdirect_init()
5 years ago
nick black
314eba5530
reel: don't quit on NCKEY_RESIZE #390
5 years ago
nick black
c0f25b2ba0
Fix up reel-demo input issues #390
5 years ago
nick black
3db9397df4
Merge branch 'master' of github.com:dankamongmen/notcurses
5 years ago
nick black
43a8fcf195
augh! fix hidden alignment problem
5 years ago
nick black
c6f27f1bee
notcurses_resize() update docs #367
5 years ago
nick black
e679816731
demo: set up input eventfd #390
...
When we process input in the demo, write a packet to an
eventfd we set up in input_dispatcher(). This way,
demo components can poll() on that. #390
5 years ago