mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 11:35:56 +00:00
showTitle default to false, change titlebar logo
This commit is contained in:
@@ -24,47 +24,8 @@ class DesktopTitleBar extends StatelessWidget {
|
||||
Expanded(
|
||||
child: child ?? Offstage(),
|
||||
)
|
||||
// const WindowButtons()
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// final buttonColors = WindowButtonColors(
|
||||
// iconNormal: const Color(0xFF805306),
|
||||
// mouseOver: const Color(0xFFF6A00C),
|
||||
// mouseDown: const Color(0xFF805306),
|
||||
// iconMouseOver: const Color(0xFF805306),
|
||||
// iconMouseDown: const Color(0xFFFFD500));
|
||||
//
|
||||
// final closeButtonColors = WindowButtonColors(
|
||||
// mouseOver: const Color(0xFFD32F2F),
|
||||
// mouseDown: const Color(0xFFB71C1C),
|
||||
// iconNormal: const Color(0xFF805306),
|
||||
// iconMouseOver: Colors.white);
|
||||
//
|
||||
// class WindowButtons extends StatelessWidget {
|
||||
// const WindowButtons({Key? key}) : super(key: key);
|
||||
//
|
||||
// @override
|
||||
// Widget build(BuildContext context) {
|
||||
// return Row(
|
||||
// children: [
|
||||
// MinimizeWindowButton(colors: buttonColors, onPressed: () {
|
||||
// windowManager.minimize();
|
||||
// },),
|
||||
// MaximizeWindowButton(colors: buttonColors, onPressed: () async {
|
||||
// if (await windowManager.isMaximized()) {
|
||||
// windowManager.restore();
|
||||
// } else {
|
||||
// windowManager.maximize();
|
||||
// }
|
||||
// },),
|
||||
// CloseWindowButton(colors: closeButtonColors, onPressed: () {
|
||||
// windowManager.close();
|
||||
// },),
|
||||
// ],
|
||||
// );
|
||||
// }
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user