Repository navigation
2.5.0-alpha
Pre-release
Pre-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 intoBentoSystemUpdate()) - 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()andBentoForeachChildReverse() - Adds
BentoCreateBlank()for all your invisible layout container needs - Adds
BENTO_PREV_ELEMENTwhich contains the last created Bento element. This is initialized toBENTO_NO_ELEMENTwhen the game starts - Removes layer parameter from
BentoHover()andBentoHoverSoft(). The layer is now automatically derived from the element itself - Removes
BentoGetHovered()(useBentoCursorGetHover()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