Commit Graph

3709 Commits

Author SHA1 Message Date
Ruben Amendoeira
6ec0d60ec4 Configs slight design tweak
- Updated the search bar to the new icon text field component.
- Added new on/off icons based on the material design style.
- Recoloured the background.
- Recoloured the plugin name labels.
- Replaced the config/toggle buttons for icon labels.
- Hid config button if no config was found, instead of disabling it.
- Left aligned the header title.
- Added new ComboBoxListRenderer to prevent substance's ugly coloring.
- Changed the panel title to "Configuration"
- Used deathbeam's new layout manager DynamicGridLayout
2018-05-19 15:13:10 +02:00
Ruben Amendoeira
dcd241e3bf Notes Plugin slight design tweak
- Increased the padding on the overall panel and the title.
- Recolored the background and text editor.
- Wrapped the text editor in a panel to prevent substance's hover
effects.
- Added 10px padding to the text editor
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
1d388fa98f News Feed Plugin slight design tweak
- Added a header section, containing a title and a refresh icon button.
- Increased the overall border from 5 to 10 pixels.
- Changed the background color to a darker gray.
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
4679bdad77 Kourend Library Plugin slight design tweak
- Spaced out the item panels vertically and slightly horizontally.
- Added a new header with the plugin's name, as it can be hard to know
what this plugin does/is.
- Restyled the reset button, it previously was a "Reset" text button, I
switched it to an icon with a darker version that activates
when clicked.
- Added the icon images to the resource folder.
- Added new method to SwingUtil that returns a darker version of an
image
- Used the image darkening method to give the refresh button a click
feedback effect
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
d0f708e26a Hiscore Plugin redesign
Overall:
- Applied new colors, positions and sizes, following issue #1342.

Search:
- Applied the new IconTextField, with search, error and loading
indicator (and respective image files).
- Blocked tabs witching while results are loading.

Endpoints:
- Moved the endpoints to right below the search bar (this follows
a more logical sequence of usage).
- Changed the endpoint presentation style and size. The selected
endpoint now displays a orange underline.
- Edited the endpoint icons to better fit the visual context.
- Changed the way currently selected endpoint is stored.

Stats:
- Changed the sizing of the labels/panels.
- Changed the font to a smaller version.

Total/Combat:
- Switched the order of the combat and total indicator
- Changed the font to a smaller version.

Clues/Minigames:
- Changed the font to a smaller version.

Details Panel:
- Completely removed the details panel, instead went for a more
in-line with the game approach, tooltips!
- Rewrote the way skills and labels are matched
- Added html progress bar to the next level
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
ab7e969320 Grand Exchange Plugin redesign
General:
- Applied the design I proposed in issue #1342
- Applied custom component: MaterialTabs
- Removed default scrolling behaviour from parent PluginPanel
- Added error panels for empty searches and empty offer slots
- Added new formatter to the StackFormatter that displays integers
as rs stacks with decimals (21700 into 21.7k)
- Changed the Locale on the stack formatter and respective unit testing
to UK, this makes sure all tests are consistent with Travis (ex: i ran
the unit testing in europe, travis ran in the us, so it passed my tests,
failed his)

Offers:
- Refactored the GE offers into it's own seperate file:
GrandExchangeOffersPanel
- Redesigned the ge offers items
- Included the custom component ThinProgressBar on the bottom of each
ge item panel
- Added secondary information panel, toggled by clicking on the primary
panel
- Added a game state check that resets all ge offers on logout

Search:
- Recoloured and resized the search bar
- Added new icons to the search bar (incluing a loading wheel gif)
- Removed focus on the search bar when results are displayed
- Added custom scrolling behaviour
- Blocked input when search is in progress
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
e56e559ecd Added custom components + moved/rewrote some
To organize the project a bit, decided to add a new folder inside the
ui folder, to hold all custom components. ui/components/

Rewrote IconTextField

I wasn't happy with its functionality, so I rewrote it to
include the following:

- Left aligned centered icons
- Animated gif support (ex: loading wheels)
- Custom hover effects (color change)
- Input blocking

All changes:

