SixtyFPS v0.0.6 Release Notes
Release Date: 2021-04-27 // almost 3 years ago-
🔄 Changed
Rectangle::color
was deprecated and replaced byRectangle::background
, same forWindow::color
Path::fill-color
was renamed tofill
, andPath::stroke-color
was renamed tostroke
, which are now brushes instead of color- Many other color property became brush in order to support gradients
- the
resource
type was renamed toimage
- Calling a callback is done from C++/Rust with
invoke_<name>
instead ofcall_<name>
➕ Added
@linear-gradient
can be used to have gradients on rectangle and pathsImage::colorize
allows to apply a color filter on image0
can be converted to anything with units- Support power of unit in intermediate expression. (eg:
3px * width / height
is now supported but used to be an error) - Support for
else if
- The path fill rule can now be specified using
Path::fill-rule
. - Support for
letter-spacing
inText
/TextInput
elements. rgb()
/rgba()
- Layout in Flickable
- LSP server with Live Preview and basic auto completion
- The viewer tool gained the
--auto-reload
argument Window.default-font-weight
- Added
opacity
property that can be applied to elements - Added
clip
property in Rectangle, including clipping for rounded rectangle - API to load dynamically .60 files from C++ and Rust, including a way to embed sixtyfps widgets in Qt applications
- Preferred size in Layouts
- Math functions such as
sin
,cos
,sqrt
, ... - New printer demo design
- Ability to load custom fonts using
import
statements
🛠 Fixed
Image::image-fit
'scover
andcontains
variant are fixed to match the CSS spec- Flickable without scrollbar
- Multiplying and dividing different units.
- Many more bugfixes