-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add customizable boot logo based on resolution #7146
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
Conversation
|
ee56cf8
to
abb8b88
Compare
aac9457
to
2819251
Compare
349cfab
to
cb4eede
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed I think we definitely should not use the SCREEN_ROTATE macro for this. Besides that it's now really ugly to have it moved from variant.h into platformio.ini (which nobody will understand why and which is kinda error prone) this macro is not used by MUI but now should be used together with two other macros to determine the boot logo size.... eek.
I'd rather suggest to use an either explicit (e.g. USE_BOOTLOGO=logo_320x480.png) or implicit (e.g. DISPLAY_SIZE=320x480) macro that helps to handle the size and orientation of the boot logo.
ea6efab
to
bff9013
Compare
ff3bb9f
to
5ef04ef
Compare
eda2138
to
34f3a4f
Compare
Adds customizable boot logos based upon device screen resolution.
Builds upon:
This platformio script callback determines the display resolution, locates the corresponding
branding/logo_<width>x<height>.png
and loads it ontodata/boot/logo.png
.See the
logo_xxx.png
files inevent/defcon33
branding for our first example.DefCon here we come ☠️