NetSurf
clipboard.h
Go to the documentation of this file.
1/*
2 * Copyright 2008-2009, 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
3 *
4 * This file is part of NetSurf, http://www.netsurf-browser.org/
5 *
6 * NetSurf is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * NetSurf is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef AMIGA_CLIPBOARD_H
20#define AMIGA_CLIPBOARD_H
21#include <stdbool.h>
22
23struct bitmap;
24struct hlcache_handle;
25struct selection;
26struct gui_window;
27struct gui_window_2;
29
31
32void gui_start_selection(struct gui_window *g);
33
34void ami_clipboard_init(void);
35void ami_clipboard_free(void);
36void ami_drag_selection(struct gui_window *g);
37bool ami_easy_clipboard(const char *text);
39#ifdef WITH_NS_SVG
40bool ami_easy_clipboard_svg(struct hlcache_handle *c);
41#endif
42#endif
void ami_clipboard_free(void)
Definition: clipboard.c:82
bool ami_easy_clipboard(const char *text)
Definition: clipboard.c:332
void ami_drag_selection(struct gui_window *g)
Definition: clipboard.c:266
void ami_clipboard_init(void)
Definition: clipboard.c:70
struct gui_clipboard_table * amiga_clipboard_table
Definition: clipboard.c:381
void gui_start_selection(struct gui_window *g)
Start drag-selecting text within a browser window (RO-dependent part)
Definition: clipboard.c:87
bool ami_easy_clipboard_bitmap(struct bitmap *bitmap)
Definition: clipboard.c:338
RISC OS wimp toolkit bitmap.
Definition: bitmap.c:68
function table for clipboard operations.
Definition: clipboard.h:42
first entry in window list
Definition: gui.c:298
High-level cache handle.
Definition: hlcache.c:66
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.
Definition: plot.c:978