Reorganized includes.
svn path=/trunk/netsurf/; revision=11567
This commit is contained in:
parent
09400943aa
commit
28da79c796
|
@ -18,7 +18,7 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "ScrollableView.h"
|
||||
#import "cocoa/ScrollableView.h"
|
||||
@class HistoryView;
|
||||
|
||||
@interface BrowserView : ScrollableView {
|
||||
|
|
|
@ -16,8 +16,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "BrowserView.h"
|
||||
#import "HistoryView.h"
|
||||
#import "cocoa/BrowserView.h"
|
||||
#import "cocoa/HistoryView.h"
|
||||
#import "cocoa/font.h"
|
||||
#import "cocoa/plotter.h"
|
||||
|
||||
#import "desktop/browser.h"
|
||||
#import "desktop/history_core.h"
|
||||
|
@ -26,9 +28,6 @@
|
|||
#import "desktop/options.h"
|
||||
#import "desktop/selection.h"
|
||||
|
||||
#import "cocoa/font.h"
|
||||
#import "cocoa/plotter.h"
|
||||
|
||||
@interface BrowserView ()
|
||||
|
||||
- (void) scrollHorizontal: (CGFloat) amount;
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
*/
|
||||
|
||||
|
||||
#import "BrowserViewController.h"
|
||||
#import "BrowserView.h"
|
||||
#import "BrowserWindowController.h"
|
||||
#import "cocoa/BrowserViewController.h"
|
||||
#import "cocoa/BrowserView.h"
|
||||
#import "cocoa/BrowserWindowController.h"
|
||||
|
||||
#import "desktop/browser.h"
|
||||
#import "desktop/history_core.h"
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "BrowserWindowController.h"
|
||||
#import "cocoa/BrowserWindowController.h"
|
||||
|
||||
#import "BrowserViewController.h"
|
||||
#import "PSMTabBarControl.h"
|
||||
#import "PSMRolloverButton.h"
|
||||
#import "URLFieldCell.h"
|
||||
#import "cocoa/BrowserViewController.h"
|
||||
#import "cocoa/PSMTabBarControl/PSMTabBarControl.h"
|
||||
#import "cocoa/PSMTabBarControl/PSMRolloverButton.h"
|
||||
#import "cocoa/URLFieldCell.h"
|
||||
#import "cocoa/gui.h"
|
||||
#import "cocoa/NetsurfApp.h"
|
||||
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "DownloadWindowController.h"
|
||||
#import "cocoa/DownloadWindowController.h"
|
||||
#import "cocoa/gui.h"
|
||||
|
||||
#import "desktop/download.h"
|
||||
#import "desktop/gui.h"
|
||||
#import "cocoa/gui.h"
|
||||
|
||||
@interface DownloadWindowController ()
|
||||
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "FormSelectMenu.h"
|
||||
#import "cocoa/FormSelectMenu.h"
|
||||
#import "cocoa/coordinates.h"
|
||||
|
||||
#import "render/form.h"
|
||||
#import "cocoa/coordinates.h"
|
||||
|
||||
@interface FormSelectMenu ()
|
||||
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "HistoryView.h"
|
||||
#import "cocoa/HistoryView.h"
|
||||
#import "cocoa/font.h"
|
||||
#import "cocoa/coordinates.h"
|
||||
#import "cocoa/plotter.h"
|
||||
|
||||
#import "desktop/browser.h"
|
||||
#import "desktop/history_core.h"
|
||||
#import "desktop/plotters.h"
|
||||
#import "cocoa/font.h"
|
||||
#import "cocoa/coordinates.h"
|
||||
#import "cocoa/plotter.h"
|
||||
|
||||
static NSRect cocoa_history_rect( struct browser_window *bw )
|
||||
{
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
CFLAGS += -I/usr/X11/include
|
||||
CFLAGS += -I/usr/include/libxml2
|
||||
CFLAGS += -Icocoa/PSMTabBarControl
|
||||
CFLAGS += -include cocoa/Prefix.pch
|
||||
|
||||
ifneq ($(wildcard /opt/local*),)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "NetSurfAppDelegate.h"
|
||||
#import "cocoa/NetSurfAppDelegate.h"
|
||||
#import "cocoa/SearchWindowController.h"
|
||||
#import "cocoa/PreferencesWindowController.h"
|
||||
|
||||
|
|
|
@ -16,29 +16,28 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "NetsurfApp.h"
|
||||
|
||||
#import "cocoa/NetsurfApp.h"
|
||||
#import "cocoa/gui.h"
|
||||
#import "cocoa/plotter.h"
|
||||
|
||||
#import "desktop/gui.h"
|
||||
#include "content/urldb.h"
|
||||
#include "content/fetch.h"
|
||||
#include "css/utils.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/history_core.h"
|
||||
#include "desktop/mouse.h"
|
||||
#include "desktop/netsurf.h"
|
||||
#include "desktop/options.h"
|
||||
#include "desktop/plotters.h"
|
||||
#include "desktop/save_complete.h"
|
||||
#include "desktop/selection.h"
|
||||
#include "desktop/textinput.h"
|
||||
#include "render/html.h"
|
||||
#include "utils/url.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/messages.h"
|
||||
#include "utils/utils.h"
|
||||
#import "content/urldb.h"
|
||||
#import "content/fetch.h"
|
||||
#import "css/utils.h"
|
||||
#import "desktop/gui.h"
|
||||
#import "desktop/history_core.h"
|
||||
#import "desktop/mouse.h"
|
||||
#import "desktop/netsurf.h"
|
||||
#import "desktop/options.h"
|
||||
#import "desktop/plotters.h"
|
||||
#import "desktop/save_complete.h"
|
||||
#import "desktop/selection.h"
|
||||
#import "desktop/textinput.h"
|
||||
#import "render/html.h"
|
||||
#import "utils/url.h"
|
||||
#import "utils/log.h"
|
||||
#import "utils/messages.h"
|
||||
#import "utils/utils.h"
|
||||
#import "css/utils.h"
|
||||
|
||||
#ifndef NETSURF_HOMEPAGE
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "ScrollableView.h"
|
||||
#import "cocoa/ScrollableView.h"
|
||||
|
||||
@interface ScrollableView ()
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "ScrollableView.h"
|
||||
#import "cocoa/ScrollableView.h"
|
||||
|
||||
@interface TreeView : ScrollableView {
|
||||
struct tree *treeHandle;
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "TreeView.h"
|
||||
#import "cocoa/TreeView.h"
|
||||
#import "cocoa/coordinates.h"
|
||||
|
||||
#import "desktop/tree.h"
|
||||
#import "desktop/plotters.h"
|
||||
#import "desktop/history_global_core.h"
|
||||
#import "cocoa/coordinates.h"
|
||||
|
||||
@implementation TreeView
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "URLFieldCell.h"
|
||||
#import "cocoa/URLFieldCell.h"
|
||||
|
||||
|
||||
@interface URLFieldCell ()
|
||||
|
|
|
@ -18,9 +18,10 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "image/bitmap.h"
|
||||
#import "cocoa/bitmap.h"
|
||||
|
||||
#import "image/bitmap.h"
|
||||
|
||||
#define BITS_PER_SAMPLE (8)
|
||||
#define SAMPLES_PER_PIXEL (4)
|
||||
#define BITS_PER_PIXEL (BITS_PER_SAMPLE * SAMPLES_PER_PIXEL)
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef COCOA_FONT_H
|
||||
#define COCOA_FONT_H
|
||||
|
||||
#import "desktop/plot_style.h"
|
||||
|
||||
void cocoa_draw_string( CGFloat x, CGFloat y, const char *bytes, size_t length, const plot_font_style_t *style );
|
||||
void cocoa_set_font_scale_factor( float newFactor );
|
||||
|
||||
|
|
17
cocoa/font.m
17
cocoa/font.m
|
@ -18,17 +18,14 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "css/css.h"
|
||||
#include "render/font.h"
|
||||
#include "desktop/options.h"
|
||||
|
||||
#import "font.h"
|
||||
#import "plotter.h"
|
||||
#import "cocoa/plotter.h"
|
||||
#import "cocoa/font.h"
|
||||
|
||||
#import "css/css.h"
|
||||
#import "desktop/options.h"
|
||||
#import "render/font.h"
|
||||
#import "desktop/plotters.h"
|
||||
|
||||
|
||||
static NSLayoutManager *cocoa_prepare_layout_manager( const char *string, size_t length,
|
||||
const plot_font_style_t *style );
|
||||
|
|
|
@ -20,11 +20,10 @@
|
|||
|
||||
#import "cocoa/gui.h"
|
||||
#import "cocoa/plotter.h"
|
||||
|
||||
#import "BrowserView.h"
|
||||
#import "BrowserViewController.h"
|
||||
#import "BrowserWindowController.h"
|
||||
#import "FormSelectMenu.h"
|
||||
#import "cocoa/BrowserView.h"
|
||||
#import "cocoa/BrowserViewController.h"
|
||||
#import "cocoa/BrowserWindowController.h"
|
||||
#import "cocoa/FormSelectMenu.h"
|
||||
|
||||
#import "desktop/gui.h"
|
||||
#import "desktop/netsurf.h"
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
|
||||
#include <Cocoa/Cocoa.h>
|
||||
|
||||
#include "desktop/plotters.h"
|
||||
#import "desktop/plot_style.h"
|
||||
#import "utils/log.h"
|
||||
|
||||
#import "cocoa/font.h"
|
||||
#import "cocoa/plotter.h"
|
||||
#import "cocoa/bitmap.h"
|
||||
|
||||
#import "desktop/plotters.h"
|
||||
#import "desktop/plot_style.h"
|
||||
#import "utils/log.h"
|
||||
#import "css/utils.h"
|
||||
|
||||
static void cocoa_plot_render_path(NSBezierPath *path,const plot_style_t *pstyle);
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import "desktop/browser.h"
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "desktop/browser.h"
|
||||
|
||||
@interface ScheduledCallback : NSObject {
|
||||
void (*callback)( void *userData );
|
||||
void *userData;
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "desktop/browser.h"
|
||||
#import "desktop/plotters.h"
|
||||
#import "content/urldb.h"
|
||||
#import "image/bitmap.h"
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
/* In platform specific thumbnail.c. */
|
||||
bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap,
|
||||
const char *url)
|
||||
|
|
|
@ -16,12 +16,10 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#import <stdbool.h>
|
||||
#import <stdlib.h>
|
||||
#import "utils/url.h"
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "utils/url.h"
|
||||
|
||||
|
||||
char *url_to_path(const char *url)
|
||||
{
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
*/
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#import "utils/utils.h"
|
||||
#import "desktop/tree_url_node.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue