Note: this is an update to all windows
| 713 | |
| 714 | // Note: this is an update to all windows |
| 715 | void ScrollView::Update() { |
| 716 | svmap_mu->Lock(); |
| 717 | for (std::map<int, ScrollView*>::iterator iter = svmap.begin(); |
| 718 | iter != svmap.end(); ++iter) { |
| 719 | if (iter->second != NULL) |
| 720 | iter->second->UpdateWindow(); |
| 721 | } |
| 722 | svmap_mu->Unlock(); |
| 723 | } |
| 724 | |
| 725 | // Set the pen color, using an enum value (e.g. ScrollView::ORANGE) |
| 726 | void ScrollView::Pen(Color color) { |
no test coverage detected