reduce use of plotters header in framebuffer frontend

This commit is contained in:
Vincent Sanders 2016-05-04 13:00:39 +01:00
parent 43af94f0e5
commit 9406645650
6 changed files with 32 additions and 5 deletions

View File

@ -32,7 +32,6 @@
#include "utils/utils.h"
#include "utils/log.h"
#include "desktop/browser.h"
#include "desktop/plotters.h"
#include "desktop/textinput.h"
#include "framebuffer/gui.h"

View File

@ -29,6 +29,7 @@
#include "utils/log.h"
#include "desktop/browser.h"
#include "desktop/plotters.h"
#include "framebuffer/gui.h"
#include "framebuffer/fbtk.h"

View File

@ -22,7 +22,7 @@
#include <stdbool.h>
#include <libnsfb.h>
#include "desktop/plotters.h"
#include "desktop/plot_style.h"
#include "framebuffer/gui.h"
#include "framebuffer/fbtk.h"

View File

@ -32,6 +32,7 @@
#include "utils/log.h"
#include "utils/utf8.h"
#include "desktop/browser.h"
#include "desktop/plotters.h"
#include "image/bitmap.h"
#include "framebuffer/gui.h"

View File

@ -1,4 +1,28 @@
#include "desktop/plotters.h"
/*
* Copyright 2008 Vincent Sanders <vince@simtec.co.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
* NetSurf is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* NetSurf is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* \file
* framebuffer interface.
*/
#ifndef NETSURF_FB_FRAMEBUFFER_H
#define NETSURF_FB_FRAMEBUFFER_H
extern const struct plotter_table fb_plotters;
@ -12,3 +36,5 @@ bool framebuffer_set_cursor(struct fbtk_bitmap *bm);
* @return return old surface
*/
nsfb_t *framebuffer_set_surface(nsfb_t *new_nsfb);
#endif

View File

@ -41,6 +41,8 @@
#include "desktop/gui_window.h"
#include "desktop/gui_misc.h"
#include "desktop/netsurf.h"
#include "content/urldb.h"
#include "content/fetch.h"
#include "framebuffer/gui.h"
#include "framebuffer/fbtk.h"
@ -53,8 +55,6 @@
#include "framebuffer/fetch.h"
#include "framebuffer/bitmap.h"
#include "content/urldb.h"
#include "content/fetch.h"
#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrutc"