Home
last modified time | relevance | path

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

/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DResearchWnd.cpp144 const int GRAPHIC_SIZE = std::max(Value(DefaultHeight() - 9), 1); in QueueTechPanel() local
146 const GG::X NAME_WIDTH = std::max(Width() - GRAPHIC_SIZE - 4*MARGIN - 3, GG::X(1)); in QueueTechPanel()
147 const GG::X METER_WIDTH = std::max(Width() - GRAPHIC_SIZE - 4*MARGIN - 3, GG::X(1)); in QueueTechPanel()
163 m_icon->Resize(GG::Pt(GG::X(GRAPHIC_SIZE), GG::Y(GRAPHIC_SIZE))); in QueueTechPanel()
263 const int GRAPHIC_SIZE = std::max(Value(DefaultHeight() - 9), 1); in SizeMove() local
265 const GG::X NAME_WIDTH = std::max(Width() - GRAPHIC_SIZE - 4*MARGIN - 3, GG::X(1)); in SizeMove()
266 const GG::X METER_WIDTH = std::max(Width() - GRAPHIC_SIZE - 4*MARGIN - 3, GG::X(1)); in SizeMove()
H A DProductionWnd.cpp580 …const int GRAPHIC_SIZE = Value(HEIGHT - 9); // 9 pixels accounts for border thickness so the sh… in DoLayout() local
581 const GG::X METER_WIDTH = Width() - GRAPHIC_SIZE - 3*MARGIN - 3; in DoLayout()
589 m_icon->Resize(GG::Pt(GG::X(GRAPHIC_SIZE), GG::Y(GRAPHIC_SIZE))); in DoLayout()
592 left += GRAPHIC_SIZE + MARGIN; in DoLayout()
611 left = GG::X(GRAPHIC_SIZE + MARGIN*2); in DoLayout()
H A DTechTreeWnd.cpp680 const int GRAPHIC_SIZE = Value(TechPanelHeight()); in TechPanel() local
682 m_icon->Resize(GG::Pt(GG::X(GRAPHIC_SIZE), GG::Y(GRAPHIC_SIZE))); in TechPanel()