mirror of
https://gitee.com/energye/energy.git
synced 2024-11-29 18:28:06 +08:00
U: OSR event
This commit is contained in:
parent
3114f87432
commit
e417189035
@ -1218,14 +1218,14 @@ func (m *TBufferPanel) SetOnMouseMove(fn lcl.TMouseMoveEvent) {
|
||||
// 设置鼠标抬起事件。
|
||||
//
|
||||
// Set Mouse lift event.
|
||||
func (m *TBufferPanel) SetOnMouseUp(fn TMouseEvent) {
|
||||
func (m *TBufferPanel) SetOnMouseUp(fn lcl.TMouseEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnMouseUp, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
||||
// SetOnResize
|
||||
//
|
||||
// 设置大小被改变事件。
|
||||
func (m *TBufferPanel) SetOnResize(fn TNotifyEvent) {
|
||||
func (m *TBufferPanel) SetOnResize(fn lcl.TNotifyEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnResize, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
||||
@ -1875,3 +1875,7 @@ func (m *TBufferPanel) OrigPopupScanlineSize() int32 {
|
||||
func (m *TBufferPanel) SetOnPaintParentBkg(fn lcl.TNotifyEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnPaintParentBkg, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
||||
func (m *TBufferPanel) SetOnMouseWheel(fn lcl.TMouseWheelEvent) {
|
||||
imports.SysCallN(def.BufferPanel_SetOnMouseWheel, m.Instance(), api.MakeEventDataPtr(fn))
|
||||
}
|
||||
|
@ -2207,6 +2207,7 @@ const (
|
||||
BufferPanel_SetOnPointerUp
|
||||
BufferPanel_SetOnPointerUpdate
|
||||
BufferPanel_SetOnPaintParentBkg
|
||||
BufferPanel_SetOnMouseWheel
|
||||
// TString
|
||||
TString_Create
|
||||
TString_Free
|
||||
|
@ -2207,6 +2207,7 @@ func init() {
|
||||
dllimports.NewEnergyImport("BufferPanel_SetOnPointerUp", 0),
|
||||
dllimports.NewEnergyImport("BufferPanel_SetOnPointerUpdate", 0),
|
||||
dllimports.NewEnergyImport("BufferPanel_SetOnPaintParentBkg", 0),
|
||||
dllimports.NewEnergyImport("BufferPanel_SetOnMouseWheel", 0),
|
||||
// TString
|
||||
dllimports.NewEnergyImport("TString_Create", 0),
|
||||
dllimports.NewEnergyImport("TString_Free", 0),
|
||||
|
Loading…
Reference in New Issue
Block a user