Commit Graph
6 Commits
Author SHA1 Message Date
SomeoneWithAnInternetConnection 7073ae83d0 Prevent cursor icon from getting stuck as the wrong shape
Once its gotten close to the edge of the window, my cursor will usually
get stuck as one of the resize arrows rather than change back to a
normal cursor.  It looks like Substance gets confused about what the
last cursor was, and starts "restoring" one of the resize cursors,
instead of the pointer, when the cursor moves back away from the edge of
the window. Setting the cursor for the frame's LayeredPane fixes the
problem.
2018-01-05 13:31:58 -05:00
SomeoneWithAnInternetConnection 03bfb535f3 Reduce clearRect calls to improve framerate
This change improves the framerate in resizable mode by 10-15 fps by
reducing the amount of screen clearing done while drawing overlays.
2018-01-04 21:52:10 -05:00
SomeoneWithAnInternetConnection a6e275e910 Add tests for archetype-plugin compilability
This should make sure that the example plugin archetype is compilable.
The test seems to fail in IDEA, but runs fine from a terminal :/
2017-12-21 08:42:09 -05:00
SomeoneWithAnInternetConnection 39ea262d32 Actually fix example plugin archetype
The previous fix introduced an import conflict: java.awt.Point and
net.runelite.api.Point
2017-12-21 08:41:40 -05:00
SomeoneWithAnInternetConnection 9e8b524eb1 Fix example plugin to use the new overlay API
PR #246 changed the API for overlays slightly. This change fixes the
maven archetype plugin to match
2017-12-16 18:01:10 -05:00
SomeoneWithAnInternetConnection aad76b9bab Fix IllegalArgumentExceptions from XPGlobes' tooltips for level 1 stats
To draw the progress bar, XPGlobesOverlay.drawTooltipIfMouseover() uses
Experience.getXPForLevel(), which threw an IllegalArgumentException when
asked about level 1. This change shifts the XP_FOR_LEVEL array over by
one, so that XP_FOR_LEVEL[0] is the XP required to reach level 1 (i.e. 0),
rather than the XP required for level 2.
2017-12-16 16:09:58 -05:00