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

Centralize most color definitions #1258

Merged
merged 1 commit into from
Aug 16, 2022
Merged

Centralize most color definitions #1258

merged 1 commit into from
Aug 16, 2022

Conversation

Riksu9000
Copy link
Contributor

@Riksu9000 Riksu9000 commented Jul 31, 2022

Renamed lv_pinetime_theme files to InfiniTimeTheme and made them C++.
Most colors are now defined in InfiniTimeTheme.h or use the LVGL default colors. There were a few colors unique to a single screen, which I don't think should be defined in the theme at least for now.
A few very dark colors were rounded to bgDark.

Relates to #559

Copy link
Collaborator

@JF002 JF002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Looks like the simulator will need to be updated according to those changes too.

NeroBurner added a commit to InfiniTimeOrg/InfiniSim that referenced this pull request Aug 15, 2022
Support changes in InfiniTimeOrg/InfiniTime#1258

The file `lv_pinetime_theme.c` is renamed to `InfiniTimeTheme.cpp`.
Need to pick up that change in the simulator to compile with the new cpp
file if it exists.

Furthermore use the new `InfiniTimeTheme.h` header in simulator files.

Fixes: #49
NeroBurner added a commit to InfiniTimeOrg/InfiniSim that referenced this pull request Aug 15, 2022
Support changes in InfiniTimeOrg/InfiniTime#1258

The file `lv_pinetime_theme.c` is renamed to `InfiniTimeTheme.cpp`.
Need to pick up that change in the simulator to compile with the new cpp
file if it exists.

Furthermore use the new `InfiniTimeTheme.h` header in simulator files.

Fixes: #49
@NeroBurner
Copy link
Contributor

Supported in InfiniSim introduced with InfiniTimeOrg/InfiniSim#50 👍

@Riksu9000 Riksu9000 merged commit 78fc168 into InfiniTimeOrg:develop Aug 16, 2022
@Riksu9000 Riksu9000 deleted the color-definitions branch August 16, 2022 05:21
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.

3 participants