Skip to content

Commit

Permalink
Remove useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
forntoh committed Sep 16, 2024
1 parent 7e42459 commit 343dfb8
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions src/MenuItem.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
MIT License
Copyright (c) 2020-2023 Forntoh Thomas
Copyright (c) 2020-2024 Forntoh Thomas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -107,23 +107,6 @@ class MenuItem {
};
#define ITEM_BASIC(...) (new MenuItem(__VA_ARGS__))

/**
*
* # ItemHeader
*
* This item must be present at the all menus collections *(the first item in
* the array)*.
*
* **Example**
*
* ```cpp
* MenuItem mainMenu[] = {ItemHeader(),
* MenuItem("Item 1"),
* MenuItem("Item 2"),
* ...
* ```
*/

class ItemHeader : public MenuItem {
protected:
MenuItem** parent = NULL;
Expand All @@ -148,24 +131,6 @@ class ItemHeader : public MenuItem {
}
};

/**
* ---
*
* # ItemFooter
*
* This item must be present at the all menus *(the last item in the array)*
*
* **Example**
*
* ```cpp
* MenuItem mainMenu[] = {ItemHeader(),
* MenuItem("Item 1"),
* MenuItem("Item 2"),
* ...
* ItemFooter()};
* ```
*/

class ItemFooter : public MenuItem {
public:
/**
Expand Down

0 comments on commit 343dfb8

Please sign in to comment.