res

package
v0.0.0-...-48d22b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package res 封装了资源操作.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableDelayLoad

func EnableDelayLoad(bEnable bool) int

资源_启用延迟加载, 启用延迟加载; 图片文件, 列表项模板文件.

bEnable: 是否启用.

func GetBkM

func GetBkM(pName string) int

资源_取背景管理器, 从资源中查找背景.

pName: 资源名称.

func GetColor

func GetColor(pName string) int

资源_取颜色, 从资源中查找颜色.

pName: 资源名称.

func GetFont

func GetFont(pName string) int

资源_取字体, 从资源中查找字体.

pName: 资源名称.

func GetIDValue

func GetIDValue(pName string) int

资源_取ID值, 获取资源ID整型值.

pName: 资源ID名称.

func GetImage

func GetImage(pName string) int

资源_取图片, 查找资源图片.

pName: 资源名称.

func GetImageEx

func GetImageEx(pFileName string, pName string) int

资源_取图片扩展, 从指定的资源文件中查找图片.

pFileName: 资源文件名.

pName: 资源名称.

func SetLoadFileCallback

func SetLoadFileCallback(pFun interface{}) int

资源_置文件加载回调, 设置文件加载回调函数.

pFun: 回调函数.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL