• R/O
  • SSH
  • HTTPS

vima19: Commit


Commit MetaInfo

Revision648 (tree)
Time2022-07-04 22:30:08
Authorhgtterry

Log Message

Equity_ME 220628 Top Bar Buttons Tool Tips (WIP)

Change Summary

Incremental Difference

--- Equity_ME/Equity_ME/ME_TopBar.cpp (revision 647)
+++ Equity_ME/Equity_ME/ME_TopBar.cpp (revision 648)
@@ -396,7 +396,7 @@
396396 ti12.cbSize = sizeof(ti12);
397397 ti12.uFlags = TTF_IDISHWND | TTF_SUBCLASS | TTF_CENTERTIP;
398398 ti12.uId = (UINT_PTR)Temp;
399- ti12.lpszText = "Toggle Faces";
399+ ti12.lpszText = "Toggle Show Faces";
400400 ti12.hwnd = App->MainHwnd;
401401 SendMessage(hTooltip_TB_2, TTM_ADDTOOL, 0, (LPARAM)&ti12);
402402
@@ -405,10 +405,46 @@
405405 ti13.cbSize = sizeof(ti13);
406406 ti13.uFlags = TTF_IDISHWND | TTF_SUBCLASS | TTF_CENTERTIP;
407407 ti13.uId = (UINT_PTR)Temp;
408- ti13.lpszText = "Toggle Textures";
408+ ti13.lpszText = "Toggle Show Textures";
409409 ti13.hwnd = App->MainHwnd;
410410 SendMessage(hTooltip_TB_2, TTM_ADDTOOL, 0, (LPARAM)&ti13);
411411
412+ Temp = GetDlgItem(TabsHwnd, IDC_BTSHOWPOINTS);
413+ TOOLINFO ti14 = { 0 };
414+ ti14.cbSize = sizeof(ti14);
415+ ti14.uFlags = TTF_IDISHWND | TTF_SUBCLASS | TTF_CENTERTIP;
416+ ti14.uId = (UINT_PTR)Temp;
417+ ti14.lpszText = "Toggle Show Mesh Points";
418+ ti14.hwnd = App->MainHwnd;
419+ SendMessage(hTooltip_TB_2, TTM_ADDTOOL, 0, (LPARAM)&ti14);
420+
421+ Temp = GetDlgItem(TabsHwnd, IDC_BTSHOWBONES);
422+ TOOLINFO ti15 = { 0 };
423+ ti15.cbSize = sizeof(ti15);
424+ ti15.uFlags = TTF_IDISHWND | TTF_SUBCLASS | TTF_CENTERTIP;
425+ ti15.uId = (UINT_PTR)Temp;
426+ ti15.lpszText = "Toggle Show Bones";
427+ ti15.hwnd = App->MainHwnd;
428+ SendMessage(hTooltip_TB_2, TTM_ADDTOOL, 0, (LPARAM)&ti15);
429+
430+ Temp = GetDlgItem(TabsHwnd, IDC_BTSHOWNORMALS);
431+ TOOLINFO ti16 = { 0 };
432+ ti16.cbSize = sizeof(ti16);
433+ ti16.uFlags = TTF_IDISHWND | TTF_SUBCLASS | TTF_CENTERTIP;
434+ ti16.uId = (UINT_PTR)Temp;
435+ ti16.lpszText = "Toggle Show Normals";
436+ ti16.hwnd = App->MainHwnd;
437+ SendMessage(hTooltip_TB_2, TTM_ADDTOOL, 0, (LPARAM)&ti16);
438+
439+ Temp = GetDlgItem(TabsHwnd, IDC_BTSHOWLIGHT);
440+ TOOLINFO ti17 = { 0 };
441+ ti17.cbSize = sizeof(ti17);
442+ ti17.uFlags = TTF_IDISHWND | TTF_SUBCLASS | TTF_CENTERTIP;
443+ ti17.uId = (UINT_PTR)Temp;
444+ ti17.lpszText = "Toggle Show Light";
445+ ti17.hwnd = App->MainHwnd;
446+ SendMessage(hTooltip_TB_2, TTM_ADDTOOL, 0, (LPARAM)&ti17);
447+
412448 }
413449
414450 // *************************************************************************
Show on old repository browser