Lines Matching defs:modifier
1268 RotateableSwatch::color_adjust(float *hsla, double by, guint32 cc, guint modifier)
1273 if (modifier == 2) { // saturation
1281 } else if (modifier == 1) { // lightness
1289 } else if (modifier == 3) { // alpha
1323 if (modifier == 3) { // alpha
1336 RotateableSwatch::do_motion(double by, guint modifier) {
1344 if (modifier == 2) { // saturation
1346 } else if (modifier == 1) { // lightness
1348 } else if (modifier == 3) { // alpha
1380 diff = color_adjust(hsla, by, cc, modifier);
1382 if (modifier == 3) { // alpha
1388 } else if (modifier == 2) { // saturation
1394 } else if (modifier == 1) { // lightness
1410 RotateableSwatch::do_scroll(double by, guint modifier) {
1411 do_motion(by/30.0, modifier);
1412 do_release(by/30.0, modifier);
1416 RotateableSwatch::do_release(double by, guint modifier) {
1421 color_adjust(hsla, by, startcolor, modifier);
1437 if (modifier == 3) { // alpha
1440 } else if (modifier == 2) { // saturation
1444 } else if (modifier == 1) { // lightness
1477 RotateableStrokeWidth::value_adjust(double current, double by, guint /*modifier*/, bool final)
1506 RotateableStrokeWidth::do_motion(double by, guint modifier) {
1518 if (modifier == 3) { // Alt, do nothing
1520 double diff = value_adjust(startvalue, by, modifier, false);
1528 RotateableStrokeWidth::do_release(double by, guint modifier) {
1530 if (modifier == 3) { // do nothing
1533 value_adjust(startvalue, by, modifier, true);
1548 RotateableStrokeWidth::do_scroll(double by, guint modifier) {
1549 do_motion(by/10.0, modifier);