MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / TextureListDown

Method TextureListDown

editor/MegacellDialog.cpp:808–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

806}
807
808void 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
825void CMegacellDialog::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) {
826 int id = -1, min, max;

Callers

nothing calls this directly

Calls 1

GetNextTextureFunction · 0.85

Tested by

no test coverage detected