mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Update windows frontend to cope with split operations table headers
This commit is contained in:
parent
ac70da346c
commit
f0a4422701
@ -24,14 +24,14 @@
|
||||
#include <shlobj.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "content/fetch.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/download.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/url.h"
|
||||
#include "utils/nsurl.h"
|
||||
#include "utils/utils.h"
|
||||
#include "content/fetch.h"
|
||||
#include "desktop/gui_download.h"
|
||||
#include "desktop/download.h"
|
||||
|
||||
#include "windows/download.h"
|
||||
#include "windows/gui.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include <time.h>
|
||||
#include <windows.h>
|
||||
#include "desktop/gui.h"
|
||||
|
||||
extern struct gui_download_table *win32_download_table;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
/*
|
||||
* Copyright 2005 James Bursa <bursa@users.sourceforge.net>
|
||||
* Copyright 2008 Vincent Sanders <vince@simtec.co.uk>
|
||||
* Copyright 2009 Mark Benjamin <netsurf-browser.org.MarkBenjamin@dfgh.net>
|
||||
* Copyright 2009 - 2014 Vincent Sanders <vince@netsurf-browser.org>
|
||||
* Copyright 2009 - 2013 Michael Drake <tlsa@netsurf-browser.org>
|
||||
*
|
||||
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
||||
*
|
||||
@ -18,21 +17,24 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <assert.h>
|
||||
/**
|
||||
* \file
|
||||
* Windows font handling implementation.
|
||||
*/
|
||||
|
||||
#include "utils/config.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <assert.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "desktop/font.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "utils/utf8.h"
|
||||
#include "desktop/font.h"
|
||||
#include "desktop/gui_utf8.h"
|
||||
|
||||
#include "windows/font.h"
|
||||
#include "windows/gui.h"
|
||||
#include "windows/plot.h"
|
||||
|
||||
HWND font_hwnd;
|
||||
|
||||
nserror utf8_to_font_encoding(const struct font_desc* font,
|
||||
const char *string,
|
||||
|
@ -20,8 +20,7 @@
|
||||
#ifndef _NETSURF_WINDOWS_FONT_H_
|
||||
#define _NETSURF_WINDOWS_FONT_H_
|
||||
|
||||
#include <windows.h>
|
||||
#include "utils/utf8.h"
|
||||
extern HWND font_hwnd;
|
||||
|
||||
struct font_desc {
|
||||
const char *name;
|
||||
|
@ -17,18 +17,23 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "utils/config.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "utils/config.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <windowsx.h>
|
||||
#include <commctrl.h>
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/file.h"
|
||||
#include "utils/corestrings.h"
|
||||
#include "utils/url.h"
|
||||
#include "content/urldb.h"
|
||||
#include "content/fetch.h"
|
||||
#include "desktop/browser_history.h"
|
||||
@ -38,12 +43,10 @@
|
||||
#include "desktop/plotters.h"
|
||||
#include "desktop/textinput.h"
|
||||
#include "render/html.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/file.h"
|
||||
#include "utils/corestrings.h"
|
||||
#include "utils/url.h"
|
||||
#include "desktop/gui_window.h"
|
||||
#include "desktop/gui_clipboard.h"
|
||||
#include "desktop/gui_misc.h"
|
||||
#include "desktop/gui_fetch.h"
|
||||
|
||||
#include "windows/window.h"
|
||||
#include "windows/about.h"
|
||||
@ -66,7 +69,6 @@ HINSTANCE hInstance; /** win32 application instance handle. */
|
||||
struct gui_window *input_window = NULL;
|
||||
struct gui_window *search_current_window;
|
||||
struct gui_window *window_list = NULL;
|
||||
HWND font_hwnd;
|
||||
|
||||
static int open_windows = 0;
|
||||
|
||||
|
@ -20,10 +20,6 @@
|
||||
#ifndef _NETSURF_WINDOWS_GUI_H_
|
||||
#define _NETSURF_WINDOWS_GUI_H_
|
||||
|
||||
#include <windows.h>
|
||||
#include "desktop/gui.h"
|
||||
#include "windows/localhistory.h"
|
||||
|
||||
struct gui_file_table *win32_file_table;
|
||||
extern struct gui_window_table *win32_window_table;
|
||||
extern struct gui_clipboard_table *win32_clipboard_table;
|
||||
@ -61,7 +57,6 @@ struct nsws_pointers {
|
||||
extern struct gui_window *window_list;
|
||||
extern char *options_file_location;
|
||||
|
||||
extern HWND font_hwnd;
|
||||
|
||||
HWND gui_window_main_window(struct gui_window *);
|
||||
HWND gui_window_toolbar(struct gui_window *);
|
||||
|
@ -25,7 +25,7 @@ void nsws_localhistory_open(struct gui_window *gw);
|
||||
void nsws_localhistory_close(struct gui_window *gw);
|
||||
|
||||
/* creates localhistory window */
|
||||
struct nsws_localhistory * nsws_window_create_localhistory(struct gui_window *gw);
|
||||
struct nsws_localhistory *nsws_window_create_localhistory(struct gui_window *gw);
|
||||
|
||||
nserror nsws_create_localhistory_class(HINSTANCE hinstance);
|
||||
|
||||
|
@ -16,29 +16,28 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "utils/config.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "desktop/gui.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/filepath.h"
|
||||
#include "utils/file.h"
|
||||
#include "utils/nsurl.h"
|
||||
#include "content/fetchers/resource.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/gui_fetch.h"
|
||||
#include "desktop/netsurf.h"
|
||||
|
||||
#include "windows/findfile.h"
|
||||
#include "windows/drawable.h"
|
||||
#include "windows/gui.h"
|
||||
#include "windows/download.h"
|
||||
#include "windows/localhistory.h"
|
||||
#include "windows/gui.h"
|
||||
|
||||
static char **respaths; /** resource search path vector. */
|
||||
|
||||
|
@ -17,20 +17,19 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "utils/config.h"
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "utils/config.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "utils/utf8.h"
|
||||
#include "utils/utils.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/mouse.h"
|
||||
#include "desktop/gui_window.h"
|
||||
#include "desktop/plotters.h"
|
||||
|
||||
#include "windows/bitmap.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include "desktop/gui.h"
|
||||
|
||||
extern const struct plotter_table win_plotters;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user