'lv_style_transp' was not declared in this scope

Hi
This is one of the default styles that we have in lvgl ver 6. It was defined to make it easier to define a style. As you can see at first it copies all of its parameters into the h_style and then changes the ones we need.
By the way, take care, this is the way we config styles in ver 6. In order to use ver 7, we have a little bit different story. for more info refer to the documentation.

1 Like