mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-20 11:12:46 +03:00
reduce use of plotters header in framebuffer frontend
This commit is contained in:
parent
43af94f0e5
commit
9406645650
@ -32,7 +32,6 @@
|
|||||||
#include "utils/utils.h"
|
#include "utils/utils.h"
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
#include "desktop/plotters.h"
|
|
||||||
#include "desktop/textinput.h"
|
#include "desktop/textinput.h"
|
||||||
|
|
||||||
#include "framebuffer/gui.h"
|
#include "framebuffer/gui.h"
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
|
#include "desktop/plotters.h"
|
||||||
|
|
||||||
#include "framebuffer/gui.h"
|
#include "framebuffer/gui.h"
|
||||||
#include "framebuffer/fbtk.h"
|
#include "framebuffer/fbtk.h"
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <libnsfb.h>
|
#include <libnsfb.h>
|
||||||
|
|
||||||
#include "desktop/plotters.h"
|
#include "desktop/plot_style.h"
|
||||||
#include "framebuffer/gui.h"
|
#include "framebuffer/gui.h"
|
||||||
#include "framebuffer/fbtk.h"
|
#include "framebuffer/fbtk.h"
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "utils/utf8.h"
|
#include "utils/utf8.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
|
#include "desktop/plotters.h"
|
||||||
#include "image/bitmap.h"
|
#include "image/bitmap.h"
|
||||||
|
|
||||||
#include "framebuffer/gui.h"
|
#include "framebuffer/gui.h"
|
||||||
|
@ -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;
|
extern const struct plotter_table fb_plotters;
|
||||||
|
|
||||||
@ -12,3 +36,5 @@ bool framebuffer_set_cursor(struct fbtk_bitmap *bm);
|
|||||||
* @return return old surface
|
* @return return old surface
|
||||||
*/
|
*/
|
||||||
nsfb_t *framebuffer_set_surface(nsfb_t *new_nsfb);
|
nsfb_t *framebuffer_set_surface(nsfb_t *new_nsfb);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -41,6 +41,8 @@
|
|||||||
#include "desktop/gui_window.h"
|
#include "desktop/gui_window.h"
|
||||||
#include "desktop/gui_misc.h"
|
#include "desktop/gui_misc.h"
|
||||||
#include "desktop/netsurf.h"
|
#include "desktop/netsurf.h"
|
||||||
|
#include "content/urldb.h"
|
||||||
|
#include "content/fetch.h"
|
||||||
|
|
||||||
#include "framebuffer/gui.h"
|
#include "framebuffer/gui.h"
|
||||||
#include "framebuffer/fbtk.h"
|
#include "framebuffer/fbtk.h"
|
||||||
@ -53,8 +55,6 @@
|
|||||||
#include "framebuffer/fetch.h"
|
#include "framebuffer/fetch.h"
|
||||||
#include "framebuffer/bitmap.h"
|
#include "framebuffer/bitmap.h"
|
||||||
|
|
||||||
#include "content/urldb.h"
|
|
||||||
#include "content/fetch.h"
|
|
||||||
|
|
||||||
#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrutc"
|
#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrutc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user