Commit Graph
2758 Commits
Author SHA1 Message Date
Tomas Slusny 16dae0f094 Lower default width of the PanelComponent
Lower default width of PanelComponent to same as the XP tracker, so 129.
Also, change fishing and woodcutting overlays to draw shorter text to
fit in new overlay panel size.
Update opponent info as well because it is using own implementation of
panel component.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny 4e46a7daf4 Use backgroundComponent for drawing border of map
- Add new property fill to background component, if set to false,
background is not drawn, only borders
- Use backgroundComponent for drawing instance map borders

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny cc00631987 Reposition instance map correctly in resizeable
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Tomas Slusny 3bbc18299e Set correct offsets to overlays, smaller panels
- Set correct offsets for overlays based on resizable or fixed mode
- Change PanelComponent inside padding to be slighly smaller

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 17:38:14 +01:00
Dennis de V 9aac22477b Fix ground items nullpointer exception 2018-03-12 08:50:42 -04:00
Adam 1121be0628 Merge pull request #933 from nvisser/xptracker-roundactions
Round actions remaining up
2018-03-12 08:30:15 -04:00
Adam 1856a5f1a1 sessions: decrease session ping frequency 2018-03-12 08:12:10 -04:00
Tomas Slusny 981855a14d Consistent behaviour between ClientUI and InfoPane
- Move method for creation of all buttons from NavigationButton to swing
util
- Correctly update InfoPanel when plugin is started or needs title bar
refresh
- Correctly update ClientUI title bar when custom one is visible

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny d1cbf181e3 Change panel supplier to just getter for panel
As none of the plugins are creating the panels on demand anymore,
supplier for panel is not needed.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny 9a54c75113 Add support for popups to navigation button
- Add support for popup map to navigation button
- Re-add popup to ScreenshotPlugin

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny f1d5c4ef72 Add Discord button through DiscordPlugin
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny 059f92ad6c Make plugins work with new title toolbar
- Change info panel to support new hooks
- Change plugins to use NavigationButton for adding buttons to
titleToolbar

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:36:15 +01:00
Tomas Slusny 381b111b4a Remove the need for custom TitleToolbar component
- Extract title toolbar layout to separate component
- Create new events for adding and removing title toolbar buttons
- Create TitleToolbar through Guice

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 716c052247 Make plugins work with the new PluginToolbar
- Use updated construction for NavigationButton
- Replace ClientUI injections with PluginToolbar injections

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 445c5baf99 Remove need to extend JToolBar in PluginToolbar
- Create PluginToolbar through Guice
- Create separate component class for toolbar layout
- Create custom navigation button component to not depend on swing
- Create new events that are fired on new toolbar button addition and
removal

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 9bcc646d88 Make plugins work with new ClientUI
- Change LinkBrowser to not use ClientUI as parent for message box (not
required at all) and change it from Guice service to static utility
class
- Set screenshot plugin offsets statically without recalculating them
based on swing component

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 31048d2632 Remove the need to extend JFrame in ClientUI
- Make ClientUI wrap JFrame inside
- Do not make RuneLite class depend on Swing API at all
- Create ClientUI through Guice
- Simplify initialization and showing of UI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny 571f5f50c6 Extract utlity methods to SwingUtil class
- Extract common utlity methods from ClientUI to SwingUtil utlity class.
- Make OSXUtil accept JFrame instead of ClientUI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Adam 0c924341c0 Merge pull request #844 from McSwindler/npc-fix-branch
Fix for null NPCs
2018-03-11 20:30:36 -04:00
Adam 6f5a8b75ea dev tools overlay: transform npcs if applicable 2018-03-11 19:20:03 -04:00
Adam d71f8bd3b3 runelite-api: expose npc composition 2018-03-11 19:19:06 -04:00
Adam d3e8e5e51a Merge pull request #931 from Joshua-F/feat/removeTags
Add a util method for removing tags
2018-03-11 12:16:19 -04:00
Adam 46ef2c8814 Merge pull request #927 from Blizik/hideminimap
Option to hide minimap
2018-03-11 11:54:28 -04:00
Joshua Filby 85ac977324 runelite-client: Update plugins to use Text.removeTags 2018-03-11 11:53:55 -04:00
Joshua Filby e7f6793722 runelite-client: Add Text#removeTags method 2018-03-11 11:53:48 -04:00
Adam e42781e293 Merge pull request #926 from DevDennis/loot-helper
ground items plugin: add option to highlight menu
2018-03-11 11:48:04 -04:00
Blizik 9848b58986 Add ability to toggle minimap display 2018-03-11 11:42:50 -04:00
Dennis 8f7db67984 ground items plugin: add option to highlight menu 2018-03-11 11:37:43 -04:00
Adam 398441616a Merge pull request #627 from XrioBtw/patch-12
Add Menu Entry Swapper plugin
2018-03-11 11:09:16 -04:00
XrioBtw 0ab5db6c2e Add menu entry swapper plugin 2018-03-11 10:58:38 -04:00
nvisser 2e318dfe58 Round actions remaining up 2018-03-11 15:40:43 +01:00
Infinitay 297cc7c6f9 Add confirmation dialog to runelite logout button 2018-03-10 21:53:07 -05:00
Adam 14299f543d Reset player menu types whenever the options are changed 2018-03-10 21:17:59 -05:00
Adam 24abe9b5d1 Merge pull request #915 from deathbeam/default-world-support-both-formats
Allow specifying default world in [0-9]{2} format
2018-03-10 10:26:46 -05:00
Adam b910d81dcc Merge pull request #917 from Toocanzs/opponent-info
Continue to update opponent info while on screen
2018-03-10 10:21:42 -05:00
nvisser fb87dba205 Add time till next level to xptracker 2018-03-10 15:59:43 +01:00
Adam 652dd91211 opponent info overlay: use last opponent if no opponent is targeted 2018-03-10 09:57:34 -05:00
Adam e8d232de72 runelite-api: expose cachedNpcs 2018-03-10 09:55:07 -05:00
Adam 7320a4f61a runelite-api: add ability to get npc index 2018-03-10 09:54:47 -05:00
Adam 01c6064d24 Merge pull request #922 from Abextm/fix-hunter
hunter plugin: Don't iterate over all tiles
2018-03-10 09:34:31 -05:00
Adam 46553da6da Merge pull request #923 from Abextm/regen-orbs
Add regen meter plugin
2018-03-10 09:25:43 -05:00
Max Weber c7deb854db Add regen meter plugin 2018-03-10 02:22:20 -07:00
Max Weber 2a579a3ebf hunter plugin: Don't iterate over all tiles 2018-03-09 21:11:19 -07:00
Adam c3920e5814 Merge pull request #914 from Abextm/point
Type safe coordinates
2018-03-09 23:07:57 -05:00
Max Weber f560fb9427 Add planes to planeless tile objects 2018-03-09 20:59:06 -07:00
Max Weber f3a2a5e29d Remove old API 2018-03-09 20:59:06 -07:00
Max Weber b75dddca28 Update almost everything to the new API 2018-03-09 20:59:05 -07:00
Max Weber cf4d5d8333 Add conversion methods to WorldPoint and LocalPoint 2018-03-09 20:51:43 -07:00
Max Weber 6f9b855520 Rename Point3D to WorldPoint 2018-03-09 15:53:11 -07:00
Adam 5e887ed11c Merge pull request #507 from sethtroll/fixupxptracker
Update Xp tracker UI to make it smaller
2018-03-09 16:29:00 -05:00