1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-18 02:16:23 -05:00
OpenDiablo2/d2game/d2player
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
..
binding_layout.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
equipment_slot.go Removing d2datadict singletons (#738) 2020-09-20 17:52:01 -04:00
escape_menu.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
game_controls.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
globeWidget.go Ui panel refactor part 2 (#921) 2020-11-13 12:08:43 -08:00
help_overlay.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
hero_stats_panel.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
hud.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
input_callback_listener.go fixed all golint type lint errors (#780) 2020-10-21 23:41:21 -07:00
inventory_grid.go Revert "d2ui/sprite: Refactor Render() to RenderNoError()" 2020-11-11 15:05:04 +01:00
inventory.go Revert "d2ui/sprite: Refactor Render() to RenderNoError()" 2020-11-11 15:05:04 +01:00
key_binding_menu.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
key_map.go Key binding menu (#918) 2020-11-13 12:03:30 -08:00
mini_panel.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00
skill_row.go removed all 'gocritic' lint errors (#835) 2020-10-25 17:03:23 -07:00
skill_select_menu.go Various lint error fixes and suppressions (#846) 2020-10-26 02:04:50 -07:00
skill_select_panel.go Revert "d2ui/sprite: Refactor Render() to RenderNoError()" 2020-11-11 15:05:04 +01:00
skillicon.go d2ui/drawable: Refactor render() method to not return error 2020-11-11 14:55:59 +01:00
skilltree.go Ui minipanel refactor (#926) 2020-11-16 01:41:01 -08:00