From e7b8284f85e94b738dff37ae80f0874bb1c32b94 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 12 Oct 2014 10:53:29 -0600 Subject: Cosmetic update to comments --- NxWidgets/nxwm/src/ccalibration.cxx | 4 ++-- NxWidgets/nxwm/src/ctouchscreen.cxx | 11 +++++------ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'NxWidgets/nxwm/src') diff --git a/NxWidgets/nxwm/src/ccalibration.cxx b/NxWidgets/nxwm/src/ccalibration.cxx index 74be1fd09..2a65662ff 100644 --- a/NxWidgets/nxwm/src/ccalibration.cxx +++ b/NxWidgets/nxwm/src/ccalibration.cxx @@ -1010,7 +1010,7 @@ void CCalibration::stateMachine(void) m_calibData[CALIB_LOWER_LEFT_INDEX].y = m_touchPos.y; #endif - // Clear the previous screen by re-drawing it using the backgro9und + // Clear the previous screen by re-drawing it using the background // color. That is much faster than clearing the whole display m_screenInfo.lineColor = CONFIG_NXWM_CALIBRATION_BACKGROUNDCOLOR; @@ -1289,7 +1289,7 @@ CCalibrationFactory::CCalibrationFactory(CTaskbar *taskbar, CTouchscreen *touchs IApplication *CCalibrationFactory::create(void) { // Call CTaskBar::openFullScreenWindow to create a full screen window for - // the calibation application + // the calibration application CFullScreenWindow *window = m_taskbar->openFullScreenWindow(); if (!window) diff --git a/NxWidgets/nxwm/src/ctouchscreen.cxx b/NxWidgets/nxwm/src/ctouchscreen.cxx index 545405b81..dc462727d 100644 --- a/NxWidgets/nxwm/src/ctouchscreen.cxx +++ b/NxWidgets/nxwm/src/ctouchscreen.cxx @@ -228,7 +228,7 @@ void CTouchscreen::setCalibrationData(const struct SCalibrationData &caldata) * This function is not re-entrant: There may be only one thread waiting for * raw touchscreen data. * - * @return True if the raw touchscreen data was sucessfully obtained + * @return True if the raw touchscreen data was successfully obtained */ bool CTouchscreen::waitRawTouchData(struct touch_sample_s *touch) @@ -265,7 +265,7 @@ bool CTouchscreen::waitRawTouchData(struct touch_sample_s *touch) /** * The touchscreen listener thread. This is the entry point of a thread that - * listeners for and dispatches touchscreens events to the NX server. + * listeners for and dispatches touchscreen events to the NX server. * * @param arg. The CTouchscreen 'this' pointer cast to a void*. * @return This function normally does not return but may return NULL on @@ -320,7 +320,7 @@ FAR void *CTouchscreen::listener(FAR void *arg) // 3. Normal operation, reading touchscreen data and forwarding it to NX // Check if we need to collect touchscreen data. That is, that we are enabled, - // AND have calibratation data OR if we need to collect data for the calbration + // AND have calibration data OR if we need to collect data for the calibration // process. while ((!This->m_enabled || !This->m_calibrated) && !This->m_capture) @@ -431,7 +431,7 @@ void CTouchscreen::handleMouseInput(struct touch_sample_s *sample) DEBUGASSERT(sample == &m_sample); - // Check if normal processing of touchscreen data is enaable. Check if + // Check if normal processing of touchscreen data is enabled. Check if // we have been given calibration data. if (!m_enabled || !m_calibrated) @@ -443,7 +443,7 @@ void CTouchscreen::handleMouseInput(struct touch_sample_s *sample) } // Now we will inject the touchscreen into NX as mouse input. First - // massage the data a litle so that it behaves a little more like a + // massage the data a little so that it behaves a little more like a // mouse with only a left button // // Was the button up or down? @@ -592,4 +592,3 @@ void CTouchscreen::handleMouseInput(struct touch_sample_s *sample) NXHANDLE handle = m_server->getServer(); (void)nx_mousein(handle, x, y, buttons); } - -- cgit v1.2.3