Skip to content

2.5.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@JujuAdams JujuAdams released this 06 Sep 10:23
· 46 commits to master since this release
  • Adds support for percentage sizes and positions e.g. BentoSetPosition("50%", "50% - 50");. Percentages are relative to the size of the root element (which is the size that you pass into BentoSystemUpdate())
  • Adds BentoLayoutTable(). Currently work-in-progress and the API will likely change in future versions
  • Adds BentoSetRightToLeft() and getter
  • Adds BentoLayoutSetMargin() and getter (and extended version)
  • Adds BentoForeachChild() and BentoForeachChildReverse()
  • Adds BentoCreateBlank() for all your invisible layout container needs
  • Adds BENTO_PREV_ELEMENT which contains the last created Bento element. This is initialized to BENTO_NO_ELEMENT when the game starts
  • Removes layer parameter from BentoHover() and BentoHoverSoft(). The layer is now automatically derived from the element itself
  • Removes BentoGetHovered() (use BentoCursorGetHover() instead, it does the same thing)
  • Adds BentoLayerGetHoveringAny()
  • Fix for BentoScrollSetPos() failing after setting a child array
  • FIxes sizing issues when applying a layout to the layer root element
  • Fixes some internal issues with hotkey handling
  • Minor performance improvements
  • Adds some in-project documentation

Since 2.4.0

  • Adds BentoSetHotspotScale() to increase (or decrease) the hotspot size of a button when using a pointer input mode
  • Fixes BentoSetPosition() not repositioning children