From 6b09aa9e91171e80d62eb80979a699c29cc50156 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao Date: Sun, 2 Jul 2023 11:56:21 +0800 Subject: [PATCH] bump version to 2.4.0 --- CMakeLists.txt | 2 +- README.md | 4 ++++ qmake/inc/core/framelesshelper.version | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ffaf928..284978d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ cmake_minimum_required(VERSION 3.20) project(FramelessHelper - VERSION "2.3.7" + VERSION "2.4.0" DESCRIPTION "Cross-platform window customization framework for Qt Widgets and Qt Quick." HOMEPAGE_URL "https://github.com/wangwenx190/framelesshelper/" ) diff --git a/README.md b/README.md index 72e1fce..0241118 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ You can join our [Discord channel](https://discord.gg/grrM4Tmesy) to communicate - Widgets: Nested frameless windows are supported now! - Linux: There have been many improvements to the Linux/X11 implementation! Most of them won't be directly visible to the user, but the code quality has been greatly improved. - macOS: The frameless windows will now use native window frame and buttons, only the title bar itself is hidden, which also means the window will have round corners as all other native windows on macOS. +- Mica Material: It is now possible to load wallpaper images with very large file size or resolution, for example, 4K pictures. However, if the images have larger resolution than 1920x1080, they will be shrinked to reduce memory usage, and this process will also lower the image quality and break the aspect ratio of them. +- Window management: It is now possible to close the window (the dtor is executed) and show it again without breaking the frameless functionalities. +- Theme: It is now possible to force a desired theme instead of always respecting the system theme. +- Build system: The [**Ninja Multi-Config**](https://cmake.org/cmake/help/latest/generator/Ninja%20Multi-Config.html) generator is fully supported now, finally! - Routine bug fixes and internal refactorings. ## Highlights v2.3 diff --git a/qmake/inc/core/framelesshelper.version b/qmake/inc/core/framelesshelper.version index 8c9d2fa..524312d 100644 --- a/qmake/inc/core/framelesshelper.version +++ b/qmake/inc/core/framelesshelper.version @@ -34,10 +34,10 @@ #define _FRAMELESSHELPER_VERSION_DEFINED_ [[maybe_unused]] inline constexpr const int FRAMELESSHELPER_VERSION_MAJOR = 2; -[[maybe_unused]] inline constexpr const int FRAMELESSHELPER_VERSION_MINOR = 3; -[[maybe_unused]] inline constexpr const int FRAMELESSHELPER_VERSION_PATCH = 7; +[[maybe_unused]] inline constexpr const int FRAMELESSHELPER_VERSION_MINOR = 4; +[[maybe_unused]] inline constexpr const int FRAMELESSHELPER_VERSION_PATCH = 0; //[[maybe_unused]] inline constexpr const int FRAMELESSHELPER_VERSION_TWEAK = 0; -[[maybe_unused]] inline constexpr const char FRAMELESSHELPER_VERSION_STR[] = "2.3.7"; +[[maybe_unused]] inline constexpr const char FRAMELESSHELPER_VERSION_STR[] = "2.4.0"; [[maybe_unused]] inline constexpr const char FRAMELESSHELPER_COMMIT_STR[] = "UNKNOWN"; [[maybe_unused]] inline constexpr const char FRAMELESSHELPER_COMPILE_DATETIME_STR[] = "UNKNOWN";