Searched refs:uiBtnsPerLine (Results 1 – 1 of 1) sorted by relevance
219 if (bHorizontal || uiBtnsPerLine > 1) in UpdateTbButtonSpacing()1257 UINT uiRows, uiMax, uiMin, uiBtnsPerLine, ui; in UpdateButtonsSize() local1305 uiBtnsPerLine = (m_ButtonCount + uiRows - 1) / uiRows; in UpdateButtonsSize()1309 uiBtnsPerLine = 1; in UpdateButtonsSize()1319 uiRows, uiBtnsPerLine); in UpdateButtonsSize()1328 … NewBtnSize = (rcClient.right - (uiBtnsPerLine * cxButtonSpacing)) / uiBtnsPerLine; in UpdateButtonsSize()1336 uiBtnsPerLine = rcClient.right / (NewBtnSize + cxButtonSpacing); in UpdateButtonsSize()1337 if (uiBtnsPerLine == 0) in UpdateButtonsSize()1338 uiBtnsPerLine++; in UpdateButtonsSize()1347 m_ButtonsPerLine = uiBtnsPerLine; in UpdateButtonsSize()[all …]