Skip to content

Commit

Permalink
forward declare stuff for older Win SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Feb 16, 2024
1 parent a388375 commit 2cc87b4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions vstgui/standalone/source/platform/win32/win32window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@
#pragma comment(lib, "Dwmapi.lib")
#pragma comment(lib, "Comctl32.lib")

#if NTDDI_VERSION < 0x0A00000C

#define DWMWA_USE_IMMERSIVE_DARK_MODE 20
#define DWMWA_SYSTEMBACKDROP_TYPE 38
enum DWM_SYSTEMBACKDROP_TYPE
{
DWMSBT_AUTO, // [Default] Let DWM automatically decide the system-drawn backdrop for this window.
DWMSBT_NONE, // Do not draw any system backdrop.
DWMSBT_MAINWINDOW, // Draw the backdrop material effect corresponding to a long-lived window.
DWMSBT_TRANSIENTWINDOW, // Draw the backdrop material effect corresponding to a transient window.
DWMSBT_TABBEDWINDOW, // Draw the backdrop material effect corresponding to a window with a tabbed title bar.
};

#endif

//------------------------------------------------------------------------
namespace VSTGUI {
namespace Standalone {
Expand Down

0 comments on commit 2cc87b4

Please sign in to comment.