MCPcopy Create free account
hub / github.com/cmauri/eviacam / WriteProfileData

Method WriteProfileData

src/pointeraction.cpp:85–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void CPointerAction::WriteProfileData(wxConfigBase* pConfObj)
86{
87 pConfObj->SetPath (_T("pointerAction"));
88
89 pConfObj->Write(_T("xSpeed"), (int) GetXSpeed());
90 pConfObj->Write(_T("ySpeed"), (int) GetYSpeed());
91 pConfObj->Write(_T("acceleration"), (int) GetAcceleration());
92 pConfObj->Write(_T("smoothness"), (int) GetSmoothness());
93 pConfObj->Write(_T("easyStop"), (int) GetEasyStopValue());
94 pConfObj->Write(_T("enabledWorkspace"), (bool) GetRestrictedWorkingArea());
95 pConfObj->Write(_T("topWorkspace"), (int) GetTopWorkspace());
96 pConfObj->Write(_T("leftWorkspace"), (int) GetLeftWorkspace());
97 pConfObj->Write(_T("rightWorkspace"), (int) GetRightWorkspace());
98 pConfObj->Write(_T("bottomWorkspace"), (int) GetBottomWorkspace());
99 pConfObj->Write(_T("enabledWrapPointer"), (bool) GetWrapPointer());
100 pConfObj->Write(_T("clickMode"), (int) GetClickMode());
101 pConfObj->Write(_T("beepOnClick"), (bool) GetBeepOnClick());
102 pConfObj->Write(_T("sendActionWait"), (int) GetSendActionWait());
103
104 m_pDwellClick->WriteProfileData(pConfObj);
105 m_pGestureClick->WriteProfileData(pConfObj);
106
107 pConfObj->SetPath (_T(".."));
108}
109
110void CPointerAction::ReadProfileData(wxConfigBase* pConfObj)
111{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected