SixtyFPS v0.0.3 Release Notes
Release Date: 2020-12-09 // over 3 years ago-
🔄 Changed
- In C++, the generated component is now wrapped by a
ComponentHandle
smart pointer that acts likestd::shared_ptr
. New instances are created usingT::create()
. - In Rust, the generated component implements
Clone
and acts like anRc
.sixtyfps::Weak
can be used to hold weak references. ARGBColor
was renamedRgbaColor
width and
height` of some builtin elements now default to 100% of the parent element.
➕ Added
- Allow dashes in identifiers (#52)
- VerticalLayout / HorizontalLayout
- Placeholder text in
LineEdit
- global components (#96)
Clip
elementComboBox
elementPopupWindow
elementImage
element: New source-clip-{x, y, width, height} propertiessixtyfps::Timer
in Rust API- Transitions are now implemented
round
/ceil
/floor
/mod
/max
/min
/cubic-bezier
functions- Signals can have return a value
has_hover
property inTouchArea
font-weight
property on Textviewbox-x/y/width/height
andclip
properties forPath
- In C++, the generated component is now wrapped by a