Commit Graph
16 Commits
Author SHA1 Message Date
Tomas Slusny 7c989dc105 runelite-client: Add app name to RuneliteProperties 2017-12-19 20:37:40 -05:00
Tomas Slusny 3769cab5b4 Remove unused app property from RSStub
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-19 20:15:54 -05:00
Tomas Slusny 801a907f15 Isolate graphics for each overlay (#267)
Clone graphics before rendering overlay, then use the cloned graphics
for the overlay and dispose it afterwards to prevent any unwanted side
effects from overlay.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-17 14:18:15 +01:00
Tomas Slusny 69deaa5b4a Fix overlay renderer cache
Fix overlay renderer plugin caching to actually use plugin received from
onPluginChanged hook, because the events are fired before the plugins
are actually added/removed to the plugin list.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-17 00:31:35 +01:00
Tomas Slusny 08e3282ed7 Add support for examining bank and eq items price
Add support for showing bank, bank inventory and equipment item prices
when examined.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-17 00:16:51 +01:00
Tomas Slusny e4d15f0790 Fix displaying of examine price without GE value
Fix displaying of : in item price when GE value is missing and only HA
value is present.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-16 23:54:33 +01:00
Tomas Slusny 4d8dde760f Cleanup overlay logic after native-ui changes
- Remove unnecessary derivations of runescapeSmallFont
- Render overlays in "safe" environment (restore original font and
tranform after overlay rendering is done)
- Use TextComponent at more places
- Remove unnecessary setting of default font in VolcanicMineOverlay
- Change RenderableEntity from abstract class to interface
- Remove unused tooltip configuration from RuneliteConfig
- Use viewportWidget instead of chatbox widget for positioning the
overlay groups (thanks to Devin for tip)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-15 00:13:44 +01:00
Tomas Slusny 4076f75e34 runelite-client: Make overlay UI reuseable and look native 2017-12-13 18:26:56 -05:00
Tomas Slusny f78667f9c7 runelite-client: add plugin changed event 2017-12-13 18:26:25 -05:00
Tomas Slusny 49a11cab46 Show full price for stackable items when examined 2017-12-08 18:34:30 -05:00
Tomas Slusny 02ebe82e2d Show item price when examining item
- Update examine plugin to include setting for showing item price when
examining item and choosing colors for the examine message (using new
chat message API)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:38 -05:00
Tomas Slusny 4860eb871f Add chat message recolouring API
- Update api of SendMessage to also include message type
- Create API for updating chat message based on saved colors for normal
and highlighted message and for adding game messages that can be
recolored too
- Update chat commands plugin to use the new API
- Add option to globally disable recoloring to RuneliteConfig

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:36 -05:00
Tomas Slusny 88932d2a72 Improve item caching
- Add item composition cache and item search cache to ItemManager

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-07 21:08:34 -05:00
Tomas Slusny 454fd4cfc1 Add clan ranks to clan chat
- Extend API to include support for getting clan members and
informations about them
- Add API for manipulation with modIcons
- Display clan ranks in clan chat (add to ClanChat plugin)
- Add new hook for clan members changed

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-04 19:33:13 -05:00
Tomas Slusny 1c86c30e1a Make native notifications lightweight
Remove dependency on external notification library and rewrite
notifications to use lightweight native system notification
implementations:

* Linux - notify-send
* OS X - apple script - display notification
* Windows - TrayIcon

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-02 15:01:05 -05:00
Tomas Slusny 663cb8e69f Add hide items under value to GroundItems plugin
Add option to hide items under either Grand Exchange or High Alchemy
value to GroundItems plugin. Also ensure that items with 0 or no GE
price are shown anyway, as they are probably untradeables or inactive.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2017-12-02 01:10:20 +01:00