Added some keyboard shortcuts; see end of issue #83

This commit is contained in:
Oliver Duis
2010-12-10 21:44:29 +01:00
parent 0d77945409
commit 529831e10b
8 changed files with 37 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
/*
* This file is part of RawTherapee.
*
* Copyright (c) 2004-2010 Gabor Horvath <hgabor@rawtherapee.com>
*
* RawTherapee is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -45,7 +44,14 @@ IndicateClippedPanel::IndicateClippedPanel (ImageArea* ia) : imageArea(ia) {
show_all ();
}
void IndicateClippedPanel::buttonToggled () {
// inverts a toggle programmatically
void IndicateClippedPanel::toggleClipped (bool highlights) {
if (highlights)
indclippedh->set_active(!indclippedh->get_active());
else
indclippeds->set_active(!indclippeds->get_active());
}
void IndicateClippedPanel::buttonToggled () {
imageArea->queue_draw ();
}