/////////////////////////////////////////////////////////////////////////// Set the minimum and maximum widths for the value.
| 43 | //////////////////////////////////////////////////////////////////////////////// |
| 44 | // Set the minimum and maximum widths for the value. |
| 45 | void ColumnUUID::measure(Task&, unsigned int& minimum, unsigned int& maximum) { |
| 46 | // Mandatory attribute, no need to check the value. |
| 47 | |
| 48 | if (_style == "default" || _style == "long") |
| 49 | minimum = maximum = 36; |
| 50 | else if (_style == "short") |
| 51 | minimum = maximum = 8; |
| 52 | } |
| 53 | |
| 54 | //////////////////////////////////////////////////////////////////////////////// |
| 55 | void ColumnUUID::render(std::vector<std::string>& lines, Task& task, int width, Color& color) { |
nothing calls this directly
no outgoing calls
no test coverage detected