path: root/beos/beos_font.h
diff options
authorFran├žois Revel <>2008-10-10 21:43:25 +0000
committerFran├žois Revel <>2008-10-10 21:43:25 +0000
commit4e79ee3d071df821f51f1a3f2d09bfedaa7af3b1 (patch)
tree75956bc92b844280da04395b9d80f2c4e6b324c7 /beos/beos_font.h
parente4fba7f577d44f3235b2c430191d96ddfc084827 (diff)
- support BITMAP_CLEAR_MEMORY in create_bitmap()
- copying to clipboard now constructs a text_run_array for StyledEdit, that is added to the clipboard. In applications supporting it it pastes the text with the correct fonts and sizes, and the text colors. - tried to find which line in source code the selection starts to open the editor there, but it's not finished so it's disabled. svn path=/trunk/netsurf/; revision=5533
Diffstat (limited to 'beos/beos_font.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/beos/beos_font.h b/beos/beos_font.h
index e6aa39337..2dab57e3d 100644
--- a/beos/beos_font.h
+++ b/beos/beos_font.h
@@ -28,3 +28,6 @@ struct css_style;
bool nsfont_paint(const struct css_style *style,
const char *string, size_t length,
int x, int y, colour bg, colour c);
+void nsbeos_style_to_font(BFont &font,
+ const struct css_style *style);