s/USE_MULTIMEDIA/NOTCURSES_USE_MULTIMEDIA/g #1054

pull/1060/head
nick black 4 years ago
parent 8c9611d085
commit b809d5c7c5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -490,7 +490,7 @@ summary_table(struct ncdirect* nc, const char* spec){
ncdirect_fg_rgb8(nc, 0xfe, 0x20, 0x76); // PANTONE Strong Red C + 3x0x20
fflush(stdout); // in case we print to stderr below, we want color from above
fprintf(stderr, "\nDFSG version. Some demos are unavailable.\n");
#elif !defined(USE_MULTIMEDIA) // don't double-print for DFSG
#elif !defined(NOTCURSES_USE_MULTIMEDIA) // don't double-print for DFSG
ncdirect_fg_rgb8(nc, 0xfe, 0x20, 0x76); // PANTONE Strong Red C + 3x0x20
fflush(stdout); // in case we print to stderr below, we want color from above
fprintf(stderr, "\nNo multimedia support. Some demos are unavailable.\n");

@ -175,7 +175,7 @@ int fallin_demo(struct notcurses* nc){
}
}
ncplane_erase(stdn);
#ifdef USE_MULTIMEDIA
#ifdef NOTCURSES_USE_MULTIMEDIA
#ifndef DFSG_BUILD
char* path = find_data("lamepatents.jpg");
struct ncvisual* ncv = ncvisual_from_file(path);

@ -11,7 +11,7 @@ TEST_CASE("Visual") {
auto n_ = notcurses_stdplane(nc_);
REQUIRE(n_);
#ifndef USE_MULTIMEDIA
#ifndef NOTCURSES_USE_MULTIMEDIA
SUBCASE("VisualDisabled"){
REQUIRE(!notcurses_canopen_images(nc_));
REQUIRE(!notcurses_canopen_videos(nc_));

@ -10,6 +10,6 @@
#cmakedefine USE_OIIO
// set if either USE_FFMPEG || USE_OIIO
#if defined(USE_FFMPEG) || defined(USE_OIIO)
#define USE_MULTIMEDIA
#define NOTCURSES_USE_MULTIMEDIA
#endif
#define NOTCURSES_SHARE "@CMAKE_INSTALL_FULL_DATADIR@/notcurses"

Loading…
Cancel
Save