mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-20 21:40:30 -07:00
Draw sync reset actions
This commit is contained in:
parent
d779f65db4
commit
f09de70a30
3 changed files with 53 additions and 35 deletions
|
|
@ -1,10 +1,10 @@
|
|||
package KondoKit
|
||||
|
||||
import KondoKit.Helpers.addMouseListenerToAll
|
||||
import KondoKit.Helpers.formatHtmlLabelText
|
||||
import KondoKit.Helpers.formatNumber
|
||||
import KondoKit.Helpers.getProgressBarColor
|
||||
import KondoKit.Helpers.getSpriteId
|
||||
import KondoKit.Helpers.addMouseListenerToAll
|
||||
import KondoKit.SpriteToBufferedImage.getBufferedImageFromSprite
|
||||
import KondoKit.plugin.Companion.IMAGE_SIZE
|
||||
import KondoKit.plugin.Companion.LVL_ICON
|
||||
|
|
@ -295,14 +295,9 @@ object XPTrackerView {
|
|||
|
||||
// Add menu items to the popup menu
|
||||
popupMenu.add(menuItem1)
|
||||
//popupMenu.add(menuItem2)
|
||||
//popupMenu.add(menuItem3)
|
||||
|
||||
// Add action listeners to each menu item (optional)
|
||||
menuItem1.addActionListener { resetXPTracker(xpTrackerView!!) }
|
||||
//menuItem2.addActionListener { println("Option 2 selected") }
|
||||
//menuItem3.addActionListener { println("Option 3 selected") }
|
||||
|
||||
menuItem1.addActionListener { plugin.registerDrawAction { resetXPTracker(xpTrackerView!!) } }
|
||||
return popupMenu
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue