Skip to content

Commit

Permalink
[menu] Add optional allocator for ui menu classes (#5)
Browse files Browse the repository at this point in the history
* [menu] Add optional allocator for ui menu classes, used for destroying AbstractViews

* [menu] remove coupling between modm gui and modm menu view and menu

This is because the gui stuff requires colored menus
but the menu code should not have to have colored
menus. This wouldn't be an issue if we could dynamic
cast but on certain devices you can't do this.
  • Loading branch information
MatthewMArnold authored and OroArmor committed Jun 27, 2024
1 parent 903f24e commit df10c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/ui/menu/abstract_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#ifndef MODM_ABSTRACT_VIEW_HPP
#define MODM_ABSTRACT_VIEW_HPP

#include <modm/utils/allocator.hpp>
#include <modm/utils/allocator/static.hpp>

#include "iabstract_view.hpp"

Expand Down

0 comments on commit df10c59

Please sign in to comment.