Removed old debugging stuff from rtgui/filmnegative.cc
This commit is contained in:
@@ -274,10 +274,6 @@ bool FilmNegative::button1Pressed(int modifierKey)
|
|||||||
{
|
{
|
||||||
EditDataProvider* const provider = getEditProvider();
|
EditDataProvider* const provider = getEditProvider();
|
||||||
|
|
||||||
if (provider) { // TODO: Remove me (rom9)
|
|
||||||
printf("x=%d y=%d pv1=%f pv2=%f pv3=%f\n", provider->posImage.x, provider->posImage.y, provider->getPipetteVal1(), provider->getPipetteVal2(), provider->getPipetteVal3());
|
|
||||||
}
|
|
||||||
|
|
||||||
EditSubscriber::action = EditSubscriber::Action::NONE;
|
EditSubscriber::action = EditSubscriber::Action::NONE;
|
||||||
|
|
||||||
if (listener) {
|
if (listener) {
|
||||||
@@ -319,14 +315,7 @@ bool FilmNegative::button1Pressed(int modifierKey)
|
|||||||
|
|
||||||
bool FilmNegative::button1Released()
|
bool FilmNegative::button1Released()
|
||||||
{
|
{
|
||||||
EditDataProvider* const provider = getEditProvider();
|
|
||||||
|
|
||||||
if (provider) { // TODO: Remove me (rom9)
|
|
||||||
printf("x=%d y=%d pv1=%f pv2=%f pv3=%f\n", provider->posImage.x, provider->posImage.y, provider->getPipetteVal1(), provider->getPipetteVal2(), provider->getPipetteVal3());
|
|
||||||
}
|
|
||||||
|
|
||||||
EditSubscriber::action = EditSubscriber::Action::NONE;
|
EditSubscriber::action = EditSubscriber::Action::NONE;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -337,16 +326,6 @@ void FilmNegative::switchOffEditMode()
|
|||||||
spotbutton->set_active(false);
|
spotbutton->set_active(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove me ; couldn't make Action::PICKING work (rom9)
|
|
||||||
bool FilmNegative::pick1(bool picked)
|
|
||||||
{
|
|
||||||
EditDataProvider* const provider = getEditProvider();
|
|
||||||
if (provider) { // TODO: Remove me (rom9)
|
|
||||||
printf("Picked pick=%d x=%d y=%d pv1=%f pv2=%f pv3=%f\n", picked, provider->posImage.x, provider->posImage.y, provider->getPipetteVal1(), provider->getPipetteVal2(), provider->getPipetteVal3());
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void FilmNegative::editToggled()
|
void FilmNegative::editToggled()
|
||||||
{
|
{
|
||||||
if (spotbutton->get_active()) {
|
if (spotbutton->get_active()) {
|
||||||
|
@@ -68,7 +68,6 @@ public:
|
|||||||
bool button1Pressed(int modifierKey) override;
|
bool button1Pressed(int modifierKey) override;
|
||||||
bool button1Released() override;
|
bool button1Released() override;
|
||||||
void switchOffEditMode() override;
|
void switchOffEditMode() override;
|
||||||
bool pick1(bool picked) override;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void editToggled();
|
void editToggled();
|
||||||
|
Reference in New Issue
Block a user