A: GIFPlay component

This commit is contained in:
杨红岩 2024-04-17 18:23:47 +08:00
parent ff586fa229
commit 4134985a55
2 changed files with 70 additions and 0 deletions

View File

@ -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)
}

View File

@ -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