- Created new folder ui/components/
- Moved JShadowLabel and JShadowLabelUI to components folder
- Moved IconTextField to components folder
- Rewrote IconTextField
- Created new components: MaterialTab & MaterialTabGroup
- Created new components: CustomScrollBarUI
- Created new components: PluginErrorPanel
- Created new components: ThinProgressBar
- Applied the new scroll bar ui to the UI defaults (UIManager)
2018-05-19 12:16:25 +01:00
Ruben Amendoeira
327c7b9c3b Restyled the client frame
- Created new substance theme "Obsidian"
- Created new ColorScheme file to hold all globally used colors
- Darkened the client frame using the substance color scheme file
- Changed substance's colorization factor to 1
- Tweaked the coloring on the dev plugin panel
- Set the UI default foreground color on Buttons and MenuItems to White.
2018-05-19 12:16:25 +01:00
Runelite auto updater
509c9e61dc [maven-release-plugin] prepare for next development iteration 2018-05-18 23:31:11 +00:00
Runelite auto updater
7c389bb712 [maven-release-plugin] prepare release runelite-parent-1.3.9 2018-05-18 23:31:04 +00:00
Adam
37ec6d0ac9 Remove distribution management 2018-05-17 19:54:50 -04:00
Adam
75674cfd55 Update pom and README to reflect changes to project structure 2018-05-16 14:14:08 -04:00
Adam
06aa5cd680 Merge pull request #2684 from Adam-/npc-despawn
fire npc despawn event before composition is nulled
2018-05-15 11:20:25 -04:00
Adam
ce46256a44 speccounter plugin: fix kalphite queen spelling 2018-05-15 10:24:15 -04:00
Adam
8136597e72 Merge pull request #2753 from runelite/revert-2681-raids-pointbox-fix
Revert "fix: Hide vanilla raid points box when inside chambers of xeric"
2018-05-15 10:07:38 -04:00
Adam
8ecd130d3a Revert "fix: Hide vanilla raid points box when inside chambers of xeric" 2018-05-15 10:07:24 -04:00
Adam
a72d010794 Merge pull request #2747 from Abextm/revert-varbit-event-defer
Revert #2530 "Make VarbitChanged only fire once..."
2018-05-15 10:07:10 -04:00
Adam
01fc179664 Merge pull request #2735 from Abextm/rename-varc
Rename varc fields
2018-05-15 08:45:04 -04:00
Sebastiaan Holthuis
3a1e7ed0d2 Add " fps" after the number of FPS 2018-05-15 08:42:31 -04:00
Max Weber
669b0a0ab9 Revert #2530 "Make VarbitChanged only fire once..."
This broke the speccounter plugin, and is moderately incorrect because client scripts can update varbits before a tick has happened, and the event should reflect that.
2018-05-15 03:36:16 -06:00
Max Weber
bc1f3530aa Rename varcstrings > varCStrings 2018-05-14 18:58:04 -06:00
Max Weber
97a5031c1b Rename varcs > varCInts 2018-05-14 18:57:59 -06:00
Adam
b61b77a44c Merge pull request #2729 from trimbe/fix-hot-cold
Fix hot cold location south of gnome stronghold
2018-05-14 20:50:51 -04:00
Adam
8fc7e58f60 Merge pull request #2451 from MESLewis/world-map-fairy-ring-tooltip
Add tooltip and custom icon to World Map fairy ring destinations
2018-05-14 20:48:09 -04:00
Morgan Lewis
78e0a654cc Add tooltip and custom icon to World Map fairy ring destinations 2018-05-14 20:34:11 -04:00
Morgan Lewis
c8d7779248 Fix world map overlay to draw pixel perfect on the World Map 2018-05-14 20:34:10 -04:00
Adam
604fb2c400 Merge pull request #947 from Kruithne/skill-calculator
Plug-in: Skilling Calculator
2018-05-14 20:02:53 -04:00
Kruithne
b923335ed1 Implement Skill Calculator plug-in 2018-05-14 19:46:20 -04:00
Adam
0acde2bd06 runelite-mixins: wrap drawTileUnderlay in try/catch
The rasterizer crashes on certain tiles ingame with specific camera angles.

