Home
last modified time | relevance | path

Searched refs:BUTTON_SEPARATION (Results 1 – 3 of 3) sorted by last modified time

/dports/games/freeorion/freeorion-0.4.10.2/UI/
H A DDesignWnd.cpp1920 const int BUTTON_SEPARATION = 3; // vertical or horizontal sepration between adjacent buttons in DoLayout() local
1927 …nt MAX_BUTTONS_PER_ROW = std::max(Value(USABLE_WIDTH / (MIN_BUTTON_WIDTH + BUTTON_SEPARATION)), 1); in DoLayout()
1949 …const GG::X BUTTON_WIDTH = (USABLE_WIDTH - (TOTAL_BUTTONS_PER_ROW - 1)*BUTTON_SEPARATION) / TOTAL_… in DoLayout()
1951 …const GG::X COL_OFFSET = BUTTON_WIDTH + BUTTON_SEPARATION; // horizontal distance between each … in DoLayout()
1952 …const GG::Y ROW_OFFSET = BUTTON_HEIGHT + BUTTON_SEPARATION; // vertical distance between each ro… in DoLayout()
1971 … ClientSize() - GG::Pt(GG::X(BUTTON_SEPARATION), GG::Y(BUTTON_SEPARATION))); in DoLayout()
3545 const int BUTTON_SEPARATION = 3; in DoLayout() local
3546 const GG::X BUTTON_WIDTH = (AVAILABLE_WIDTH - 2*BUTTON_SEPARATION) / 3; in DoLayout()
3559 left = left + BUTTON_WIDTH + BUTTON_SEPARATION; in DoLayout()
3561 left = left + BUTTON_WIDTH + BUTTON_SEPARATION; in DoLayout()
[all …]
H A DTechTreeWnd.cpp240 static const int BUTTON_SEPARATION; // vertical or horizontal sepration between adjacent buttons member in TechTreeWnd::TechTreeControls
256 const int TechTreeWnd::TechTreeControls::BUTTON_SEPARATION = 2; member in TechTreeWnd::TechTreeControls
346 …m_col_offset = BUTTON_WIDTH + BUTTON_SEPARATION; // horizontal distance between each column of … in DoButtonLayout()
347 …m_row_offset = BUTTON_HEIGHT + BUTTON_SEPARATION; // vertical distance between each row of butto… in DoButtonLayout()
/dports/x11-wm/openbox/openbox-3.6/openbox/
H A Dprompt.c43 #define BUTTON_SEPARATION 4 macro
250 allbuttonsw += self->button[i].width + (i > 0 ? BUTTON_SEPARATION : 0); in prompt_layout()
273 buttonx -= self->button[i].width + BUTTON_SEPARATION; in prompt_layout()