- Add highlight > value setting
- Merge hide < GE and hide < HA value and always check for both
- Change the color getting logic to use simple methods instead of checks
spread around the code
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Expand the clickbox for highlighting/hiding item to it's entire name
- Left click on name highlights item, right click hides item
- Highlight background when in highlighting mode of the background item
that is hovered
- In order to help in cluttered environment, bring ground item that is
hovered to front.
These changes makes easy to see what item are you trying to
highlight/hide in cluttered areas.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Remove the possibility of having the item both highlighted and hidden
when using the highlight/hidden boxes.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Instead of checking for GE price being above 0, use isTradeable boolean
to determine if the price checks should apply or not and add
configuration value to disable this behaviour.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
- Change the price displaying to dropdown menu
- Show (GE:, (HA: only when showing both prices at once, otherwise do
not add label at all
Depends on: #2149
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Adds a counter in the boost information plugin, which specifies a threshold value for when a boosted skill gets low. When the amount of levels boosted reaches this value, a notification is sent. A value of 0 will disable notification. Solves issue #3449.
In an attempt to clean-up and re-use UI elements, I am applying the
material tabs to the hiscores plugin (previously it was jpanels
that looked exactly like tabs because at the time this panel was made,
there were no icon material tabs yet)
Also refactored the GridBagLayout code a little bit, makes it easier to
read and expand.
- Remove the auto-expanding of PanelComponent based on children size
because then the size cannot be ever reduced
- Make TitleComponent return preferredSize if it is smaller than string
width
- Make opponentInfo assign the preferred size to panel based on input
strings
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>