From f320ee25c74b6f24db58d97c0129de6e94db3345 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 29 Jan 2012 13:49:54 +0000 Subject: FS#79 Added ui::Scrollbar class. --- src/ui/Makefile.am | 2 ++ src/ui/slider.cc | 1 + 2 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am index c753408..ef3289f 100644 --- a/src/ui/Makefile.am +++ b/src/ui/Makefile.am @@ -23,6 +23,7 @@ noinst_HEADERS = \ paint.h \ palette.h \ plaintext.h \ + scrollbar.h \ scrollpane.h \ slider.h \ toolbar.h \ @@ -44,6 +45,7 @@ libui_la_SOURCES = \ paint.cc \ palette.cc \ plaintext.cc \ + scrollbar.cc \ scrollpane.cc \ slider.cc \ toolbar.cc \ diff --git a/src/ui/slider.cc b/src/ui/slider.cc index 72c0ca6..1fa999b 100644 --- a/src/ui/slider.cc +++ b/src/ui/slider.cc @@ -12,6 +12,7 @@ namespace ui { Slider::Slider(Widget *parent, const float minimum, const float maximum) : Widget(parent) { + set_label("slider"); slider_dragging = false; slider_minimum = minimum; -- cgit v1.2.3