Searched refs:icons_per_line (Results 1 – 2 of 2) sorted by relevance
182 int icons_per_line, icon_lines; in ro_gui_configure_open_window() local194 icons_per_line = width / configure_icon_width; in ro_gui_configure_open_window()195 if (icons_per_line < 1) in ro_gui_configure_open_window()196 icons_per_line = 1; in ro_gui_configure_open_window()199 if (icons_per_line != configure_icons_per_line) { in ro_gui_configure_open_window()201 configure_icons_per_line = icons_per_line; in ro_gui_configure_open_window()222 if (l >= icons_per_line) { in ro_gui_configure_open_window()238 icon_lines = (configure_icons + icons_per_line - 1) / in ro_gui_configure_open_window()239 icons_per_line; in ro_gui_configure_open_window()
48 int icons_per_line = wxMax(1, (size.GetWidth() - BORDER) / (m_iconSize.GetWidth() + BORDER)); in CalcSize() local51 int lines = (m_icons.size() - 1) / icons_per_line + 1; in CalcSize()62 icons_per_line = wxMax(1, (size.GetWidth() - BORDER) / (m_iconSize.GetWidth() + BORDER)); in CalcSize()63 lines = (m_icons.size() - 1) / icons_per_line + 1; in CalcSize()70 if (icons_per_line > 1) { in CalcSize()71 int extra = size.GetWidth() - BORDER - icons_per_line * (m_iconSize.GetWidth() + BORDER); in CalcSize()72 m_extra_padding = extra / (icons_per_line - 1); in CalcSize()