- Update the interface to match with the Obsidian redesign
- Remove displaying of screen marker names (they are not editable so not important)
- Add support for changing screen markers after creation
- Add support for toggling fill
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.
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
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.
- 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>
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.
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.
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.
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.
- 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>