Revert "Add a background brush to the window"

While this does get rid of artifacts, it can also add a brief moment
where the gray background becomes visible when the window reconfigures
which can look jarring.

This reverts commit 35c7138333.
This commit is contained in:
Robbert van der Helm
2021-01-02 19:32:28 +01:00
parent a8a0e325fe
commit 4a7b560972
3 changed files with 0 additions and 9 deletions
-5
View File
@@ -54,11 +54,6 @@ TODO: Add an updated screenshot with some fancy VST3-only plugins to the readme
with, and it then applies the change conditionally to be able to support with, and it then applies the change conditionally to be able to support
building with both older and newer versions of Wine. building with both older and newer versions of Wine.
### Fixed
- Added a background to the editor window to get rid of artifacts that would
occur if the plugin or the host didn't resize the window correctly.
### yabridgectl ### yabridgectl
- Updated for the changes in yabridge 3.0. Yabridgectl now allows you to set up - Updated for the changes in yabridge 3.0. Yabridgectl now allows you to set up
-3
View File
@@ -214,7 +214,6 @@ bitsery_dep = subproject('bitsery', version : '5.2.0').get_variable('bitsery_dep
function2_dep = subproject('function2', version : '4.1.0').get_variable('function2_dep') function2_dep = subproject('function2', version : '4.1.0').get_variable('function2_dep')
threads_dep = dependency('threads') threads_dep = dependency('threads')
tomlplusplus_dep = subproject('tomlplusplus', version : '2.1.0').get_variable('tomlplusplus_dep') tomlplusplus_dep = subproject('tomlplusplus', version : '2.1.0').get_variable('tomlplusplus_dep')
wine_gdi32_dep = declare_dependency(link_args : '-lgdi32')
# The built in threads dependency does not know how to handle winegcc # The built in threads dependency does not know how to handle winegcc
wine_threads_dep = declare_dependency(link_args : '-lpthread') wine_threads_dep = declare_dependency(link_args : '-lpthread')
xcb_dep = dependency('xcb') xcb_dep = dependency('xcb')
@@ -404,7 +403,6 @@ host_64bit_deps = [
bitsery_dep, bitsery_dep,
function2_dep, function2_dep,
tomlplusplus_dep, tomlplusplus_dep,
wine_gdi32_dep,
wine_threads_dep, wine_threads_dep,
xcb_dep, xcb_dep,
] ]
@@ -451,7 +449,6 @@ if with_bitbridge
bitsery_dep, bitsery_dep,
function2_dep, function2_dep,
tomlplusplus_dep, tomlplusplus_dep,
wine_gdi32_dep,
wine_threads_dep, wine_threads_dep,
xcb_32bit_dep, xcb_32bit_dep,
] ]
-1
View File
@@ -682,7 +682,6 @@ ATOM register_window_class(std::string window_class_name) {
window_class.lpfnWndProc = window_proc; window_class.lpfnWndProc = window_proc;
window_class.hInstance = GetModuleHandle(nullptr); window_class.hInstance = GetModuleHandle(nullptr);
window_class.hCursor = LoadCursor(nullptr, IDC_ARROW); window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
window_class.hbrBackground = CreateSolidBrush(RGB(32, 32, 32));
window_class.lpszClassName = window_class_name.c_str(); window_class.lpszClassName = window_class_name.c_str();
return RegisterClassEx(&window_class); return RegisterClassEx(&window_class);