mirror of
https://gitee.com/energye/energy.git
synced 2024-11-30 18:57:39 +08:00
31 lines
560 B
Go
31 lines
560 B
Go
//----------------------------------------
|
|
//
|
|
// Copyright © yanghy. All Rights Reserved.
|
|
//
|
|
// Licensed under GNU General Public License v3.0
|
|
//
|
|
//----------------------------------------
|
|
|
|
//go:build !windows
|
|
// +build !windows
|
|
|
|
package cef
|
|
|
|
import "github.com/energye/golcl/lcl/types"
|
|
|
|
//显示标题栏
|
|
func (m *LCLBrowserWindow) ShowTitle() {
|
|
if m.TForm == nil {
|
|
return
|
|
}
|
|
m.TForm.SetBorderStyle(types.BsSizeable)
|
|
}
|
|
|
|
//隐藏标题栏
|
|
func (m *LCLBrowserWindow) HideTitle() {
|
|
if m.TForm == nil {
|
|
return
|
|
}
|
|
m.TForm.SetBorderStyle(types.BsSingle)
|
|
}
|