images: add more images
This commit is contained in:
parent
038eb44f48
commit
1035086ed4
BIN
assets/chart_bar.png
Normal file
BIN
assets/chart_bar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 541 B |
BIN
assets/database_lightning.png
Normal file
BIN
assets/database_lightning.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 775 B |
BIN
assets/lightning.png
Normal file
BIN
assets/lightning.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 634 B |
22
images.go
22
images.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user