Mercurial > projects > doodle
view doodle/gtk/ruler.d @ 139:e33f37b14893 default tip
Port to 'no-more-make' https://github.com/GrahamStJack/no-more-make
author | David Bryant <bagnose@gmail.com> |
---|---|
date | Sun, 30 Sep 2012 15:41:25 +0930 |
parents | 345fb56d89fc |
children |
line wrap: on
line source
module doodle.gtk.ruler; /+ public { import gtk.DrawingArea; } private { } // // class Ruler : DrawingArea { this() { addOnConfigure(&onConfigure); } void move(double base) { } private { bool onExpose(GdkEventExpose * event, Widget widget) { } bool onConfigure(GdkEventConfigure * event, Widget widget) { assert(widget is this); } double _min, _max; // millimetres bool _visible; double _value; } } +/