mirror of
https://gitee.com/energye/energy.git
synced 2024-12-09 15:18:15 +08:00
A: GIFPlay component
This commit is contained in:
parent
ff586fa229
commit
4134985a55
@ -2731,6 +2731,41 @@ func init() {
|
||||
dllimports.NewEnergyImport("BoxLayoutRef_UnWrap", 0),
|
||||
dllimports.NewEnergyImport("BoxLayout_SetFlexForView", 0),
|
||||
dllimports.NewEnergyImport("BoxLayout_ClearFlexForView", 0),
|
||||
// TGIFPlay
|
||||
dllimports.NewEnergyImport("GIFPlay_Create", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetParent", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_Free", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetColor", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_Dragging", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_Animate", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_NextFrame", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_PriorFrame", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_Empty", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_CurrentImageIndex", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_LoadFromFile", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_LoadFromStream", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_GetLeft", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetLeft", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_GetTop", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetTop", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_GetWidth", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetWidth", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_GetHeight", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetHeight", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetBounds", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_Update", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetAlign", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetAnchors", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetAutoSize", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetVisible", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnClick", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnFrameChanged", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnDblClick", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnMouseDown", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnMouseEnter", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnMouseLeave", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnMouseMove", 0),
|
||||
dllimports.NewEnergyImport("GIFPlay_SetOnMouseUp", 0),
|
||||
} //end
|
||||
imports.LibEnergy().SetImportTable(energyImportDefs)
|
||||
}
|
||||
|
@ -2731,4 +2731,39 @@ const (
|
||||
BoxLayoutRef_UnWrap
|
||||
BoxLayout_SetFlexForView
|
||||
BoxLayout_ClearFlexForView
|
||||
// TGIFPlay
|
||||
GIFPlay_Create
|
||||
GIFPlay_SetParent
|
||||
GIFPlay_Free
|
||||
GIFPlay_SetColor
|
||||
GIFPlay_Dragging
|
||||
GIFPlay_Animate
|
||||
GIFPlay_NextFrame
|
||||
GIFPlay_PriorFrame
|
||||
GIFPlay_Empty
|
||||
GIFPlay_CurrentImageIndex
|
||||
GIFPlay_LoadFromFile
|
||||
GIFPlay_LoadFromStream
|
||||
GIFPlay_GetLeft
|
||||
GIFPlay_SetLeft
|
||||
GIFPlay_GetTop
|
||||
GIFPlay_SetTop
|
||||
GIFPlay_GetWidth
|
||||
GIFPlay_SetWidth
|
||||
GIFPlay_GetHeight
|
||||
GIFPlay_SetHeight
|
||||
GIFPlay_SetBounds
|
||||
GIFPlay_Update
|
||||
GIFPlay_SetAlign
|
||||
GIFPlay_SetAnchors
|
||||
GIFPlay_SetAutoSize
|
||||
GIFPlay_SetVisible
|
||||
GIFPlay_SetOnClick
|
||||
GIFPlay_SetOnFrameChanged
|
||||
GIFPlay_SetOnDblClick
|
||||
GIFPlay_SetOnMouseDown
|
||||
GIFPlay_SetOnMouseEnter
|
||||
GIFPlay_SetOnMouseLeave
|
||||
GIFPlay_SetOnMouseMove
|
||||
GIFPlay_SetOnMouseUp
|
||||
) //end
|
||||
|
Loading…
Reference in New Issue
Block a user