1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-09-29 14:45:58 -04:00
OpenDiablo2/d2core/d2ui
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
..
button.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
checkbox.go d2ui/drawable: Refactor render() method to not return error 2020-11-11 14:55:59 +01:00
color_tokens.go d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
custom_widget.go Ui panel refactor part 2 (#921) 2020-11-13 12:08:43 -08:00
d2ui.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
drawable.go d2ui/drawable: Refactor render() method to not return error 2020-11-11 14:55:59 +01:00
frame.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
label.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
scrollbar.go d2ui/drawable: Refactor render() method to not return error 2020-11-11 14:55:59 +01:00
sprite.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
textbox.go Revert "d2ui/label: Refactor Render() to RenderNoError()" 2020-11-11 15:01:36 +01:00
tooltip.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
ui_manager.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
widget_group.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
widget.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00