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)


Origin commit data
------------------
Commit: e490f84ea8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
This commit is contained in:
Stefan Seyfried
2017-02-05 13:05:07 +01:00
committed by Michael Liebmann
parent 66fc1a706f
commit 8b4c30e093
59 changed files with 59 additions and 63 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;