mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Add transparent background support to PDCURSES_WINCON build.
This commit is contained in:
parent
d77bf3c833
commit
9fb2c6412d
@ -75,7 +75,7 @@ using namespace cursespp;
|
||||
|
||||
#define ENABLE_COLOR_THEME_SELECTION
|
||||
|
||||
#ifndef WIN32
|
||||
#if !defined(WIN32) || defined(PDCURSES_WINCON)
|
||||
#define ENABLE_UNIX_TERMINAL_OPTIONS
|
||||
#endif
|
||||
|
||||
|
@ -369,7 +369,7 @@ struct Theme {
|
||||
/* initializes all of the color pairs from the specified colors, then applies them
|
||||
to the current session! */
|
||||
void Apply(Colors::Mode mode, Colors::BgType bgType) {
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(PDCURSES_WINCON)
|
||||
bgType = Colors::Theme;
|
||||
#endif
|
||||
bool transparent = (bgType == Colors::BgType::Inherit);
|
||||
|
Loading…
Reference in New Issue
Block a user