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:
Stefan Seyfried
2017-02-05 13:05:07 +01:00
parent dcd9b982ad
commit 63b6efd1f5
60 changed files with 59 additions and 64 deletions

View File

@@ -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>

View File

@@ -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;