mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
replace framebuffer.h include with forward declaration
instead of including framebuffer.h almost everywhere, replace it with class CFrameBuffer forward declarations and/or generic system includes. Add a hack to define fb_pixel_t to config.h (one reason for framebuffer.h includes was the fb_pixel_t define)
This commit is contained in:
committed by
M. Liebmann
parent
aed22b3788
commit
e490f84ea8
@@ -36,12 +36,10 @@
|
||||
#ifndef __MENU__
|
||||
#define __MENU__
|
||||
|
||||
#include <driver/framebuffer.h>
|
||||
#include <driver/rcinput.h>
|
||||
#include <system/localize.h>
|
||||
#include <gui/widget/buttons.h>
|
||||
#include <gui/widget/icons.h>
|
||||
#include <gui/color.h>
|
||||
#include <gui/plugins.h>
|
||||
#include <gui/components/cc.h>
|
||||
#include <string>
|
||||
@@ -58,6 +56,8 @@ extern "C" {
|
||||
|
||||
typedef int mn_widget_id_t;
|
||||
typedef int menu_item_disable_cond_t;
|
||||
|
||||
class CFrameBuffer;
|
||||
class CMenuWidget;
|
||||
struct menu_return
|
||||
{
|
||||
|
Reference in New Issue
Block a user