-------------------------------------------------------------------------------
| 880 | } |
| 881 | //------------------------------------------------------------------------------- |
| 882 | int CDisplay::OnSetupNormalView() |
| 883 | { |
| 884 | if (VIEWMODE_NODE == m_iViewMode) |
| 885 | { |
| 886 | ShowNormalUIComponents(); |
| 887 | } |
| 888 | |
| 889 | // now ... change the meaning of the statistics fields back |
| 890 | SetWindowText(GetDlgItem(g_hDlg,IDC_NUMVERTS),"Vertices:"); |
| 891 | SetWindowText(GetDlgItem(g_hDlg,IDC_NUMNODES),"Nodes:"); |
| 892 | SetWindowText(GetDlgItem(g_hDlg,IDC_NUMFACES),"Faces:"); |
| 893 | SetWindowText(GetDlgItem(g_hDlg,IDC_NUMSHADERS),"Shaders:"); |
| 894 | SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMATS),"Materials:"); |
| 895 | SetWindowText(GetDlgItem(g_hDlg,IDC_NUMMESHES),"Meshes:"); |
| 896 | SetWindowText(GetDlgItem(g_hDlg,IDC_LOADTIME),"Loading Time:"); |
| 897 | |
| 898 | FillDefaultStatistics(); |
| 899 | SetViewMode(VIEWMODE_FULL); |
| 900 | |
| 901 | // for debugging |
| 902 | m_pcCurrentMaterial = nullptr; |
| 903 | m_pcCurrentTexture = nullptr; |
| 904 | m_pcCurrentNode = nullptr; |
| 905 | |
| 906 | // redraw the color fields in the UI --- their purpose has possibly changed |
| 907 | UpdateColorFieldsInUI(); |
| 908 | UpdateWindow(g_hDlg); |
| 909 | return 1; |
| 910 | } |
| 911 | //------------------------------------------------------------------------------- |
| 912 | int CDisplay::OnSetupNodeView(NodeInfo* pcNew) |
| 913 | { |
nothing calls this directly
no test coverage detected