9 Star 109 Fork 23

子安/FireShotGo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
resources.go 1.70 KB
一键复制 编辑 原始数据 按行查看 历史
子安 提交于 2021-09-28 00:31 +08:00 . 添加直线绘制功能
package resources
// This file embeds all the resources used by the program.
//
// colorwheel.svg was copied and modified from wikimedia: "No machine-readable author provided.
// MarianSigler assumed (based on copyright claims)., Public domain, via Wikimedia Commons"
import (
_ "embed"
"fyne.io/fyne/v2"
)
//go:embed reset.png
var embedReset []byte
var Reset = fyne.NewStaticResource("reset", embedReset)
//go:embed crop_top_left.png
var embedCropTopLeft []byte
var CropTopLeft = fyne.NewStaticResource("", embedCropTopLeft)
//go:embed crop_bottom_right.png
var embedCropBottomRight []byte
var CropBottomRight = fyne.NewStaticResource("", embedCropBottomRight)
//go:embed draw_circle.png
var embedDrawCircle []byte
var DrawCircle = fyne.NewStaticResource("", embedDrawCircle)
//go:embed draw_arrow.png
var embedDrawArrow []byte
var DrawArrow = fyne.NewStaticResource("", embedDrawArrow)
//go:embed draw-line.png
var embedDrawLine []byte
var DrawLine = fyne.NewStaticResource("", embedDrawLine)
//go:embed draw_text.png
var embedDrawText []byte
var DrawText = fyne.NewStaticResource("", embedDrawText)
//go:embed thickness.png
var embedThickness []byte
var Thickness = fyne.NewStaticResource("Thickness", embedThickness)
//go:embed colors.png
var embedColors []byte
var Colors = fyne.NewStaticResource("Colors", embedColors)
//go:embed colorwheel.png
var embedColorWheel []byte
var ColorWheel = fyne.NewStaticResource("ColorWheel", embedColorWheel)
//go:embed goshot_icon.png
var embedGoShotIconPng []byte
var GoShotIconPng = fyne.NewStaticResource("GoShotIconPng", embedGoShotIconPng)
//go:embed goshot_icon.ico
var embedGoShotIconIco []byte
var GoShotIconIco = fyne.NewStaticResource("GoShotIconIco", embedGoShotIconIco)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/andrewgithub/FireShotGo.git
git@gitee.com:andrewgithub/FireShotGo.git
andrewgithub
FireShotGo
FireShotGo
v1.0.2

搜索帮助