mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-17 02:13:41 +02:00
reduce dependencies on driver/rcinput.h
* add new header that only contains neutrino_msg_t and friends, often this is all that's needed instead of full rcinput.h * directly include rcinput.h in some cpp files instead of relying on accidental inclusion in some header * add class forward declarations to avoid dragging in rcinput indirectly This could use more work to further reduce the impact; maybe separating the CRCinput::key_* constants from the rcinput class would be good.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#include <gui/widget/icons.h>
|
||||
#include <string>
|
||||
#include <driver/neutrinofonts.h>
|
||||
#include <driver/rcinput.h>
|
||||
#include <driver/neutrino_msg_t.h>
|
||||
|
||||
#define COL_BUTTON_BODY COL_MENUFOOT_PLUS_0
|
||||
#define COL_BUTTON_TEXT_ENABLED COL_MENUCONTENTSELECTED_PLUS_0
|
||||
|
Reference in New Issue
Block a user