Opened 2 months ago

#5442 new defect

Don't add GUI object type specific functions to JSInterface_IGUIObject

Reported by: elexis Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description

  • r22134 adds a getTextSize function to every GUI object type that works for 6 GUI object types and not for the other 6
  • Phab:D1781 proposes to add an addItem to every GUI object type that only works for one of the GUI object types and not for any other
  • Phab:D1751 proposes to add an method to every GUI object type that only works for one GUI object type and not for any other

But such GUI object type specific functions should be defined in a function specific to the affected object types, see the tirades in the references.

Change History (0)

Note: See TracTickets for help on using tickets.