79 Star 313 Fork 53

不在乎y/govcl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
imagelistdef.go 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
不在乎y 提交于 2020-03-23 16:07 . Update comments.
//----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
. "github.com/ying32/govcl/vcl/types"
)
func (i *TImageList) Draw(canvas IObject, x, y, index int32, enabled bool) {
ImageList_Draw1(i.instance, CheckPtr(canvas), x, y, index, enabled)
}
func (i *TImageList) Draw2(canvas IObject, x, y, index int32, drawingStyle TDrawingStyle, imageType TImageType, enabled bool) {
ImageList_Draw2(i.instance, CheckPtr(canvas), x, y, index, drawingStyle, imageType, enabled)
}
func (i *TImageList) DrawOverlay(canvas IObject, x, y, imageIndex int32, overlay uint8, enabled bool) {
ImageList_DrawOverlay1(i.instance, CheckPtr(canvas), x, y, imageIndex, overlay, enabled)
}
func (i *TImageList) DrawOverlay2(canvas IObject, x, y, imageIndex int32, overlay uint8, drawingStyle TDrawingStyle, imageType TImageType, enabled bool) {
ImageList_DrawOverlay2(i.instance, CheckPtr(canvas), x, y, imageIndex, overlay, drawingStyle, imageType, enabled)
}
func (i *TImageList) GetIcon(index int32, image IObject) {
ImageList_GetIcon1(i.instance, index, CheckPtr(image))
}
func (i *TImageList) GetIcon2(index int32, image IObject, drawingStyle TDrawingStyle, imageType TImageType) {
ImageList_GetIcon2(i.instance, index, CheckPtr(image), drawingStyle, imageType)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/ying32/govcl.git
git@gitee.com:ying32/govcl.git
ying32
govcl
govcl
v2.0.10

搜索帮助

0d507c66 1850385 C8b1a773 1850385