MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / GetColumnLeftOf

Function GetColumnLeftOf

Libraries/PropertyGrid/PropertyGrid.h:948–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

946 }
947
948 int GetColumnLeftOf(int column) const
949 {
950 int count = GetHeader().GetItemCount();
951 ATLASSERT(count < 100);
952 int order[100];
953 GetColumnOrderArray(count, order);
954 for (int i = 1; i < count; ++i)
955 {
956 if (order[i] == column)
957 return order[i - 1];
958 }
959 return order[0];
960 }
961
962 int GetColumnRightOf(int column) const
963 {

Callers 1

OnNavigateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected