Commit Graph

3819 Commits

Author SHA1 Message Date
Adam
cedf5d9bb1 Merge pull request #3043 from RubenG123/ui-tweaks
UI element mouse hover improvements
2018-05-22 20:41:04 -04:00
Ruben
0eb533a14a Add mouse hover changes to various ui elements
This commit adds the following with the main aim of improving the overall ui experience:
InfoPanel: changes the panels to act more like buttons, they highlight on hover and the cursor changes to a pointer (since they are hyperlinks).
NewsFeedPanel: changes the cursor to a pointer on hover to indicate a hyperlink
HighscorePanel: changes the buttons below the search bar to highlight on hover to help indicate a clickable element.
FarmingPanel: same as above expect for the patch buttons
GE Panel: same as above but for the offer and search button
ConfigPanel: Changes the cog color on hover to help indicate clickable element.
2018-05-22 20:25:58 -04:00
Adam
d873d9c0df Merge pull request #3081 from psikoi/obsidian-redesign-v2
Skilling Calculators - Obsidian Redesign
2018-05-22 20:09:52 -04:00
Adam
e9c129a536 Merge pull request #3028 from Adam-/screenmarkers
Add screen markers plugin
2018-05-22 19:38:46 -04:00
Ruben Amendoeira
566439e38d Skill Calc plugin redesign
Following the obsidian redesign update, this time I've ventured into
the skilling calculators. Major changes were made, here are the most
noticeable:

- Added a title to the top of the plugin panel
- Resized the skilling selectors to a 3x6 grid and used the MaterialTabs
for the selection behavior.
- Resized, recolored and reshaped the input panels and respective labels
to better fit the new theme and aesthetic.
- Added a new action "on enter", the textfield will now request focus
on the next logical textfield, (example, when enter is pressed on the
current level field, it will request focus on the target level)
- Reworded the input labels from "XP" to "Experience"
- Resized, recolored and reshaped the boost/modifier selectors
- Recolored the actions/selections indicator to a dark gray
- Recolored all item panels to a dark gray, and instead added a left
side thick border to indicate availability (green/red)
- Added required level indicator on the sub-title of each item
- Added hover effects for the individual items
- Added hover effects for the material tabs
2018-05-23 00:29:47 +01:00
Ruben Amendoeira
84213d1eff Added/Changed custom UI components
MaterialTabs:

