1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-27 21:56:19 -04:00
OpenDiablo2/d2core
juander-ux ba5ea334cc
Ui minipanel refactor (#926)
* 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
2020-11-16 01:41:01 -08:00
..
d2asset Key binding menu (#918) 2020-11-13 12:03:30 -08:00
d2audio refactored game bootstrap, removed d2config.Config singleton (#899) 2020-11-03 07:54:15 -05:00
d2config refactored game bootstrap, removed d2config.Config singleton (#899) 2020-11-03 07:54:15 -05:00
d2gui Key binding menu (#918) 2020-11-13 12:03:30 -08:00
d2hero Health/Mana/Exp load values from save file #815 (#886) 2020-10-31 23:59:24 -04:00
d2input migrate to ebiten v2.0 API (#860) 2020-10-28 14:17:42 -04:00
d2inventory Removing TODO comments, making issues for them (#807) 2020-10-25 10:21:14 -04:00
d2item removed string table singleton from d2common/d2fileformats/d2tbl/ (#900) 2020-11-03 11:10:11 -08:00
d2map removed string table singleton from d2common/d2fileformats/d2tbl/ (#900) 2020-11-03 11:10:11 -08:00
d2records refactored logging in d2loader, d2record, and d2asset (#898) 2020-11-02 21:23:07 -05:00
d2render/ebiten Key binding menu (#918) 2020-11-13 12:03:30 -08:00
d2screen migrate to ebiten v2.0 API (#860) 2020-10-28 14:17:42 -04: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 minipanel refactor (#926) 2020-11-16 01:41:01 -08:00