move themse install to its own header
This commit is contained in:
parent
4cce3e4235
commit
46f369ca9e
|
@ -67,6 +67,7 @@
|
||||||
#include "desktop/scrollbar.h"
|
#include "desktop/scrollbar.h"
|
||||||
#include "desktop/selection.h"
|
#include "desktop/selection.h"
|
||||||
#include "desktop/plotters.h"
|
#include "desktop/plotters.h"
|
||||||
|
#include "desktop/theme.h"
|
||||||
#include "desktop/gui_misc.h"
|
#include "desktop/gui_misc.h"
|
||||||
#include "desktop/gui_window.h"
|
#include "desktop/gui_window.h"
|
||||||
#include "desktop/gui_internal.h"
|
#include "desktop/gui_internal.h"
|
||||||
|
|
|
@ -651,20 +651,6 @@ bool browser_window_is_frameset(struct browser_window *bw);
|
||||||
nserror browser_window_get_scrollbar_type(struct browser_window *bw,
|
nserror browser_window_get_scrollbar_type(struct browser_window *bw,
|
||||||
browser_scrolling *h, browser_scrolling *v);
|
browser_scrolling *h, browser_scrolling *v);
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Dump debug info concerning the browser window's contents to file
|
|
||||||
*
|
|
||||||
* \param bw The browser window
|
|
||||||
* \param f The file to dump to
|
|
||||||
*/
|
|
||||||
nserror browser_window_debug_dump(struct browser_window *bw, FILE *f, enum content_debug op);
|
|
||||||
|
|
||||||
/* In platform specific theme_install.c. */
|
|
||||||
#ifdef WITH_THEME_INSTALL
|
|
||||||
void theme_install_start(struct hlcache_handle *c);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the DPI of the browser.
|
* Set the DPI of the browser.
|
||||||
*
|
*
|
||||||
|
@ -679,4 +665,12 @@ nserror browser_set_dpi(int dpi);
|
||||||
*/
|
*/
|
||||||
int browser_get_dpi(void);
|
int browser_get_dpi(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dump debug info concerning the browser window's contents to file
|
||||||
|
*
|
||||||
|
* \param bw The browser window
|
||||||
|
* \param f The file to dump to
|
||||||
|
*/
|
||||||
|
nserror browser_window_debug_dump(struct browser_window *bw, FILE *f, enum content_debug op);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2014 Vincent Sanders <vince@nesturf-browser.org>
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
* GUI Themeing interface.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _NETSURF_DESKTOP_THEME_H_
|
||||||
|
#define _NETSURF_DESKTOP_THEME_H_
|
||||||
|
|
||||||
|
/* In platform specific theme_install.c. */
|
||||||
|
|
||||||
|
void theme_install_start(struct hlcache_handle *c);
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
|
@ -29,6 +29,7 @@
|
||||||
#include "utils/messages.h"
|
#include "utils/messages.h"
|
||||||
#include "utils/utils.h"
|
#include "utils/utils.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
|
#include "desktop/theme.h"
|
||||||
#include "content/content.h"
|
#include "content/content.h"
|
||||||
#include "content/content_type.h"
|
#include "content/content_type.h"
|
||||||
#include "content/hlcache.h"
|
#include "content/hlcache.h"
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include "content/content.h"
|
#include "content/content.h"
|
||||||
#include "content/hlcache.h"
|
#include "content/hlcache.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
|
#include "desktop/theme.h"
|
||||||
|
|
||||||
#include "riscos/dialog.h"
|
#include "riscos/dialog.h"
|
||||||
#include "riscos/gui.h"
|
#include "riscos/gui.h"
|
||||||
|
|
Loading…
Reference in New Issue