aboutsummaryrefslogtreecommitdiff
path: root/dw/ruler.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/ruler.hh')
-rw-r--r--dw/ruler.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/ruler.hh b/dw/ruler.hh
index 32e859a1..863792dd 100644
--- a/dw/ruler.hh
+++ b/dw/ruler.hh
@@ -15,8 +15,12 @@ namespace dw {
*/
class Ruler: public core::Widget
{
+private:
+ int availWidth;
+
protected:
void sizeRequestImpl (core::Requisition *requisition);
+ void setWidth (int width);
void draw (core::View *view, core::Rectangle *area);
public: