7b35510879
Improve phlib UI support by reworking buffered paint reuse to avoid leaking cached GDI objects, preserve and restore DC state, and fall back to transient buffers for nested paints. Add a helper for querying non-client DPI behavior, include the bundled 7-Zip header in third-party declarations, and move the group box subclass cleanup into the Ex initializer so the generic and extended theme paths manage their contexts correctly.
87 lines
2.1 KiB
C
87 lines
2.1 KiB
C
/*
|
|
* Copyright (c) 2022 Winsider Seminars & Solutions, Inc. All rights reserved.
|
|
*
|
|
* This file is part of System Informer.
|
|
*
|
|
* Authors:
|
|
*
|
|
* dmex 2024-2026
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define PCRE2_CODE_UNIT_WIDTH 16
|
|
|
|
#if __has_include("../../tools/thirdparty/pcre/pcre2.h")
|
|
#include "../../tools/thirdparty/pcre/pcre2.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/jsonc/json.h")
|
|
#include "../../tools/thirdparty/jsonc/json.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/mxml/mxml.h")
|
|
#include "../../tools/thirdparty/mxml/mxml.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/detours/detours.h")
|
|
#include "../../tools/thirdparty/detours/detours.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/md5/md5.h")
|
|
#include "../../tools/thirdparty/md5/md5.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/sha/sha.h")
|
|
#include "../../tools/thirdparty/sha/sha.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/sha256/sha256.h")
|
|
#include "../../tools/thirdparty/sha256/sha256.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/winsdk/dia2.h")
|
|
#include "../../tools/thirdparty/winsdk/dia2.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/winsdk/dia3.h")
|
|
#include "../../tools/thirdparty/winsdk/dia3.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/xxhash/xxhashwrapper.h")
|
|
#include "../../tools/thirdparty/xxhash/xxhashwrapper.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/fuzzy/fts_fuzzy_match.h")
|
|
#include "../../tools/thirdparty/fuzzy/fts_fuzzy_match.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|
|
|
|
#if __has_include("../../tools/thirdparty/7zip/si_7zip.h")
|
|
#include "../../tools/thirdparty/7zip/si_7zip.h"
|
|
#else
|
|
#error "ThirdParty.lib is missing"
|
|
#endif
|