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

Implement a different overlay for each page #415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zfdx123
Copy link

@zfdx123 zfdx123 commented Nov 25, 2024

FrameCallback frames[] = { drawDateTime, drawCurrentWeather, drawForecast, drawDeviceInfo };
int numberOfFrames = 4;

OverlayCallback dynamicOverlay[] = { drawHeaderOverlay, drawHeaderOverlayTmp }; 
uint8_t overlayIndex[] = { 1, 0, 0, 0 };

ui.setOverlays(dynamicOverlay, overlayIndex); 

4cf833cd9817a95f1562a21f9e2a7ee

711b3d4182bd69655293bf6ef5d6fc2

Configure different bottoms for different pages to achieve better custom display effects

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

Successfully merging this pull request may close these issues.

1 participant