feat: add customed titlebar

This commit is contained in:
Kingtous 2022-05-29 19:55:50 +08:00
parent 708801bdf6
commit 7b3bbdf964
9 changed files with 296 additions and 170 deletions

View file

@ -4,7 +4,9 @@
#include "flutter_window.h"
#include "utils.h"
#include <bitsdojo_window_windows/bitsdojo_window_plugin.h>
auto bdw = bitsdojo_window_configure(BDW_CUSTOM_FRAME | BDW_HIDE_ON_STARTUP);
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
// Attach to console when present (e.g., 'flutter run') or create a