MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / set_resolution

Method set_resolution

src/common/WinApiControls.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void Timer::set_resolution(std::chrono::milliseconds resolution) {
143 using namespace std::chrono;
144 SetTimer(m_hwnd, m_id, static_cast<UINT>(resolution.count()), timer_proc);
145 current_resolution = resolution;
146}
147
148void Timer::stop_timer() {
149 SetTimer(m_hwnd, m_id, USER_TIMER_MAXIMUM, timer_proc);

Callers 2

beNotifiedFunction · 0.80

Calls 1

countMethod · 0.45

Tested by

no test coverage detected