badger: add dgraph vendor icon

This commit is contained in:
mappu 2024-06-23 16:29:00 +12:00
parent 43002a9fde
commit d7c2282335
3 changed files with 3 additions and 1 deletions

BIN
assets/vendor_dgraph.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 B

View File

@ -21,6 +21,7 @@ const (
imgTableAdd
imgTableDelete
imgTableSave
imgVendorDgraph
imgVendorGithub
imgVendorMySQL
imgVendorRedis
@ -55,6 +56,7 @@ func loadImages(owner vcl.IComponent) *vcl.TImageList {
ilist.Add(mustLoad("assets/table_add.png"), nil)
ilist.Add(mustLoad("assets/table_delete.png"), nil)
ilist.Add(mustLoad("assets/table_save.png"), nil)
ilist.Add(mustLoad("assets/vendor_dgraph.png"), nil)
ilist.Add(mustLoad("assets/vendor_github.png"), nil)
ilist.Add(mustLoad("assets/vendor_mysql.png"), nil)
ilist.Add(mustLoad("assets/vendor_redis.png"), nil)

View File

@ -48,7 +48,7 @@ func (f *TMainForm) OnFormCreate(sender vcl.IObject) {
mnuFileBadger := vcl.NewMenuItem(mnuFile)
mnuFileBadger.SetCaption("Badger")
mnuFileBadger.SetImageIndex(imgVendorGithub)
mnuFileBadger.SetImageIndex(imgVendorDgraph)
mnuFile.Add(mnuFileBadger)
mnuFileBadgerOpen := vcl.NewMenuItem(mnuFileBadger)