Method
create_zone_text
(
self,
firstColumnFileNames,
secondColumnFileNames,
thirdColumnFileNames,
firstColumnFiles,
secondColumnFiles,
thirdColumnFiles,
firstColumnFilesDict,
secondColumnFilesDict,
thirdColumnFilesDict,
firstColumnTitle,
secondColumnTitle,
thirdColumnTitle,
horizontal2,
)
Source from the content-addressed store, hash-verified
| 42 | self.show_outro() |
| 43 | |
| 44 | def create_zone_text( |
| 45 | self, |
| 46 | firstColumnFileNames, |
| 47 | secondColumnFileNames, |
| 48 | thirdColumnFileNames, |
| 49 | firstColumnFiles, |
| 50 | secondColumnFiles, |
| 51 | thirdColumnFiles, |
| 52 | firstColumnFilesDict, |
| 53 | secondColumnFilesDict, |
| 54 | thirdColumnFilesDict, |
| 55 | firstColumnTitle, |
| 56 | secondColumnTitle, |
| 57 | thirdColumnTitle, |
| 58 | horizontal2, |
| 59 | ): |
| 60 | for i, f in enumerate(firstColumnFileNames): |
| 61 | text = ( |
| 62 | m.Text( |
| 63 | self.trim_path(f), |
| 64 | font=self.font, |
| 65 | font_size=24, |
| 66 | color=self.fontColor, |
| 67 | ) |
| 68 | .move_to( |
| 69 | (firstColumnTitle.get_center()[0], horizontal2.get_center()[1], 0) |
| 70 | ) |
| 71 | .shift(m.DOWN * 0.5 * (i + 1)) |
| 72 | ) |
| 73 | firstColumnFiles.add(text) |
| 74 | firstColumnFilesDict[f] = text |
| 75 | |
| 76 | for j, f in enumerate(secondColumnFileNames): |
| 77 | text = ( |
| 78 | m.Text( |
| 79 | self.trim_path(f), |
| 80 | font=self.font, |
| 81 | font_size=24, |
| 82 | color=self.fontColor, |
| 83 | ) |
| 84 | .move_to( |
| 85 | (secondColumnTitle.get_center()[0], horizontal2.get_center()[1], 0) |
| 86 | ) |
| 87 | .shift(m.DOWN * 0.5 * (j + 1)) |
| 88 | ) |
| 89 | secondColumnFiles.add(text) |
| 90 | secondColumnFilesDict[f] = text |
| 91 | |
| 92 | for h, f in enumerate(thirdColumnFileNames): |
| 93 | text = ( |
| 94 | m.MarkupText( |
| 95 | "<span strikethrough='true' strikethrough_color='" |
| 96 | + self.fontColor |
| 97 | + "'>" |
| 98 | + self.trim_path(f) |
| 99 | + "</span>", |
| 100 | font=self.font, |
| 101 | font_size=24, |
Callers
nothing calls this directly
Tested by
no test coverage detected