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
| 74 | self.show_outro() |
| 75 | |
| 76 | def create_zone_text( |
| 77 | self, |
| 78 | firstColumnFileNames, |
| 79 | secondColumnFileNames, |
| 80 | thirdColumnFileNames, |
| 81 | firstColumnFiles, |
| 82 | secondColumnFiles, |
| 83 | thirdColumnFiles, |
| 84 | firstColumnFilesDict, |
| 85 | secondColumnFilesDict, |
| 86 | thirdColumnFilesDict, |
| 87 | firstColumnTitle, |
| 88 | secondColumnTitle, |
| 89 | thirdColumnTitle, |
| 90 | horizontal2, |
| 91 | ): |
| 92 | for i, f in enumerate(firstColumnFileNames): |
| 93 | text = ( |
| 94 | m.Text( |
| 95 | self.trim_path(f), |
| 96 | font=self.font, |
| 97 | font_size=24, |
| 98 | color=self.fontColor, |
| 99 | ) |
| 100 | .move_to( |
| 101 | (firstColumnTitle.get_center()[0], horizontal2.get_center()[1], 0) |
| 102 | ) |
| 103 | .shift(m.DOWN * 0.5 * (i + 1)) |
| 104 | ) |
| 105 | firstColumnFiles.add(text) |
| 106 | firstColumnFilesDict[f] = text |
| 107 | |
| 108 | for j, f in enumerate(secondColumnFileNames): |
| 109 | text = ( |
| 110 | m.Text( |
| 111 | self.trim_path(f), |
| 112 | font=self.font, |
| 113 | font_size=24, |
| 114 | color=self.fontColor, |
| 115 | ) |
| 116 | .move_to( |
| 117 | (secondColumnTitle.get_center()[0], horizontal2.get_center()[1], 0) |
| 118 | ) |
| 119 | .shift(m.DOWN * 0.5 * (j + 1)) |
| 120 | ) |
| 121 | secondColumnFiles.add(text) |
| 122 | secondColumnFilesDict[f] = text |
| 123 | |
| 124 | for h, f in enumerate(thirdColumnFileNames): |
| 125 | text = ( |
| 126 | m.MarkupText( |
| 127 | "<span strikethrough='true' strikethrough_color='" |
| 128 | + self.fontColor |
| 129 | + "'>" |
| 130 | + self.trim_path(f) |
| 131 | + "</span>" |
| 132 | if self.command == StashSubCommand.POP |
| 133 | else self.trim_path(f), |
Callers
nothing calls this directly
Tested by
no test coverage detected