Skip to content

Commit

Permalink
try space between functions
Browse files Browse the repository at this point in the history
  • Loading branch information
forntoh committed Sep 16, 2024
1 parent ebc5a96 commit 6a26102
Showing 1 changed file with 19 additions and 27 deletions.
46 changes: 19 additions & 27 deletions src/MenuItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,36 +76,28 @@ class MenuItem {
*/
void setText(const char* text) { this->text = text; };

virtual void up() {
/* NO IMPL */
};
virtual void down() {
/* NO IMPL */
};
virtual void enter() {
/* NO IMPL */
};
virtual void back() {
/* NO IMPL */
};
virtual void left() {
/* NO IMPL */
};
virtual void right() {
/* NO IMPL */
};
virtual void backspace() {
/* NO IMPL */
};
virtual void typeChar(const char character) {
/* NO IMPL */
};
virtual void clear() {
/* NO IMPL */
};
virtual void up() { /* NO IMPL */ };

Check failure on line 79 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L79

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 79 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L79

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 79 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L79

code should be clang-formatted [-Wclang-format-violations]

virtual void down() { /* NO IMPL */ };

Check failure on line 81 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L81

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 81 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L81

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 81 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L81

code should be clang-formatted [-Wclang-format-violations]

virtual void enter() { /* NO IMPL */ };

Check failure on line 83 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L83

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 83 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L83

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 83 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L83

code should be clang-formatted [-Wclang-format-violations]

virtual void back() { /* NO IMPL */ };

Check failure on line 85 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L85

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 85 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L85

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 85 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L85

code should be clang-formatted [-Wclang-format-violations]

virtual void left() { /* NO IMPL */ };

Check failure on line 87 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L87

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 87 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L87

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 87 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L87

code should be clang-formatted [-Wclang-format-violations]

virtual void right() { /* NO IMPL */ };

Check failure on line 89 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L89

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 89 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L89

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 89 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L89

code should be clang-formatted [-Wclang-format-violations]

virtual void backspace() { /* NO IMPL */ };

Check failure on line 91 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L91

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 91 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L91

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 91 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L91

code should be clang-formatted [-Wclang-format-violations]

virtual void typeChar(const char character) { /* NO IMPL */ };

Check failure on line 93 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L93

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 93 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L93

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 93 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L93

code should be clang-formatted [-Wclang-format-violations]

virtual void clear() { /* NO IMPL */ };

Check failure on line 95 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L95

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 95 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L95

code should be clang-formatted [-Wclang-format-violations]

Check failure on line 95 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L95

code should be clang-formatted [-Wclang-format-violations]

virtual void draw() {
draw(display->getCursorRow());
};

virtual void draw(uint8_t row) {
uint8_t maxCols = display->getMaxCols();
static char* buf = new char[maxCols];
Expand Down

0 comments on commit 6a26102

Please sign in to comment.