badger: add dgraph vendor icon
This commit is contained in:
parent
43002a9fde
commit
d7c2282335
BIN
assets/vendor_dgraph.png
Normal file
BIN
assets/vendor_dgraph.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 948 B |
@ -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)
|
||||
|
2
main.go
2
main.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user