davetcc / tcMenu

Menu library for Arduino, mbed and ESP with designer UI and remote control capabilities.
https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/
Apache License 2.0
275 stars 25 forks source link

Headers not included #273

Closed rosenhauer closed 1 year ago

rosenhauer commented 1 year ago

Error when using Touch input:

In file included from XXX_menu.cpp:12:0: XXX_menu.h:31:8: error: 'MenuTouchScreenManager' does not name a type extern MenuTouchScreenManager touchScreen; In v3.0.0 the #include <graphics/MenuTouchScreenEncoder.h> line is not included in the XXX_menu.h file when adding touch interface to the menu.

After adding it to line 18 the menu compiles.

davetcc commented 1 year ago

Thanks I’ll take a look at this when I get some time and feed back.

davetcc commented 1 year ago

As per the other comment, I'm doing some work on touch at the moment to support a couple of new interfaces, and tidy up the existing support. I'll check this at the same time.

davetcc commented 1 year ago

I think I have all the cases in 3.1, if not after upgrading please do reopen and I'll look again.