if item was selected from the list box, this function is invoked.
| 582 | |
| 583 | // if item was selected from the list box, this function is invoked. |
| 584 | void CGrTextureListBox::OnItemSelected(int tex) { |
| 585 | D3EditState.texdlg_texture = tex; |
| 586 | |
| 587 | if (ParentDialog != NULL) { |
| 588 | PrintToDlgItem(ParentDialog, IDC_CURRENT_TEXTURE_NAME, "Texture: %s", GameTextures[tex].name); |
| 589 | ParentTextureDialog->DrawSwatch(IDC_TEXTURE_SWATCH, GameTextures[tex].r, GameTextures[tex].g, GameTextures[tex].b); |
| 590 | } |
| 591 | } |
| 592 | |
| 593 | void CTextureDialog::OnShowTmap2Textures() { |
| 594 | // TODO: Add your control notification handler code here |
nothing calls this directly
no test coverage detected