Documentation
¶
Overview ¶
背景管理器.
Index ¶
- type BkManager
- func (b *BkManager) AddBorder(nState int, color int, width int) int
- func (b *BkManager) AddFill(nState int, color int) int
- func (b *BkManager) AddImage(nState int, hImage int) int
- func (b *BkManager) AddInfo(pText string) int
- func (b *BkManager) AddRef() int
- func (b *BkManager) Clear() int
- func (b *BkManager) Destroy() int
- func (b *BkManager) Draw(nState int, hDraw int, pRect *xc.RECT) bool
- func (b *BkManager) DrawEx(nState int, hDraw int, pRect *xc.RECT, nStateEx int) bool
- func (b *BkManager) EnableAutoDestroy(bEnable bool) int
- func (b *BkManager) GetCount() int
- func (b *BkManager) GetRefCount() int
- func (b *BkManager) Release() int
- func (b *BkManager) SetBkInfo(pText string) int
- func (b *BkManager) SetHandle(hBkm int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BkManager ¶
type BkManager struct {
Handle int // HBKM.
}
背景管理器.
func NewBkManagerByHandle ¶ added in v1.0.1
从句柄创建对象.
func NewBkManagerByName ¶ added in v1.0.1
从name创建对象, 失败返回nil.
func (*BkManager) DrawEx ¶
背景_绘制扩展, 绘制背景内容, 设置条件.
nState: 组合状态.
hDraw: 图形绘制句柄.
pRect: 区域坐标.
nStateEx: 当(nState)中包含(nStateEx)中的一个或多个状态时有效.
注解: 例如用来绘制列表项时, nState中包含项的状态(nStateEx)才会绘制, 避免列表项与元素背景叠加.
Click to show internal directories.
Click to hide internal directories.