| 806 | } |
| 807 | |
| 808 | void CMegacellDialog::TextureListDown(int rows) { |
| 809 | int old = m_TexStart; |
| 810 | int done = 0, count = 0; |
| 811 | |
| 812 | while ((count < (TEXTURES_PER_ROW * rows)) && !done) { |
| 813 | m_TexStart = GetNextTexture(m_TexStart); |
| 814 | if (old >= m_TexStart) { |
| 815 | m_TexStart = old; |
| 816 | done = 1; |
| 817 | } else |
| 818 | count++; |
| 819 | } |
| 820 | |
| 821 | m_RedrawListbox = 1; |
| 822 | UpdateDialog(); |
| 823 | } |
| 824 | |
| 825 | void CMegacellDialog::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) { |
| 826 | int id = -1, min, max; |
nothing calls this directly
no test coverage detected