images: add more images

This commit is contained in:
mappu 2024-06-15 11:42:13 +12:00
parent 038eb44f48
commit 1035086ed4
4 changed files with 14 additions and 8 deletions

BIN
assets/chart_bar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

BIN
assets/lightning.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

View File

@ -10,14 +10,17 @@ import (
var assetsFs embed.FS
const (
imgDatabase = 0
imgDatabaseAdd = 1
imgDatabaseDelete = 2
imgDatabaseSave = 3
imgTable = 4
imgTableAdd = 5
imgTableDelete = 6
imgTableSave = 7
imgChartBar int32 = iota
imgDatabase
imgDatabaseAdd
imgDatabaseDelete
imgDatabaseLightning
imgDatabaseSave
imgLightning
imgTable
imgTableAdd
imgTableDelete
imgTableSave
)
func loadImages(owner vcl.IComponent) *vcl.TImageList {
@ -37,10 +40,13 @@ func loadImages(owner vcl.IComponent) *vcl.TImageList {
}
ilist := vcl.NewImageList(owner)
ilist.Add(mustLoad("assets/chart_bar.png"), nil)
ilist.Add(mustLoad("assets/database.png"), nil)
ilist.Add(mustLoad("assets/database_add.png"), nil)
ilist.Add(mustLoad("assets/database_delete.png"), nil)
ilist.Add(mustLoad("assets/database_lightning.png"), nil)
ilist.Add(mustLoad("assets/database_save.png"), nil)
ilist.Add(mustLoad("assets/lightning.png"), nil)
ilist.Add(mustLoad("assets/table.png"), nil)
ilist.Add(mustLoad("assets/table_add.png"), nil)
ilist.Add(mustLoad("assets/table_delete.png"), nil)