mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-25 05:12:49 +01:00
Reunicon icons from ~/apps/Menu/
This commit is contained in:
@@ -54,7 +54,7 @@ type IconItemInterface interface {
|
||||
|
||||
GetCmdInvoke() PluginInterface
|
||||
|
||||
|
||||
GetFileName() string
|
||||
Draw()
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@ type IconItem struct {
|
||||
Label LabelInterface
|
||||
Align int
|
||||
AnimationTime int
|
||||
FileName string
|
||||
}
|
||||
|
||||
|
||||
@@ -240,6 +241,9 @@ func (self *IconItem) GetCmdInvoke() PluginInterface {
|
||||
return self.CmdInvoke
|
||||
}
|
||||
|
||||
func (self *IconItem) GetFileName() string {
|
||||
return self.FileName
|
||||
}
|
||||
func (self *IconItem) Draw() {
|
||||
if self.Parent == nil {
|
||||
fmt.Println("Error: IconItem Draw Parent nil")
|
||||
|
||||
Reference in New Issue
Block a user