Add dark style detection support for GL backend

With the help of dark-light crate this is now exposed as dark-style
boolean property in NativeStyleMetrics.

Co-authored-by: Olivier Goffart <olivier@slint-ui.com>
Co-authored-by: Simon Hausmann <simon.hausmann@slint-ui.com>
This commit is contained in:
n-raine 2022-02-24 01:27:25 -08:00 committed by Simon Hausmann
parent 5e95f767ac
commit beda5aca07
12 changed files with 215 additions and 23 deletions

View file

@ -27,6 +27,7 @@ struct ItemVTable;
#include "slint_internal.h"
#include "slint_backend_internal.h"
#include "slint_qt_internal.h"
#include "slint_selector_internal.h"
/// \rst
/// The :code:`slint` namespace is the primary entry point into the Slint C++ API.