Commit Graph

1564 Commits (e222f213af2917f19ca0f68a822c07f00508a97f)
 

Author SHA1 Message Date
nick black bc3473da8a demo: print unnecessary comma in JSON 4 years ago
Marek Habersack f4b90a3587
Merge pull request #406 from dankamongmen/dankamongmen/ncpp
ncpp: stop() propagate out return value, public linkage
4 years ago
nick black 8312b88e3c NotCurses::stop(): match original semantics 4 years ago
nick black 78fadafb8f notcurses++ needs PUBLIC notcurses linkage 4 years ago
nick black 66bb614ab3 NotCurses::stop(): propogate out notcurses_stop() return value 4 years ago
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
4 years ago
nick black ba90c70a47
ncplane_cursor_yx() takes const first argument 4 years ago
nick black bdd7f9422a
python: add ncdirect_cursor_*() 4 years ago
nick black db30bcf0d2
document new ncdirect functions for cursor #402 4 years ago
nick black 1b4333861a
add ncdirect_{en,dis}able_cursor() #402 4 years ago
nick black d5d827f38e
adjust ncplane_yx() for margins 4 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
4 years ago
nick black 982d729c69 switch to CLOCK_MONOTONIC from _RAW 4 years ago
nick black d77aa78a0e s/CLOCK_MONOTONIC_RAW/CLOCK_MONOTONIC/g 4 years ago
nick black de520f3aa0
python avoid double def 4 years ago
nick black be089747a7 ncmultiselector_selected() #322 4 years ago
nick black 638be8feb7 multiselector options/items #322 4 years ago
nick black 2dd97de4e4 multiselector man page 4 years ago
nick black a46393b035 ncmultiselect: get space rigged up #322 4 years ago
nick black 4abe078eae ncmultiselector #322 4 years ago
nick black 667ac14549 ncmultiselector: draw properly 4 years ago
nick black a9c64a8c8b yummy covid-19 4 years ago
nick black 078feca8e6 ncmultiselector links up 4 years ago
nick black 635d6e5751 ncmultiselect demo 4 years ago
nick black 6060248968 ncmultiselector_options structure #322 4 years ago
nick black 583906368c
add internal safe home_cursor() 4 years ago
nick black eead4c1414
notcurses_highgradient() added #398 4 years ago
nick black d7ea87e129 notcurses_refresh(): properly initialize rvec #380 4 years ago
nick black 83b325de05 notcurses_refresh(): drop double write #380 4 years ago
nick black e1b729c6a3
Kill warn_unused_result warning in reel demo 4 years ago
nick black a5bdb88ca9
update libnotcurses symbols 4 years ago
nick black d44759fd25
kill compiler warning on write(2) 4 years ago
nick black ac683e21d2
v1.2.3 4 years ago
nick black e2459ac1a4
purge old rotate implementation #351 4 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
4 years ago
nick black 333f7c1192
define ncplane_rotate_cw/ccw() 4 years ago
nick black b8608c15c9
ncdirect_init(): reset style #393 4 years ago
nick black c355e26d0f
add zalgo poc 4 years ago
nick black 696873894e
ncmenu_offer_input: return true on match 4 years ago
nick black 163565dddd
handle_mouse(): drop unused variables 4 years ago
nick black afe724ee1d
docs: update for ncplane_translate_abs() 4 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.
4 years ago
nick black 6966632821
demo: hook up menu mouse support #309 4 years ago
nick black 6690bc6bb9
Unroll/roll up menus based on mouse #306 4 years ago
nick black c6a3f93691
ncmenu: check mouse clicks for presence #306 4 years ago
nick black a325a6d4b0
remove unnecessary c++ Visual() error check #378 4 years ago
nick black e7d0ce72dd
view: catch exception on Visual constructor #378 4 years ago
nick black 5a8107b788
ncdirect: preserve colors on sgr #391 4 years ago
nick black bb579d0d05
notcurses_directmode()->ncdirect_init() 4 years ago
nick black 314eba5530
reel: don't quit on NCKEY_RESIZE #390 4 years ago