nick black
132793211c
capabilities testing for fade/ffmpeg
2019-12-27 05:13:29 -05:00
nick black
3544bd86e2
witherworm: don't hide chars below message
2019-12-27 04:33:11 -05:00
nick black
fe0c18d5e4
disable eventfd in panelreel demo for now #196
2019-12-27 03:51:07 -05:00
nick black
bf49db1ae4
FreeBSD: guard all uses of _unlocked #196
2019-12-27 03:46:39 -05:00
nick black
90f750dec8
eagle: remove direct libav calls
2019-12-27 03:35:36 -05:00
nick black
af7cf118a9
HUD: properly initialize backchannel
2019-12-27 03:23:42 -05:00
nick black
09aa606281
FreeBSD: no CLOCK_MONOTONIC_RAW #196
2019-12-27 02:48:13 -05:00
nick black
caf7e41737
need struct AVFrame for sans-libav build
2019-12-27 02:48:13 -05:00
nick black
430a321557
don't import av headers in non-ffmpeg build
2019-12-27 02:48:13 -05:00
nick black
bd034c983a
input: handle modifiers+mouse (alt, shift, ctrl) #226
2019-12-27 02:48:13 -05:00
nick black
1cc100cd2d
UMOK: get endgame working once more
2019-12-27 02:48:13 -05:00
nick black
fb0e03fe89
UMOK: fadecb for faders #162
2019-12-27 02:48:13 -05:00
nick black
a218851acb
sweet-ass stats in HUD #162
2019-12-27 02:48:13 -05:00
nick black
91a00b3400
ULTRAMEGAOK: feed the HUD #162
2019-12-27 02:48:13 -05:00
nick black
9402d7e927
HUD: click on X to close HUD
2019-12-27 02:48:13 -05:00
nick black
ee99eb53c3
HUD: throw a close-X on the hud
2019-12-27 02:48:13 -05:00
nick black
b13da606f6
whiten and shrink HUD
2019-12-27 02:48:13 -05:00
nick black
7f82ac6f16
ULTRAMEGAOK: mouse-moveable HUD #162
2019-12-27 02:48:13 -05:00
nick black
13b376f94f
panelreels: fix logic error at bottom #222
2019-12-25 11:45:42 -05:00
nick black
7906989582
kill obsolete FIXME
2019-12-25 10:45:22 -05:00
nick black
4e841865b3
panelreel-tester: accept offset arguments #180
2019-12-25 10:38:13 -05:00
nick black
770cdf4773
panelreel: plug up hole at the bottom #220
2019-12-25 10:22:07 -05:00
Nick Black
4571b57ece
Rust/FreeBSD ( #221 )
...
* rust bindings
* update release documentation with Rust info
* panelreel tester: accept command-line options#180
* input: char32_t not wchar_t in output
* freebsd compilation issues #196
2019-12-25 10:11:24 -05:00
nick black
4d877603c3
maxcolor: fix direction switch
2019-12-25 06:55:15 -05:00
Nick Black
63ada9289c
Implement CELL_ALPHA_BLEND, improve transparency semantics #191 ( #219 )
...
* channels_blend() introduced
* implement CELL_ALPHA_BLEND #191
* maxcolor demo: slidingpanel
* much improved transparency semantics #191
* maxcolor: show all transparencies #191
2019-12-25 06:36:35 -05:00
nick black
4b6063e1ce
sliders: fix timing
2019-12-25 02:24:10 -05:00
nick black
cb2bf16a73
support building sans ffmpeg #153
2019-12-25 02:24:10 -05:00
nick black
99fb662f59
eagle: speed up eagles on small screens
2019-12-25 00:35:10 -05:00
nick black
8d26803ed8
fix linear interpolation on large geometries #216
2019-12-25 00:12:21 -05:00
nick black
7424b3b78c
grid: fix boundary conditions on large displays
2019-12-24 23:55:48 -05:00
nick black
4ba9845143
grid: better background on last scene
2019-12-24 23:50:21 -05:00
nick black
1554685165
boxdemo: default background cell explicitly #211
2019-12-24 05:44:13 -05:00
nick black
4b953e33f2
render: carry state across renders #203
2019-12-24 05:34:39 -05:00
nick black
e8064f717b
xray: kill subplane when done
2019-12-24 02:13:55 -05:00
nick black
43e0cb3d30
xray: prep for CELL_ALPHA_BLEND #191
2019-12-24 02:04:05 -05:00
nick black
ca5e14cdad
xraydemo: isolate avi/text
2019-12-24 01:17:49 -05:00
nick black
53efe2bd1f
demo-view: don't exit on spurious wakeup
2019-12-24 01:17:26 -05:00
nick black
2601fe9191
demo-input: pass 'q' through in addition to interrupt
2019-12-24 01:17:02 -05:00
nick black
a14ec34d78
intro: blink warning if screen is small
2019-12-24 01:16:45 -05:00
nick black
4e0ebde876
intro: advertise 'q' demo: print full matrix
2019-12-24 00:47:31 -05:00
nick black
9e9e5ef648
demoinput: process 'q' at all times
2019-12-24 00:47:20 -05:00
nick black
1017bf42e0
panelreeldemo: stop advertising 'q'
2019-12-24 00:46:55 -05:00
nick black
17a55261dc
witherworms: allow them more space
2019-12-24 00:46:36 -05:00
nick black
86efad6f67
griddemo: clip rgb values, kill white line on side
2019-12-24 00:46:12 -05:00
nick black
efcfa372ae
ULTRAMEGAOK: toplevel event handler #207
...
enable mouse events in the demo. spawn a thread from main() which
brokers all input events. it will consume mouse events, and
publish keyboard events to a queue. rewrite all demo notcurses_getc()
calls to demo_getc() equivalents.
2019-12-24 00:10:20 -05:00
nick black
452e1d302e
output API enhancements #210 #209
...
Allow -1 in move specification to remain where we are on that
axis (#210 ), necessary for context-sensitive aligned output.
Add _aligned forms to printf and vprintf. Invert various output
functions so that simpler form is static inline wrapper around
more complicated form, rather than complicated form being a
static inline composition, facilitating atomic move+output. All
output forms now have a simple form (no alignment, placement at
cursor), an _aligned() form, and a _yx() form.
2019-12-23 23:12:29 -05:00
nick black
f742676aee
Mouse support using button event tracking #165
...
Request and parse up mouse messages. We handle up to 11 mouse
buttons, 3 modifiers (currently thrown away), motion while
holding down a button, and loss/gain of focus. I've added twelve
new NCKEYs: one for each button, and one for release. In addition,
I've introduced the 'ncinput' struct, which encodes the nckey plus
extra data. The only extra data thus far is coordinates for mouse
events. It is not necessary to provide a ncinput to all input
functions; NULL can be provided if the caller doesn't care about
details. All demos are updated. notcurses-input has been updated
to decode full information of returned ncinputs.
The primary resource for this work was Dickey at al's "XTerm Control
Sequences", https://invisible-island.net/xterm/ctlseqs/ctlseqs.html .
2019-12-23 19:08:12 -05:00
nick black
aceda89261
input: add NCKEY_MOUSEEVENT, match against CSI prefix #165
2019-12-23 19:08:12 -05:00
nick black
b4b4b3684a
yaml
2019-12-23 19:08:12 -05:00
nick black
1555edfa6c
notcurses: disable mouse events on startup/shutdown
2019-12-23 03:38:38 -05:00