java.lang.ArrayIndexOutOfBoundsException: -1
    at Graphics3D.rasterGouraudLine(Graphics3D.java:797)
    at Graphics3D.rasterGouraud(Graphics3D.java:680)
    at Region.drawTileUnderlay(Region.java:1853)
    at Region.draw(Region.java:1376)
    at Region.drawRegion(Region.java:1187)
    at class35.method682(class35.java:808)
    at WorldMapType3.gameDraw(WorldMapType3.java:448)
    at class218.method4359(class218.java:1069)
    at Client.method1268(Client.java:3922)
    at Client.methodDraw(Client.java:2239)
    at GameEngine.method914(GameEngine.java:605)
    at GameEngine.run(GameEngine.java:1027)
    at java.lang.Thread.run(Thread.java:748)
2018-05-14 18:22:23 -04:00
trimbe
19e87bac36 Fix hot cold location south of gnome stronghold 2018-05-14 17:57:44 -04:00
Adam
bdb2c5b1b3 Merge pull request #2711 from ypperlig/mlmstartupfix
Motherlode Mine - Region check on plugin startup
2018-05-14 08:22:14 -04:00
Adam
b374c825fa Merge pull request #2710 from Abextm/update-objectid
Strip tags from java names in ID files
2018-05-14 08:19:36 -04:00
Lars Ørnlo
0f90f2dbbb Motherlode Mine - Region check on plugin startup 2018-05-14 12:20:23 +02:00
Max Weber
7cc726097f cache: Strip tags from java names 2018-05-14 03:26:38 -06:00
Max Weber
220add92fd runelite-api: Update ID files 2018-05-14 03:26:21 -06:00
Tomas Slusny
fdc8e9d41d Merge pull request #2681 from Kamielvf/raids-pointbox-fix
fix: Hide vanilla raid points box when inside chambers of xeric
2018-05-14 10:33:32 +02:00
Shuhao Wu
c18596983f Fix "Clap in the magic axe" master clue. (#2685)
Fix punctuation in sentence (replace '.' with '!').
2018-05-13 23:43:11 +02:00
Jordan
86b7faf216 Fix wording/locations of kill x elite cryptic clues (#2628)
- Use "Kill a <monster>." for all basic monster hunting clues.
- Null locations for monsters, that will falsely look like dig location

Fixes #2627
2018-05-13 23:41:01 +02:00
Adam
e915070b4b runelite-mixins: fire npc despawn event before composition is nulled 2018-05-13 15:45:39 -04:00
Adam
484d664a3c injector: support field hooks prior to field being changed 2018-05-13 15:45:16 -04:00
Kamiel
b9d105f5cc fix: Hide vanilla raid points box when inside chambers of xeric
Since commit 08c816e, the varbit change event is fired after this widget is shown and inRaidChambers is always false at that point. This would prevent the vanilla point box from being hidden.
2018-05-13 21:16:55 +02:00
Tomas Slusny
9805472e50 Merge pull request #2673 from jplsek/reset-stroke
overlayutil: reset stroke for renderpolygon
2018-05-13 20:46:09 +02:00
Adam
42005ffcea item manager: cache no price when unable to batch lookup 2018-05-13 11:47:06 -04:00
Jeremy Plsek
651d259a03 overlayutil: reset stroke for renderpolygon
If a plugin used a combination of renderPolygon and either use other
util methods or draw on their own on the same graphics object, the
stroke would get applied as well.
2018-05-13 10:08:09 -04:00
Adam
aa35b2c218 http-service: lombok item api 2018-05-13 08:42:00 -04:00
Adam
274c79a7ba http-service: optimize bulk item price lookup 2018-05-13 08:39:20 -04:00
Adam
ede2041a61 item controller: don't return duplicate items in bulk lookup 2018-05-13 08:14:12 -04:00
Adam
3ffcdafa26 Merge pull request #2656 from Adam-/feature-hitpoints-pvp
opponent info: use player hitpoints from hiscores
2018-05-12 20:10:53 -04:00
Adam
bf12597c37 Merge pull request #2642 from deathbeam/dont-floor-percentages
Do not floor percentage in progress bars
2018-05-12 20:09:56 -04:00
Adam
58e8e1e69a Merge pull request #2651 from AlexKolpa/fix-typo
Fix typo cryptic clue
2018-05-12 19:25:38 -04:00