summaryrefslogtreecommitdiff
path: root/beos/beos_plotters.cpp
diff options
context:
space:
mode:
authorFrançois Revel <mmu_man@netsurf-browser.org>2010-01-02 02:14:21 +0000
committerFrançois Revel <mmu_man@netsurf-browser.org>2010-01-02 02:14:21 +0000
commitba2396e554aa4e156c6574b74e2cc39ec811205c (patch)
tree045ffbf6bdb79ee45ae2b3a11077b8bba03964fe /beos/beos_plotters.cpp
parent310279b2d5124eace31eaa630b8c1b8ce2bf8c8b (diff)
downloadnetsurf-ba2396e554aa4e156c6574b74e2cc39ec811205c.tar.gz
netsurf-ba2396e554aa4e156c6574b74e2cc39ec811205c.tar.bz2
s/TRANSPARENT/NS_TRANSPARENT/
svn path=/trunk/netsurf/; revision=9773
Diffstat (limited to 'beos/beos_plotters.cpp')
-rw-r--r--beos/beos_plotters.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/beos/beos_plotters.cpp b/beos/beos_plotters.cpp
index aff11a088..25e067d87 100644
--- a/beos/beos_plotters.cpp
+++ b/beos/beos_plotters.cpp
@@ -305,7 +305,7 @@ bool nsbeos_plot_polygon(const int *p, unsigned int n, const plot_style_t *style
points[i] = BPoint(p[2 * i], p[2 * i + 1]);
}
- if (style->fill_colour == TRANSPARENT)
+ if (style->fill_colour == NS_TRANSPARENT)
view->StrokePolygon(points, (int32)n);
else
view->FillPolygon(points, (int32)n);
@@ -522,7 +522,7 @@ static bool nsbeos_plot_bbitmap(int x, int y, int width, int height,
BRect rect(x, y, x + width - 1, y + height - 1);
/*
rgb_color old = view->LowColor();
- if (bg != TRANSPARENT) {
+ if (bg != NS_TRANSPARENT) {
view->SetLowColor(nsbeos_rgb_colour(bg));
view->FillRect(rect, B_SOLID_LOW);
}
@@ -763,11 +763,11 @@ bool nsbeos_plot_path(const float *p, unsigned int n, colour fill, float width,
float old_pen = view->PenSize();
view->SetPenSize(width);
view->MovePenTo(0, 0);
- if (fill != TRANSPARENT) {
+ if (fill != NS_TRANSPARENT) {
view->SetHighColor(nsbeos_rgb_colour(fill));
view->FillShape(&shape);
}
- if (c != TRANSPARENT) {
+ if (c != NS_TRANSPARENT) {
view->SetHighColor(nsbeos_rgb_colour(c));
view->StrokeShape(&shape);
}
@@ -783,7 +783,7 @@ bool nsbeos_plot_path(const float *p, unsigned int n, colour fill, float width,
rgb_color nsbeos_rgb_colour(colour c)
{
rgb_color color;
- if (c == TRANSPARENT)
+ if (c == NS_TRANSPARENT)
return B_TRANSPARENT_32_BIT;
color.red = c & 0x0000ff;
color.green = (c & 0x00ff00) >> 8;