static
| 107 | |
| 108 | // static |
| 109 | bool RulerHelper::IsVisible(ScreenBase const & screen) |
| 110 | { |
| 111 | DrapeGui & gui = DrapeGui::Instance(); |
| 112 | return !gui.IsCopyrightActive() && df::GetDrawTileScale(screen) >= kVisibleRulerBottomScale; |
| 113 | } |
| 114 | |
| 115 | void RulerHelper::Invalidate() |
| 116 | { |
no test coverage detected