Commit Graph

840 Commits (afe724ee1da00edf1144b7cc3589d3c228b66a52)

Author SHA1 Message Date
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 43a8fcf195 augh! fix hidden alignment problem 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
nick black e6bbcd2e70
Selector: properly place scroll arrows #388
When the selector body was being sized by the header
or footer (as opposed to option+desc length), our scroll
arrows are misplaced. They now land properly. Mouse
clicks are properly placed now, and screenshots have been
updated in the guide.
5 years ago
nick black c87a9ed5dd
Gradients: set alpha, better prechecks #389
Gradients can't use palette-indexed color, so don't allow it
in either the foreground or background of any channels. All
channels must have the same alpha setting, which will be matched
in the gradient. #389
5 years ago
nick black 1030409096
move fill/stain routines into fill.c 5 years ago
nick black 5d8da395b9
demo: Fix JSON output for multiple runs #387 5 years ago
nick black 0dc5456035
Emit JSON on -J arg to demo #387
Accept -J as a parameter requiring an option to notcurses-demo(1).
Update the man page and usage message to reflect this. Open the
specified file for binary writing with truncation at option parsing
time; fail out if we can't open it. At the end of the demo, write
the results out as JSON, using full precision for all values #387.
5 years ago
nick black 87cac84db2
remove obsolete FIXME 5 years ago
nick black b7a028569c
gradient: support default/palette #376 5 years ago
nick black 5b4c6c14e3
gradient: implement + test 1d fills 5 years ago
nick black b6438e415d
poc/geom: three new stupid unicode tricks 5 years ago
nick black 2c98013150
python: fix up seqnum reference 5 years ago
nick black 519f77dd7f
notcurses_refresh: resynthesize unoptimized stream #380 5 years ago
nick black fddff356a4
ncdirect_clear(): don't deref null clear 5 years ago
nick black a09bdc4ade
Add seqnum field to ncinput #374 5 years ago
nick black a626178b16
ncdirect: cursor movement / geom detection #382 5 years ago
nick black 91f59b763d
don't deadlock in demo when cancelled 5 years ago
nick black 0e3be34d2c demo: hook up Ctrl+L to refresh #379 5 years ago
nick black 9db4bdd599 ncselector: move to mouse press #305 5 years ago
nick black 2b0efddb27 poc/menu: make menu items visible 5 years ago
nick black 773b85e81e poc/menu: kill brown-bagger, add backgrounds #383 5 years ago
nick black c9a0964034 menu: check for mousepress #306 5 years ago
nick black bdd0917ea4
selector: transparent where we aren't 5 years ago
nick black 5980c9ae66
sliders: always an even width, for centering 2-digit IDs 5 years ago
nick black 9206329ea7
uniblock: annihilate RTL glitches, finally #259 5 years ago
nick black 78595399a1
demo: properly color vertbar in summary line 5 years ago
nick black 339185dd6f
demo: handle_input() deadline check #377 5 years ago
nick black 58b67a56af
demo: still show elapsed time when aborting 5 years ago
nick black a88683fe3c
sliders: stainable numbers 5 years ago
nick black a9298e89e3
selector: scroll with mouse #305 5 years ago
nick black 9b0603bb32
Implement + test ncplane_mouseevent_p() #305 5 years ago
nick black c02e6311c7
sliders: use notcurses_stddim_yx() 5 years ago
nick black f452583094
DFSG build: don't try to load lamepatents.gif 5 years ago
Nick Black 745e742a12
Fix gradient engine #368 (#372)
Simplify and correct the gradient engine, resolving all test breakage.
5 years ago
nick black 3f6b9c3c62
input: interpret ht as tab 5 years ago
nick black c8068cb72d
render: don't need to double convert 0->0x20 5 years ago
nick black 5e38da9ea3
implement ncplane_stain() #347 5 years ago
nick black 002e8be574
implement ncplane_format() #347 5 years ago
nick black 2780734efd
add ncplane_translate() 5 years ago
nick black 126145e417
demo: convert to new notcurses_stddim_yx() where appropriate #365 5 years ago