Home
last modified time | relevance | path

Searched refs:map_margin_width (Results 1 – 1 of 1) sorted by relevance

/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DMapWnd.cpp5249 GG::X map_margin_width(app_width); in CorrectMapPosition() local
5257 …if (app_width - map_margin_width < contents_width || Value(app_height) - map_margin_width < conten… in CorrectMapPosition()
5258 if (map_margin_width < move_to_pt.x) in CorrectMapPosition()
5259 move_to_pt.x = map_margin_width; in CorrectMapPosition()
5260 if (move_to_pt.x + contents_width < app_width - map_margin_width) in CorrectMapPosition()
5261 move_to_pt.x = app_width - map_margin_width - contents_width; in CorrectMapPosition()
5262 if (map_margin_width < Value(move_to_pt.y)) in CorrectMapPosition()
5263 move_to_pt.y = GG::Y(Value(map_margin_width)); in CorrectMapPosition()
5264 if (Value(move_to_pt.y) + contents_width < Value(app_height) - map_margin_width) in CorrectMapPosition()
5265 move_to_pt.y = app_height - Value(map_margin_width) - Value(contents_width); in CorrectMapPosition()