Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement a right-angled box through lv_obj #49

Closed
llechee opened this issue Apr 11, 2024 · 1 comment
Closed

How to implement a right-angled box through lv_obj #49

llechee opened this issue Apr 11, 2024 · 1 comment

Comments

@llechee
Copy link

llechee commented Apr 11, 2024

I need to implement a gui on my arm device LCD, but there seems to be no api to implement a rectangle, only a round box generated by lvobj_create, how do I go about it.
Another question, how can I make my program smoother and silky smooth if I run it on an embedded android device
Thanks to the developer

@kisvegabor
Copy link
Member

I need to implement a gui on my arm device LCD, but there seems to be no api to implement a rectangle, only a round box generated by lvobj_create, how do I go about it.

To get rid of radius you can do this:

lv_obj_set_style_radius(obj, 0, LV_PART_MAIN);

Another question, how can I make my program smoother and silky smooth if I run it on an embedded android device

It requires more info, like target device, display driver, display resolution, target FPS, etc.

As it's not related to the development of LVGL, please open a topic for it in the forum and post it's link here. I'll reply in the forum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants