| 178 | } |
| 179 | |
| 180 | void DialogAutomation::SetScriptInfo(int i, Automation4::Script *script) |
| 181 | { |
| 182 | list->SetItem(i, 1, to_wx(script->GetName())); |
| 183 | list->SetItem(i, 2, script->GetPrettyFilename().wstring()); |
| 184 | list->SetItem(i, 3, to_wx(script->GetDescription())); |
| 185 | if (!script->GetLoadedState()) |
| 186 | list->SetItemBackgroundColour(i, wxColour(255,128,128)); |
| 187 | else |
| 188 | list->SetItemBackgroundColour(i, list->GetBackgroundColour()); |
| 189 | } |
| 190 | |
| 191 | void DialogAutomation::AddScript(Automation4::Script *script, bool is_global) |
| 192 | { |
nothing calls this directly
no test coverage detected