Display file information
| 60 | |
| 61 | // Display file information |
| 62 | void EffectBase::DisplayInfo(std::ostream* out) { |
| 63 | *out << std::fixed << std::setprecision(2) << std::boolalpha; |
| 64 | *out << "----------------------------" << std::endl; |
| 65 | *out << "----- Effect Information -----" << std::endl; |
| 66 | *out << "----------------------------" << std::endl; |
| 67 | *out << "--> Name: " << info.name << std::endl; |
| 68 | *out << "--> Description: " << info.description << std::endl; |
| 69 | *out << "--> Has Video: " << info.has_video << std::endl; |
| 70 | *out << "--> Has Audio: " << info.has_audio << std::endl; |
| 71 | *out << "--> Apply Before Clip Keyframes: " << info.apply_before_clip << std::endl; |
| 72 | *out << "--> Order: " << order << std::endl; |
| 73 | *out << "----------------------------" << std::endl; |
| 74 | } |
| 75 | |
| 76 | // Constrain a color value from 0 to 255 |
| 77 | int EffectBase::constrain(int color_value) |
no outgoing calls
no test coverage detected