mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-18 15:17:42 +03:00
clang-format-fix
This commit is contained in:
parent
a29ff93f9c
commit
2614d1da28
@ -52,7 +52,7 @@ void EpubReaderActivity::onEnter() {
|
||||
updateRequired = true;
|
||||
|
||||
xTaskCreate(&EpubReaderActivity::taskTrampoline, "EpubReaderActivityTask",
|
||||
24576, // Stack size
|
||||
24576, // Stack size
|
||||
this, // Parameters
|
||||
1, // Priority
|
||||
&displayTaskHandle // Task handle
|
||||
@ -321,8 +321,7 @@ void EpubReaderActivity::renderScreen() {
|
||||
return renderScreen();
|
||||
}
|
||||
|
||||
Serial.printf("[%lu] [ERS] Page loaded: %d elements, %d footnotes\n",
|
||||
millis(), p->elementCount, p->footnoteCount);
|
||||
Serial.printf("[%lu] [ERS] Page loaded: %d elements, %d footnotes\n", millis(), p->elementCount, p->footnoteCount);
|
||||
|
||||
// Copy footnotes from page to currentPageFootnotes
|
||||
currentPageFootnotes.clear();
|
||||
|
||||
@ -7,11 +7,11 @@
|
||||
#include "../Activity.h"
|
||||
|
||||
class FootnotesData {
|
||||
private:
|
||||
private:
|
||||
FootnoteEntry entries[16];
|
||||
int count;
|
||||
|
||||
public:
|
||||
public:
|
||||
FootnotesData() : count(0) {
|
||||
for (int i = 0; i < 16; i++) {
|
||||
entries[i].number[0] = '\0';
|
||||
@ -53,7 +53,7 @@ class EpubReaderFootnotesActivity final : public Activity {
|
||||
const std::function<void(const char*)> onSelectFootnote;
|
||||
int selectedIndex;
|
||||
|
||||
public:
|
||||
public:
|
||||
EpubReaderFootnotesActivity(GfxRenderer& renderer, InputManager& inputManager, const FootnotesData& footnotes,
|
||||
const std::function<void()>& onGoBack,
|
||||
const std::function<void(const char*)>& onSelectFootnote)
|
||||
@ -67,6 +67,6 @@ public:
|
||||
void onExit() override;
|
||||
void loop() override;
|
||||
|
||||
private:
|
||||
private:
|
||||
void render();
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user