Rebased in new branch to cleanup commit history.
This commit is contained in:
@@ -30,15 +30,15 @@ Rotate::Rotate () : FoldableToolPanel(this, "rotate", M("TP_ROTATE_LABEL"))
|
||||
rlistener = nullptr;
|
||||
|
||||
//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"));
|
||||
Gtk::Image* irotateL = Gtk::manage (new RTImage ("rotate-right.png"));
|
||||
Gtk::Image* irotateR = Gtk::manage (new RTImage ("rotate-left.png"));
|
||||
|
||||
degree = Gtk::manage (new Adjuster (M("TP_ROTATE_DEGREE"), -45, 45, 0.01, 0, irotateL, irotateR));
|
||||
degree->setAdjusterListener (this);
|
||||
pack_start (*degree);
|
||||
|
||||
selectStraight = Gtk::manage (new Gtk::Button (M("TP_ROTATE_SELECTLINE")));
|
||||
selectStraight->set_image (*Gtk::manage (new RTImage ("straighten-small.png")));
|
||||
selectStraight->set_image (*Gtk::manage (new RTImage ("rotate-straighten.png")));
|
||||
pack_start (*selectStraight, Gtk::PACK_SHRINK, 2);
|
||||
|
||||
selectStraight->signal_pressed().connect( sigc::mem_fun(*this, &Rotate::selectStraightPressed) );
|
||||
|
Reference in New Issue
Block a user