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

Method UpdateUI

DebugView++/MainFrame.cpp:257–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void CMainFrame::UpdateUI()
258{
259 UpdateStatusBar();
260
261 UISetCheck(ID_VIEW_TIME, GetView().GetClockTime());
262 UISetCheck(ID_VIEW_PROCESSCOLORS, GetView().GetViewProcessColors());
263 UISetCheck(ID_VIEW_SCROLL, GetView().GetAutoScroll());
264 UISetCheck(ID_VIEW_SCROLL_STOP, GetView().GetAutoScrollStop());
265 UISetCheck(ID_VIEW_BOOKMARK, GetView().GetBookmark());
266
267 for (int id = ID_VIEW_COLUMN_FIRST; id <= ID_VIEW_COLUMN_LAST; ++id)
268 UISetCheck(id, GetView().IsColumnViewed(id));
269
270 UISetCheck(ID_OPTIONS_LINKVIEWS, m_linkViews);
271 UIEnable(ID_OPTIONS_LINKVIEWS, GetTabCtrl().GetItemCount() > 1);
272 UISetCheck(ID_OPTIONS_AUTONEWLINE, m_logSources.GetAutoNewLine());
273 UISetCheck(ID_OPTIONS_ALWAYSONTOP, GetAlwaysOnTop());
274 UISetCheck(ID_OPTIONS_HIDE, m_hide);
275 UISetCheck(ID_LOG_PAUSE, !m_pLocalReader);
276 UIEnable(ID_LOG_GLOBAL, !!m_pLocalReader);
277 UISetCheck(ID_LOG_GLOBAL, m_tryGlobal);
278}
279
280std::wstring FormatUnits(int n, const std::wstring& unit)
281{

Callers

nothing calls this directly

Calls 7

GetClockTimeMethod · 0.80
GetViewProcessColorsMethod · 0.80
GetAutoScrollMethod · 0.80
GetAutoScrollStopMethod · 0.80
GetBookmarkMethod · 0.80
IsColumnViewedMethod · 0.80
GetAutoNewLineMethod · 0.45

Tested by

no test coverage detected