diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 18:37:50 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-09 18:37:50 +0000 |
commit | e8fe0e64fdf98eb531b2dcdd23a70f2b9af8efc8 (patch) | |
tree | 7e25c9929d2534222204b55a890920cd61e688f7 | |
parent | 5833549a357815d99d2f3450469d82e1dcc00c7c (diff) | |
download | netsurf-e8fe0e64fdf98eb531b2dcdd23a70f2b9af8efc8.tar.gz netsurf-e8fe0e64fdf98eb531b2dcdd23a70f2b9af8efc8.tar.bz2 |
Remove nsbeos_plot_set_scale(), nsbeos_plot_get_scale() and nsbeos_plot_scale.
svn path=/trunk/netsurf/; revision=11944
-rw-r--r-- | beos/beos_plotters.cpp | 11 | ||||
-rw-r--r-- | beos/beos_plotters.h | 2 | ||||
-rw-r--r-- | beos/beos_scaffolding.cpp | 1 | ||||
-rw-r--r-- | beos/beos_thumbnail.cpp | 1 | ||||
-rw-r--r-- | beos/beos_window.cpp | 1 |
5 files changed, 0 insertions, 16 deletions
diff --git a/beos/beos_plotters.cpp b/beos/beos_plotters.cpp index 1d4baedb0..ee8d312d2 100644 --- a/beos/beos_plotters.cpp +++ b/beos/beos_plotters.cpp @@ -79,7 +79,6 @@ static bool nsbeos_plot_bitmap(int x, int y, int width, int height, #if 0 /* GTK */ static GdkRectangle cliprect; #endif -static float nsbeos_plot_scale = 1.0; #warning make patterns nicer static const pattern kDottedPattern = { 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa }; @@ -780,16 +779,6 @@ void nsbeos_set_colour(colour c) #endif } -void nsbeos_plot_set_scale(float s) -{ - nsbeos_plot_scale = s; -} - -float nsbeos_plot_get_scale(void) -{ - return nsbeos_plot_scale; -} - /** Plot a caret. It is assumed that the plotters have been set up. */ void nsbeos_plot_caret(int x, int y, int h) { diff --git a/beos/beos_plotters.h b/beos/beos_plotters.h index bcf4f0fdb..15b97a89e 100644 --- a/beos/beos_plotters.h +++ b/beos/beos_plotters.h @@ -49,8 +49,6 @@ extern BView *nsbeos_current_gc_lock(void); extern void nsbeos_current_gc_unlock(void); extern void nsbeos_current_gc_set(BView *view); -void nsbeos_plot_set_scale(float s); -float nsbeos_plot_get_scale(void); rgb_color nsbeos_rgb_colour(colour c); void nsbeos_set_colour(colour c); void nsbeos_plot_caret(int x, int y, int h); diff --git a/beos/beos_scaffolding.cpp b/beos/beos_scaffolding.cpp index 11705382b..b1c604829 100644 --- a/beos/beos_scaffolding.cpp +++ b/beos/beos_scaffolding.cpp @@ -1390,7 +1390,6 @@ gboolean nsbeos_history_expose_event(beosWidget *widget, current_cr = gdk_cairo_create(current_drawable); #endif plot = nsbeos_plotters; - nsbeos_plot_set_scale(1.0); history_redraw(bw->history); diff --git a/beos/beos_thumbnail.cpp b/beos/beos_thumbnail.cpp index 881d5a071..a3bd2cd56 100644 --- a/beos/beos_thumbnail.cpp +++ b/beos/beos_thumbnail.cpp @@ -119,7 +119,6 @@ bool thumbnail_create(hlcache_handle *content, struct bitmap *bitmap, plot = nsbeos_plotters; plot_scale = thumbnail_get_redraw_scale(content, big_width); - nsbeos_plot_set_scale(plot_scale); /* render the content */ thumbnail_redraw(content, big_width, big_height); diff --git a/beos/beos_window.cpp b/beos/beos_window.cpp index 9a65f4832..2600b85af 100644 --- a/beos/beos_window.cpp +++ b/beos/beos_window.cpp @@ -948,7 +948,6 @@ void nsbeos_window_expose_event(BView *view, gui_window *g, BMessage *message) view->Window()->BeginViewTransaction(); plot = nsbeos_plotters; - nsbeos_plot_set_scale(g->bw->scale); current_redraw_browser = g->bw; clip.x0 = (int)updateRect.left; |