diff options
author | François Revel <mmu_man@netsurf-browser.org> | 2008-10-10 21:43:25 +0000 |
---|---|---|
committer | François Revel <mmu_man@netsurf-browser.org> | 2008-10-10 21:43:25 +0000 |
commit | 4e79ee3d071df821f51f1a3f2d09bfedaa7af3b1 (patch) | |
tree | 75956bc92b844280da04395b9d80f2c4e6b324c7 /beos/beos_font.h | |
parent | e4fba7f577d44f3235b2c430191d96ddfc084827 (diff) | |
download | netsurf-4e79ee3d071df821f51f1a3f2d09bfedaa7af3b1.tar.gz netsurf-4e79ee3d071df821f51f1a3f2d09bfedaa7af3b1.tar.bz2 |
- 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')
-rw-r--r-- | beos/beos_font.h | 3 |
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); |