| 304 | } |
| 305 | |
| 306 | void ztextbox::deactivate() |
| 307 | { |
| 308 | if (!flag.active) |
| 309 | { |
| 310 | return; |
| 311 | } |
| 312 | |
| 313 | flag.active = false; |
| 314 | flag.visible = false; |
| 315 | |
| 316 | if (prev) |
| 317 | { |
| 318 | prev->next = next; |
| 319 | } |
| 320 | |
| 321 | if (next) |
| 322 | { |
| 323 | next->prev = prev; |
| 324 | } |
| 325 | |
| 326 | if (head_active == this) |
| 327 | { |
| 328 | head_active = next; |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | void ztextbox::set_text(const char* s) |
| 333 | { |
no outgoing calls
no test coverage detected