Changeset View
Changeset View
Standalone View
Standalone View
commands/imagelib/effects/kpEffectInvertCommand.cpp
Show All 40 Lines | 40 | : kpEffectCommandBase (channels == kpEffectInvert::RGB ? | |||
---|---|---|---|---|---|
41 | i18n ("Invert Colors") : i18n ("Invert"), | 41 | i18n ("Invert Colors") : i18n ("Invert"), | ||
42 | actOnSelection, environ), | 42 | actOnSelection, environ), | ||
43 | m_channels (channels) | 43 | m_channels (channels) | ||
44 | { | 44 | { | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | kpEffectInvertCommand::kpEffectInvertCommand (bool actOnSelection, | 47 | kpEffectInvertCommand::kpEffectInvertCommand (bool actOnSelection, | ||
48 | kpCommandEnvironment *environ) | 48 | kpCommandEnvironment *environ) | ||
49 | : kpEffectCommandBase (i18n ("Invert Colors"), actOnSelection, environ), | 49 | : kpEffectInvertCommand(kpEffectInvert::RGB, actOnSelection, environ) | ||
50 | m_channels (kpEffectInvert::RGB) | | |||
51 | { | 50 | { | ||
52 | } | 51 | } | ||
53 | 52 | | |||
54 | kpEffectInvertCommand::~kpEffectInvertCommand () = default; | 53 | kpEffectInvertCommand::~kpEffectInvertCommand () = default; | ||
55 | 54 | | |||
56 | 55 | | |||
57 | // | 56 | // | ||
58 | // kpEffectInvertCommand implements kpEffectCommandBase interface | 57 | // kpEffectInvertCommand implements kpEffectCommandBase interface | ||
Show All 9 Lines |