炫彩资源类

package
v0.0.0-...-50cf36d Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package res 封装了资源操作.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func X取ID值

func X取ID值(资源ID名称 string) int

ff:取ID值 pName:资源ID名称

func X取图片

func X取图片(资源名称 string) int

ff:取图片 pName:资源名称

func X取图片EX

func X取图片EX(资源文件名 string, 资源名称 string) int

ff:取图片EX pName:资源名称 pFileName:资源文件名

func X取字体

func X取字体(资源名称 string) int

ff:取字体 pName:资源名称

func X取背景管理器

func X取背景管理器(资源名称 string) int

ff:取背景管理器 pName:资源名称

func X取颜色

func X取颜色(资源名称 string) int

ff:取颜色 pName:资源名称

func X启用延迟加载

func X启用延迟加载(是否启用 bool) int

ff:启用延迟加载 bEnable:是否启用

func X置文件加载回调

func X置文件加载回调(回调函数 interface{}) int

ff:置文件加载回调 pFun:回调函数

Types

This section is empty.

Jump to

Keyboard shortcuts

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