Decoration of adjusters (issue 2190)

This commit is contained in:
michael
2014-01-10 11:00:18 -05:00
parent e6c962df36
commit bfbd472df9
84 changed files with 18134 additions and 16 deletions

View File

@@ -32,7 +32,11 @@ Rotate::Rotate () : Gtk::VBox(), FoldableToolPanel(this) {
rlistener = NULL;
degree = Gtk::manage (new Adjuster (M("TP_ROTATE_DEGREE"), -45, 45, 0.01, 0));
//TODO the action of the rotation slider is counter-intuitive
Gtk::Image* irotateL = Gtk::manage (new RTImage ("rotate-right-2.png"));
Gtk::Image* irotateR = Gtk::manage (new RTImage ("rotate-left-2.png"));
degree = Gtk::manage (new Adjuster (M("TP_ROTATE_DEGREE"), -45, 45, 0.01, 0, irotateL, irotateR));
degree->setAdjusterListener (this);
pack_start (*degree);