Skip to content

Commit

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

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

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]
// NO IMPL
};

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

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]
// NO IMPL
};

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

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]
// NO IMPL
};

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

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]
// NO IMPL
};

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

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]
// NO IMPL
};

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

Check failure on line 99 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L99

code should be clang-formatted [-Wclang-format-violations]
// NO IMPL
};

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

Check failure on line 103 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L103

code should be clang-formatted [-Wclang-format-violations]
// NO IMPL
};

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

Check failure on line 107 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L107

code should be clang-formatted [-Wclang-format-violations]
// NO IMPL
};

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

Check failure on line 111 in src/MenuItem.h

View workflow job for this annotation

GitHub Actions / clang_format

src/MenuItem.h#L111

code should be clang-formatted [-Wclang-format-violations]
// NO IMPL
};

virtual void draw() {
draw(display->getCursorRow());
Expand Down

0 comments on commit 6d8568e

Please sign in to comment.