summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
commit1165edf662baa3286ff76df54f2db6819340d0a3 (patch)
treeef3c9d96bfe66869e7c06fa06e1388fd7c3dd8ee /beos
parenta3e205bbd9cff0a189b3a5a03c676ace9c5ee8dd (diff)
downloadnetsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.gz
netsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.bz2
remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
Diffstat (limited to 'beos')
-rw-r--r--beos/beos_plotters.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/beos/beos_plotters.cpp b/beos/beos_plotters.cpp
index 754c0d75d..dabd95821 100644
--- a/beos/beos_plotters.cpp
+++ b/beos/beos_plotters.cpp
@@ -61,7 +61,6 @@ cairo_t *current_cr;
* the right-bottom pixel is actually part of the BRect!
*/
-static bool nsbeos_plot_clg(colour c);
static bool nsbeos_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed);
static bool nsbeos_plot_line(int x0, int y0, int x1, int y1, int width,
@@ -95,7 +94,6 @@ static const rgb_color kBlackColor = { 0, 0, 0, 255 };
struct plotter_table plot;
const struct plotter_table nsbeos_plotters = {
- nsbeos_plot_clg,
nsbeos_plot_rectangle,
nsbeos_plot_line,
nsbeos_plot_polygon,
@@ -141,27 +139,6 @@ void nsbeos_current_gc_set(BView *view)
current_view = view;
}
-
-bool nsbeos_plot_clg(colour c)
-{
-#warning BView::Invalidate() ?
-
- BView *view;
-
- view = nsbeos_current_gc/*_lock*/();
- if (view == NULL) {
- warn_user("No GC", 0);
- return false;
- }
-
- nsbeos_set_colour(c);
- view->FillRect(view->Bounds());
-
- //nsbeos_current_gc_unlock();
-
- return true;
-}
-
bool nsbeos_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed)
{