* Init for gold button and label
* gold button and label in inventory menu
* gold value saved/loaded from player save file
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
* d2ui/tooltip: Make it invisible by default
* d2ui/button: Add GetToggled() method
* d2player/HUD: Add tooltip for minipanel button
* d2ui/button: Add disabled frame to minipanel buttons
* d2ui/widget_group: Add SetEnable method for clickable widgets
* d2player/mini_panel: move menu button here from HUD
* d2ui/button: toggled buttons take preference over disabled buttons
* d2player/help_overlay: Make panel only use widgets
* d2player/hud: Group most widgets into widget group
* d2ui/custom_widget: Allow tooltip to be attached
* d2player/hud: Attach staminaBar tooltip to staminaBar
* d2player/hud: Attach experienceBar tooltip to experienceBar widget
* d2ui/ui_manager: Always draw tooltips last
* d2player/help_overlay: It should be drawn over the HUD
* d2player/globeWidget: Move tooltip here from HUD
* d2core/tooltip: Automatically add tooltips to the uiManager
* d2core/ui_manager: Remove special handling of widgetGroups for rendering
* d2player/help_overlay: Add button to widget group
* d2player/hud: Attack runwalk tooltip to button
* d2player/mini_panel: Add panelButton to its own widget group
* d2core/widget_group: When a clickable is added, it's also added to uiManager
* d2player/globeWidget: make tooltip un/lock on click
* d2player/hud: Add runbutton to widget group
* d2player/mini_panel: Add group for tooltips
this allows us to move the tooltip with the panelbuttons. They can't be
in the general panelGroup as they would all become visible when the
panel is opened.
* d2core/button: Remove debug log when a button with tooltip is hovered
* logger for d2audio & d2map
* logger for d2ui e.t.c
* d2inventory now passes on error messages
* no more importing log in d2core
* implemented #925
* added logger to part of d2networking & fixed "need to be changed" comments
* fixed lints
* fixed errors
Co-authored-by: M. Sz <mszeptuch@protonmail.com>
* d2player/hud: Make minipanel button a real ui/button
* d2ui/button: Add implicit tooltips
for now it is only for close buttons.
* d2ui/frame: Add size caluclation
now frame.GetSize() returns meaningful values.
* d2ui/button: Add minipanel button types
* d2ui/hero_stats_panel: Fix cached image being way to big
* d2ui/widget_group: Fix widget groups size calculation
* d2ui/widget_group: Add debug rendering
* d2ui/widget_group: SetVisible() now sets the visibility of the group object
* d2player: Refactor mini_panel
we converted all elements to widgets. Thus rendering from game_controls
is no longer neccessary.
* d2ui/button: Add disabled color to layouts
* d2player/gamecontrols: temp hide minipanel when in esc menu
* d2ui/widget_group: Add OffsetPosition() method
* d2player/mini_panel: Implement moving of minipanel
this only occours when other panels are opened.
* d2player/minipanel: Fix inv/skilltree/char closebuttons
these would screw up the moving of the mini panel.
* Fix linter
* d2player/minipanel: Add tooltips to buttons
* d2player/skilltree: Fix icon rendering