mirror of
https://gitee.com/energye/energy.git
synced 2024-11-29 18:28:06 +08:00
U: TBufferPanel
This commit is contained in:
parent
0cc3ed3fda
commit
e55b8bce84
@ -601,7 +601,7 @@ func (m *TBufferPanel) SetCanvas(value *lcl.TCanvas) {
|
||||
// SetOnPaint
|
||||
//
|
||||
// 设置绘画事件。
|
||||
func (m *TBufferPanel) SetOnPaint(fn TNotifyEvent) {
|
||||
func (m *TBufferPanel) SetOnPaint(fn lcl.TNotifyEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnPaint, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
||||
@ -1097,7 +1097,7 @@ func (m *TBufferPanel) SetOnAlignPosition(fn lcl.TAlignPositionEvent) {
|
||||
// 设置控件单击事件。
|
||||
//
|
||||
// Set control click event.
|
||||
func (m *TBufferPanel) SetOnClick(fn TNotifyEvent) {
|
||||
func (m *TBufferPanel) SetOnClick(fn lcl.TNotifyEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnClick, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
||||
@ -1117,7 +1117,7 @@ func (m *TBufferPanel) SetOnDockDrop(fn lcl.TDockDropEvent) {
|
||||
// SetOnDblClick
|
||||
//
|
||||
// 设置双击事件。
|
||||
func (m *TBufferPanel) SetOnDblClick(fn TNotifyEvent) {
|
||||
func (m *TBufferPanel) SetOnDblClick(fn lcl.TNotifyEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnDblClick, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
||||
|
13
cef/buffer-panel_other.go
Normal file
13
cef/buffer-panel_other.go
Normal file
@ -0,0 +1,13 @@
|
||||
//----------------------------------------
|
||||
//
|
||||
// Copyright © yanghy. All Rights Reserved.
|
||||
//
|
||||
// Licensed under Apache License Version 2.0, January 2004
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
//----------------------------------------
|
||||
|
||||
// CEF TBufferPanel
|
||||
|
||||
package cef
|
13
cef/buffer-panel_windows.go
Normal file
13
cef/buffer-panel_windows.go
Normal file
@ -0,0 +1,13 @@
|
||||
//----------------------------------------
|
||||
//
|
||||
// Copyright © yanghy. All Rights Reserved.
|
||||
//
|
||||
// Licensed under Apache License Version 2.0, January 2004
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
//----------------------------------------
|
||||
|
||||
// CEF TBufferPanel
|
||||
|
||||
package cef
|
Loading…
Reference in New Issue
Block a user