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

Finishing up journal documentation #320

Merged
merged 6 commits into from
Jan 2, 2025

Conversation

Viperio19
Copy link
Contributor

Probably my last PR about the journal. There were just some final things I wanted to improve, like finally giving UnkStruct_ov81_021D1610 an actual name (JournalManager) and giving most functions, params and variables in journal_controller.c an actual name as well. Some function names in journal_controller.c could potentially be improved, I wasn't always exactly sure about what graphics related stuff was happening, so see the names for these more as suggestions.

Comment on lines 119 to 120
Window *window1;
Window *window2;
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to something more meaningful that expresses how the two windows differ (or leave them as v0 and v1 for now if you can't tell).

src/applications/journal_display/journal_controller.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@lhearachel lhearachel left a comment

Choose a reason for hiding this comment

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

This generally looks good; just a few bookkeeping things ahead of merge. Thanks for this effort!

src/applications/journal_display/journal_printer.c Outdated Show resolved Hide resolved
src/applications/journal_display/journal_printer.c Outdated Show resolved Hide resolved
Comment on lines 364 to 372
Text_AddPrinterWithParamsAndColor(window, FONT_SYSTEM, journalManager->strbuf, 0, ((16 * 4 + 16) + 16), TEXT_SPEED_NO_TRANSFER, TEXT_COLOR(1, 2, 0), NULL);
Text_AddPrinterWithParamsAndColor(window, FONT_SYSTEM, journalManager->strbuf, 0, TRAINER_EVENT_Y_OFFSET, TEXT_SPEED_NO_TRANSFER, TEXT_COLOR(1, 2, 0), NULL);
Copy link
Collaborator

Choose a reason for hiding this comment

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

👏

@lhearachel lhearachel merged commit 8693817 into pret:main Jan 2, 2025
2 checks passed
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