brick v0.66 Release Notes
-
🆕 New features:
- Added
Brick.Main.makeVisible
, a function to request visible regions fromEventM
. This, together withBrick.Widgets.Core.reportExtent
, can be used to request that a viewport be scrolled to make a specified named region visible on the next redraw. The region must be known to the renderer withreportExtent
(or something that calls it, likeclickable
). Due to theOrd
constraint on some of the API calls required to implement this, anOrd
constraint on the resource name type (n
) got propagated to various places in the API. But that shouldn't present a problem since other fundamental API calls already required that instance.
- Added