mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +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:
@@ -29,6 +29,7 @@
|
||||
#include "cc_signals.h"
|
||||
#include "cc_timer.h"
|
||||
#include <driver/colorgradient.h>
|
||||
#include <driver/framebuffer.h>
|
||||
#include <driver/fade.h>
|
||||
#include <gui/color.h>
|
||||
|
||||
|
@@ -26,12 +26,12 @@
|
||||
#ifndef __CC_TYPES__
|
||||
#define __CC_TYPES__
|
||||
|
||||
#include <driver/framebuffer.h>
|
||||
#include <system/localize.h>
|
||||
#include <driver/fontrenderer.h>
|
||||
#include <driver/rcinput.h>
|
||||
#include <gui/color_custom.h>
|
||||
|
||||
struct gradientData_t;
|
||||
class CComponentsForm;
|
||||
class CComponentsScrollBar;
|
||||
|
||||
|
Reference in New Issue
Block a user