summaryrefslogtreecommitdiff
path: root/src/gui/scrollarea.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-30 14:58:43 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-30 14:58:43 +0000
commitd0fca301c35ddd1e0091b31e36547143ecbf7076 (patch)
tree73e9b4d15e8be62604e13f924bac34fa32f6d929 /src/gui/scrollarea.cpp
parentbbd44ef322cb26ed326250300e240df6fc19b545 (diff)
downloadmana-client-d0fca301c35ddd1e0091b31e36547143ecbf7076.tar.gz
mana-client-d0fca301c35ddd1e0091b31e36547143ecbf7076.tar.bz2
mana-client-d0fca301c35ddd1e0091b31e36547143ecbf7076.tar.xz
mana-client-d0fca301c35ddd1e0091b31e36547143ecbf7076.zip
Marker area of vertical scrollbar now skinned. Graphics seem lacking for
other parts.
Diffstat (limited to 'src/gui/scrollarea.cpp')
-rw-r--r--src/gui/scrollarea.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/gui/scrollarea.cpp b/src/gui/scrollarea.cpp
index 30460efb..f994ea52 100644
--- a/src/gui/scrollarea.cpp
+++ b/src/gui/scrollarea.cpp
@@ -106,3 +106,53 @@ void ScrollArea::drawBorder(gcn::Graphics *graphics)
draw_skinned_rect(gui_bitmap, &gui_skin.textbox.bg, x, y, w, h);
}
+
+void ScrollArea::drawUpButton(gcn::Graphics *graphics)
+{
+ gcn::ScrollArea::drawUpButton(graphics);
+}
+
+void ScrollArea::drawDownButton(gcn::Graphics *graphics)
+{
+ gcn::ScrollArea::drawDownButton(graphics);
+}
+
+void ScrollArea::drawLeftButton(gcn::Graphics *graphics)
+{
+ gcn::ScrollArea::drawLeftButton(graphics);
+}
+
+void ScrollArea::drawRightButton(gcn::Graphics *graphics)
+{
+ gcn::ScrollArea::drawRightButton(graphics);
+}
+
+void ScrollArea::drawVBar(gcn::Graphics *graphics)
+{
+ int x, y;
+ gcn::Rectangle dim = getVerticalBarDimension();
+ getAbsolutePosition(x, y);
+
+ draw_skinned_rect(gui_bitmap, &gui_skin.listbox.bg,
+ x + dim.x, y + dim.y, dim.width, dim.height);
+}
+
+void ScrollArea::drawHBar(gcn::Graphics *graphics)
+{
+ gcn::ScrollArea::drawHBar(graphics);
+}
+
+void ScrollArea::drawVMarker(gcn::Graphics *graphics)
+{
+ int x, y;
+ gcn::Rectangle dim = getVerticalMarkerDimension();
+ getAbsolutePosition(x, y);
+
+ draw_skinned_rect(gui_bitmap, &gui_skin.listbox.vscroll,
+ x + dim.x, y + dim.y, dim.width, dim.height);
+}
+
+void ScrollArea::drawHMarker(gcn::Graphics *graphics)
+{
+ gcn::ScrollArea::drawHMarker(graphics);
+}