2019-11-17 10:04:41 +00:00
|
|
|
#define notcurses_VERSION_MAJOR "@notcurses_VERSION_MAJOR@"
|
|
|
|
#define notcurses_VERSION_MINOR "@notcurses_VERSION_MINOR@"
|
|
|
|
#define notcurses_VERSION_PATCH "@notcurses_VERSION_PATCH@"
|
2020-02-05 03:49:23 +00:00
|
|
|
#cmakedefine DFSG_BUILD
|
2020-04-21 03:26:41 +00:00
|
|
|
#cmakedefine USE_QRCODEGEN
|
2020-04-23 11:09:54 +00:00
|
|
|
// exclusive with USE_OIIO
|
|
|
|
#cmakedefine USE_FFMPEG
|
|
|
|
// exclusive with USE_FFMPEG
|
|
|
|
#cmakedefine USE_OIIO
|
|
|
|
// set if either USE_FFMPEG || USE_OIIO
|
2020-04-23 11:30:12 +00:00
|
|
|
#if defined(USE_FFMPEG) || defined(USE_OIIO)
|
|
|
|
#define USE_MULTIMEDIA
|
|
|
|
#endif
|
Fully general ncvisual layer (#647)
This represents an essentially complete rewrite of ncvisual and associated code. It had two major goals:
Improve the ncvisual API based off lessons learned, pursuant to the upcoming API freeze. In particular, I wanted to:
decouple ncvisuals from ncplanes. It should be possible to render a ncvisual to multiple planes, with different scaling each time. It should be possible to create an ncvisual without a plane, etc.
normalize the various ways of constructing an ncvisual -- file, memory, plane, etc.
Support multiple blitters, from 7-bit ASCII to Sixel. This required writing the blitters in several cases, and they're not yet in their final implementations (but the API is fine)
I have not yet unified Plots and Visuals, and might not, given that the Plot code works fine. We could at this point implement Plots in terms of Visuals, though -- the blitter backend range has been unified. Sixel is not yet implemented, though it is listed.
There is a new POC tool, blitter. It renders its arguments using all possible blitter+scaling combinations. Another new POC, resize, displays its argument, then resizes it to the screen size and displays that, explicitly making use of ncvisual_resize() rather than a scaling parameter to ncvisual_render().
This also eliminates some memory leaks and bugs we were seeing in trunk, and brings in Sixel scaffolding.
The C++ wrapper will also need patching back up; I cut most of it down while wrestling with this crap, urk.
Closes #638, #562, and #622.
2020-05-29 01:16:58 +00:00
|
|
|
#cmakedefine USE_SIXEL
|
2020-02-23 02:50:48 +00:00
|
|
|
#define NOTCURSES_SHARE "@CMAKE_INSTALL_FULL_DATADIR@/notcurses"
|