diff options
author | David Robillard <d@drobilla.net> | 2023-01-12 15:30:44 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-14 11:53:28 -0500 |
commit | 1e48f8bbfdb0f1ce2f9132d604405fb72d160d9d (patch) | |
tree | 2fbb2e70f5bf5e7f7e021dafb51dd508944426f2 /include/pugl/pugl.h | |
parent | bd4f79646f623e929e6aa22bea028952b515aeef (diff) | |
download | pugl-1e48f8bbfdb0f1ce2f9132d604405fb72d160d9d.tar.gz pugl-1e48f8bbfdb0f1ce2f9132d604405fb72d160d9d.tar.bz2 pugl-1e48f8bbfdb0f1ce2f9132d604405fb72d160d9d.zip |
Windows: Add PUGL_DARK_FRAME hint
This allows dark applications to visually integrate more nicely in Windows 10.
A little thing, but it really goes a long way to make programs not look out of
place and half-baked.
Diffstat (limited to 'include/pugl/pugl.h')
-rw-r--r-- | include/pugl/pugl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 4427c5a..801ae3c 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -923,10 +923,11 @@ typedef enum { PUGL_IGNORE_KEY_REPEAT, ///< True if key repeat events are ignored PUGL_REFRESH_RATE, ///< Refresh rate in Hz PUGL_VIEW_TYPE, ///< View type (a #PuglViewType) + PUGL_DARK_FRAME, ///< True if window frame should be dark } PuglViewHint; /// The number of #PuglViewHint values -#define PUGL_NUM_VIEW_HINTS ((unsigned)PUGL_VIEW_TYPE + 1U) +#define PUGL_NUM_VIEW_HINTS ((unsigned)PUGL_DARK_FRAME + 1U) /// A special view hint value typedef enum { |