Home
last modified time | relevance | path

Searched refs:USABLE_WIDTH (Results 1 – 2 of 2) sorted by path

/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DDesignWnd.cpp1924 …const GG::X USABLE_WIDTH = std::max(ClientWidth() - RIGHT_EDGE_PAD, GG::X1); // space in which t… in DoLayout() local
1927 …const int MAX_BUTTONS_PER_ROW = std::max(Value(USABLE_WIDTH / (MIN_BUTTON_WIDTH + BUTTON_SEPARATIO… in DoLayout()
1949 …const GG::X BUTTON_WIDTH = (USABLE_WIDTH - (TOTAL_BUTTONS_PER_ROW - 1)*BUTTON_SEPARATION) / TOTAL_… in DoLayout()
H A DTechTreeWnd.cpp342 …const GG::X USABLE_WIDTH = std::max(ClientWidth() - RIGHT_EDGE_PAD, GG::X1); // space in which t… in DoButtonLayout() local
348 m_buttons_per_row = std::max(Value(USABLE_WIDTH / (m_col_offset)), 1); in DoButtonLayout()