1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-16 17:35:57 -05:00
OpenDiablo2/d2core
juander-ux 1f49df62d1
Ui hud polishing (#938)
* 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
2020-11-21 02:35:32 -08:00
..
d2asset Remove language option from config file 2020-11-16 12:47:11 +01:00
d2audio D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2config Remove language option from config file 2020-11-16 12:47:11 +01:00
d2gui D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2hero D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2input migrate to ebiten v2.0 API (#860) 2020-10-28 14:17:42 -04:00
d2inventory D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2item removed string table singleton from d2common/d2fileformats/d2tbl/ (#900) 2020-11-03 11:10:11 -08:00
d2map D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2records D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2render/ebiten Key binding menu (#918) 2020-11-13 12:03:30 -08:00
d2screen D2core logger (#934) 2020-11-21 02:33:22 -08:00
d2stats removed string table singleton from d2common/d2fileformats/d2tbl/ (#900) 2020-11-03 11:10:11 -08:00
d2term fixed a couple lint errors in d2term (#697) 2020-08-05 22:32:23 -04:00
d2ui Ui hud polishing (#938) 2020-11-21 02:35:32 -08:00