- Added a second constructor for use cases where the programmer
does not want the screen switching functionality, only the tab
selection functionality (think of them as fancy radio buttons
- Tweaked the border on the material tab so that the highlight overlays
instead of appending to the bottom.

IconTextField:
- Fixed copyright link
- Refactored to include the new FlatTextField (code was taken from this
class to produce the new class)

FlatTextField:
- Added this new component, it is pretty much the same as IconTextField
but used for just text input purposes, no icons.
2018-05-23 00:25:19 +01:00
Adam
c9cb7a8774 screen marker panel: fix toggling hide/show 2018-05-22 19:12:15 -04:00
Tomas Slusny
f3bdd4ca18 Change ScreenMarkers to use OverlayRenderer
Change ScreenMarkers to use OverlayRenderer bounds instead of holding
its own bounds.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 18:54:25 -04:00
Tomas Slusny
f11d6e4680 Add support for preferredSize to OverlayRenderer
- Add basic support for preferredSize to OverlayRenderer and Overlays
- Add methods for saving and deleting overlays to OverlayRenderer to
take advantage of this new variable
- Add support for saving multiple types of same overlay (support for
keys to overlays)

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 18:54:24 -04:00
Adam
9c4878e8da runelite-client: add screen markers plugin 2018-05-22 18:54:23 -04:00
Adam
af7b2e6c97 runelite-client: add detached overlay position
Overlays with detached are never layouted, but are also movable
2018-05-22 18:54:21 -04:00
Adam
53041894af Merge pull request #3099 from Nightfirecat/add-gu'tanoth-shortcuts
Add Gu'Tanoth bridge obstacles
2018-05-22 18:36:06 -04:00
Adam
6df106f39e Merge pull request #3068 from raqes/2005-interface-fix
Fix 2005 gameframe
2018-05-22 18:15:54 -04:00
Ruben Amendoeira
48368019e6 Expanded SkillIconManager to include smaller versions
Needed small icons to use for the Skill Calc redesign, decided to expand
the skill icon manager to include these, created a new folder in the
resources with the small png's.
2018-05-22 23:06:39 +01:00
raqes
e5618ad59e Fix 2005 interface container alignment, add scrollbar and spellbooks 2018-05-22 17:38:50 -04:00
Adam
2d6dc4428f Merge pull request #3061 from psikoi/obsidian-redesign-tweaks
Obsidian redesign tweaks
2018-05-22 17:27:09 -04:00
Joel
cbf48d4871 Add missing Corsair Cove fishing spots (#3096) 2018-05-22 23:26:06 +02:00
Magic fTail
300cff8f86 Add missing Port Sarim and Ape Toll fishing spots (#2837) 2018-05-22 23:25:17 +02:00
Alex Kolpa
72fc1d1add Change AgilityArenaTimer contact to GitHub account (#3121) 2018-05-22 23:23:30 +02:00
Adam
34d93e8f7f Merge pull request #3114 from Abextm/var-inspector-lazy
varinspector: Lazily initialize var arrays
2018-05-22 17:22:11 -04:00
Ruben Amendoeira
18d600b298 Recolour config names to white
To keep consistency with the config list names, I changed the color
of the specific configurations and titles to white.
2018-05-22 21:45:03 +01:00
Ruben Amendoeira
b85ca418db Fixed exp tracker pop-up in the progress bar
Fixes #2989

The interaction to open the pop-up menu contains "reset" and "open
online tracker" wasn't accessible if the user clicked on the progress
bar. What I did was add the component pop menu to the progress bar too.

Grouped these two attributions and moved them lower on the constructor.
2018-05-22 21:45:03 +01:00
Ruben Amendoeira
b999118486 Removed unused styling on JComboBox
This was left by mistake when I was attempting to change
the combobox's renderer, this element's styling is never displayed so I
decided to remove it.
2018-05-22 21:45:03 +01:00
Ruben Amendoeira
90845534dd Moved the new text selection colors globally
Fixes #3042

I had new selections colors for the ge/hiscores/config search bars
but forgot there were other text elements in the configs, so
I moved these new colors to UI defaults (SwingUtil)

Also removed some unused code that was setting styles to a combobox that
never gets displayed.
2018-05-22 21:45:02 +01:00
Ruben Amendoeira
2fdded3884 Fix Config search bar focus
Fixes #3044

- When changing the component for the search bar, anywhere on the code
where focus was requested for the search bar, it was only applied to
the search bar's parent container. All I had to do was override the
focus requesting method and execute it for the text field.
2018-05-22 21:44:59 +01:00
Max Weber
ff732f82c3 varinspector: Lazily initialize var arrays
Varcs is set during cache load, so we race it while starting
2018-05-22 12:56:23 -06:00
Adam
f232c63764 Merge pull request #3055 from deathbeam/xp-goals
Add support for player experience goals to tracker
2018-05-22 14:03:22 -04:00
Adam
c963bb88e6 Merge pull request #3111 from MESLewis/world-map-teleport
WorldMap: Fix jewellery item name loading bugs
2018-05-22 14:01:14 -04:00
Morgan Lewis
b9f2f1f876 WorldMap: Fix jewellery item name loading bugs
Fixes trying to load the ItemComposition before items are loaded
Fixes items being called Members Object in f2p worlds
2018-05-22 13:16:44 -04:00
Tomas Slusny
7204a7b570 Add support for player experience goals to tracker
- Add new fields for start and end goal XP to xp tracker state
- Use Varps for determining start and end goal

Closes: #1168

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 16:05:54 +02:00
Tomas Slusny
570584310b Add Varps for player experience goals
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 16:04:40 +02:00
Tomas Slusny
f66c261935 Fix access levels in XpStateSingle
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-05-22 16:04:40 +02:00
Adam
284623b4f6 Merge pull request #2869 from MESLewis/world-map-agility-shortcuts
WorldMap: Add agility shortcut level requirements
2018-05-22 09:11:05 -04:00
Adam
49c9ab16e6 Merge pull request #3064 from AlexKolpa/brimhaven-plugin
Brimhaven Agility arena plugin
2018-05-22 08:58:05 -04:00
Morgan Lewis
3b78b745e3 WorldMap: Add agility shortcut level requirements 2018-05-22 08:47:15 -04:00
Adam
2cc8ab6ad8 Merge pull request #3060 from MESLewis/world-map-teleport
WorldMap: Add teleport destinations for spells and jewellery
2018-05-22 08:40:17 -04:00
Morgan Lewis
361c3e88a6 WorldMapPointManager: Fix concurrent modification exception 2018-05-22 08:14:23 -04:00
Morgan Lewis
ffb8da6667 WorldMap: Add teleport destinations for spells and jewellery 2018-05-22 08:14:16 -04:00
Jordan Atwood
1c529c8f70 Add Gu'Tanoth bridge obstacles 2018-05-22 00:06:49 -07:00
user35557
81d11bd95f Clue Scrolls: fix dark warrior fortress clue coordinates (#3083) 2018-05-22 08:30:07 +02:00
Adam
9c5078a75e Merge pull request #3075 from Abextm/var-inspector
Var inspector
2018-05-21 19:49:21 -04:00
William Metcalf
7fdce3a12c Add commas to ground item quantities 2018-05-21 19:20:31 -04:00
Adam
0d63b94202 Merge pull request #3073 from deathbeam/anti-drag-only-shift
Change Anti-Drag plugin to work only with SHIFT
2018-05-21 18:05:57 -04:00
Adam
3b268304b1 hiscore panel: remove duplicate getExperience 2018-05-21 18:02:50 -04:00
Adam
71ead2f18a Merge pull request #3058 from AlexKolpa/fix-total
Fix setting of hiscore stats after combat level
2018-05-21 17:56:59 -04:00
Adam
ebb665df45 hiscore panel: pass result to detailsHtml and remove reduncant null check 2018-05-21 17:39:18 -04:00
Alex Kolpa
3be81ae012 Don't show experience progress for unranked skills
`Experience.getLevelForXp` crashes on values < 0 (unranked is -1).
2018-05-21 23:31:36 +02:00
WooxSolo
0b63291bbf Add RSTileMixin.getGroundItems and RSNPCMixin.getTransformedComposition 2018-05-21 17:19:35 -04:00
Adam
d718133782 hiscore panel: clear tooltips when clearing levels 2018-05-21 17:14:01 -04:00
Adam
f1131a2f70 hiscore panel: wrap lookup in a runnable exception logger 2018-05-21 17:13:35 -04:00