AbyssEngineOld icon indicating copy to clipboard operation
AbyssEngineOld copied to clipboard

ButtonDef is bad abstraction

Open DarthGandalf opened this issue 2 years ago • 0 comments

  1. It requires a filename of the image. This means that I need to load the image twice: to query the size of the frame, and to actually show it on screen.
  2. Far from every button has text/font, but ButtonDef requires it

Related: Button should be decoupled from "clickable area". Examples of non-button clickable areas are tabs in quests/waypoints panels, helmet/amulet/etc slots in inventory. Mouse handling isn't specific to Buttons

DarthGandalf avatar Dec 15 '23 23:12 DarthGandalf