MCPcopy Create free account
hub / github.com/assimp/assimp / UpdateColorFieldsInUI

Function UpdateColorFieldsInUI

tools/assimp_view/Display.cpp:790–799  ·  view source on GitHub ↗

------------------------------------------------------------------------------- Update UI

Source from the content-addressed store, hash-verified

788//-------------------------------------------------------------------------------
789// Update UI
790void UpdateColorFieldsInUI()
791{
792 InvalidateRect(GetDlgItem(g_hDlg,IDC_LCOLOR1),nullptr,TRUE);
793 InvalidateRect(GetDlgItem(g_hDlg,IDC_LCOLOR2),nullptr,TRUE);
794 InvalidateRect(GetDlgItem(g_hDlg,IDC_LCOLOR3),nullptr,TRUE);
795
796 UpdateWindow(GetDlgItem(g_hDlg,IDC_LCOLOR1));
797 UpdateWindow(GetDlgItem(g_hDlg,IDC_LCOLOR2));
798 UpdateWindow(GetDlgItem(g_hDlg,IDC_LCOLOR3));
799}
800//-------------------------------------------------------------------------------
801// FIll statistics UI
802int CDisplay::FillDefaultStatistics(void)

Callers 4

FillDefaultStatisticsMethod · 0.85
OnSetupNormalViewMethod · 0.85
OnSetupMaterialViewMethod · 0.85
OnSetupTextureViewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected