You are reading a single comment by @malaire and its replies. Click here to read the full conversation.
  • The need was to allow to draw custom vector graphic on top of the item. Like frames, colored bars, or circles, or whatever.

    What's the use case for this?

    If you're planning on making menus look totally different by drawing over them, IMO you really just need to make your own menus using E.showMenu as a base.

    Otherwise what you're doing will likely break if the menu system is drawn in a slightly different way in the future (or if for instance someone installs one of the alternate menu systems from the app loader)

    Does it mean I need to create a bitmap, draw into that, then pass it to format() as a string?

    Yes - you just use Graphics.createArrayBuffer to create a Graphics instance, then use gfx.asImage("string")

  • ... make your own menus using E.showMenu as a base.

    Is that also written in JS? Where is it defined?

About

Avatar for malaire @malaire started