move core window API into netsurf header path

This commit is contained in:
Vincent Sanders 2016-08-18 21:07:04 +01:00
parent 5aa2feaa06
commit a8a6098f68
5 changed files with 17 additions and 8 deletions

View File

@ -32,11 +32,11 @@
#include "utils/utils.h"
#include "utils/nsoption.h"
#include "netsurf/browser_window.h"
#include "netsurf/core_window.h"
#include "content/content.h"
#include "content/hlcache.h"
#include "desktop/tree.h"
#include "desktop/core_window.h"
struct tree {
unsigned int flags; /* Tree flags */

View File

@ -31,6 +31,7 @@
#include "netsurf/clipboard.h"
#include "netsurf/layout.h"
#include "netsurf/keypress.h"
#include "netsurf/core_window.h"
#include "content/hlcache.h"
#include "css/utils.h"
@ -39,7 +40,6 @@
#include "desktop/textarea.h"
#include "desktop/treeview.h"
#include "desktop/gui_internal.h"
#include "desktop/core_window.h"
/** @todo get rid of REDRAW_MAX -- need to be able to know window size */
#define REDRAW_MAX 8000

View File

@ -29,8 +29,8 @@
#include "utils/utils.h"
#include "netsurf/plotters.h"
#include "netsurf/mouse.h"
#include "netsurf/core_window.h"
#include "desktop/treeview.h"
#include "desktop/core_window.h"
#include "atari/gui.h"
#include "atari/plot/plot.h"

View File

@ -19,7 +19,7 @@
#ifndef GTK_COREWINDOW_H
#define GTK_COREWINDOW_H
#include "desktop/core_window.h"
#include "netsurf/core_window.h"
/**
* nsgtk core window mouse state

View File

@ -16,12 +16,21 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/** \file
* Core window handling (interface).
/**
* \file
* Interface to core window handling.
*
* This provides a generallised API for frontends to implement which
* allows them to provide a single implementation for general window
* operations on their platform.
*
* General core implementations (cookie manager, global history,
* hotlist and ssl certificate viewer) use this API to perform
* operations like drawing and user input in a portable way.
*/
#ifndef _NETSURF_DESKTOP_CORE_WINDOW_H_
#define _NETSURF_DESKTOP_CORE_WINDOW_H_
#ifndef _NETSURF_CORE_WINDOW_H_
#define _NETSURF_CORE_WINDOW_H_
struct core_window;
struct rect;