Add HideTitleBar

This commit is contained in:
Lea Anthony
2020-09-21 17:13:23 +10:00
parent 629e8f73f4
commit 4bf59301e5
4 changed files with 20 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ package ffenestri
extern void TitlebarAppearsTransparent(void *);
extern void HideTitle(void *);
extern void HideTitleBar(void *);
*/
import "C"
@@ -16,6 +17,11 @@ func (a *Application) processPlatformSettings() {
C.HideTitle(a.app)
}
// HideTitleBar
if a.config.Mac.HideTitleBar {
C.HideTitleBar(a.app)
}
// if a.config.Mac.TitlebarAppearsTransparent {
// C.TitlebarAppearsTransparent(a.app)
// }