feat: add shadow on linux
This commit is contained in:
parent
4f92555399
commit
02adf7104d
@ -59,7 +59,12 @@ static void my_application_activate(GApplication* application) {
|
||||
|
||||
FlView* view = fl_view_new(project);
|
||||
gtk_widget_show(GTK_WIDGET(view));
|
||||
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
|
||||
|
||||
auto border_frame = gtk_frame_new(nullptr);
|
||||
gtk_frame_set_shadow_type(GTK_FRAME(border_frame), GTK_SHADOW_ETCHED_IN);
|
||||
gtk_container_add(GTK_CONTAINER(border_frame), GTK_WIDGET(view));
|
||||
gtk_widget_show(GTK_WIDGET(border_frame));
|
||||
gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(border_frame));
|
||||
|
||||
fl_register_plugins(FL_PLUGIN_REGISTRY(view));
|
||||
|
||||
|
@ -64,7 +64,7 @@ dependencies:
|
||||
desktop_multi_window:
|
||||
git:
|
||||
url: https://github.com/Kingtous/rustdesk_desktop_multi_window
|
||||
ref: fee851fa43116e0b91c39acd0ec37063dc6015f8
|
||||
ref: 1818097611168f6148317f4c527aa45ff29d5850
|
||||
freezed_annotation: ^2.0.3
|
||||
tray_manager:
|
||||
git:
|
||||
|
Loading…
x
Reference in New Issue
Block a user