Unify TODO comment style for better searchability

This commit is contained in:
Chris Thrasher 2023-11-12 19:06:06 -07:00
parent 0e17f4d320
commit b199cc68d1
5 changed files with 6 additions and 6 deletions

View File

@ -81,7 +81,7 @@ String getDescription(Keyboard::Scancode /* code */)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void setVirtualKeyboardVisible(bool visible) void setVirtualKeyboardVisible(bool visible)
{ {
// todo: Check if the window is active // TODO: Check if the window is active
ActivityStates& states = getActivity(); ActivityStates& states = getActivity();
const std::lock_guard lock(states.mutex); const std::lock_guard lock(states.mutex);

View File

@ -291,7 +291,7 @@ int WindowImplAndroid::processEvent(int /* fd */, int /* events */, void* /* dat
break; break;
} }
// todo: should hover_move indeed trigger the event? // TODO: should hover_move indeed trigger the event?
// case AMOTION_EVENT_ACTION_HOVER_MOVE: // case AMOTION_EVENT_ACTION_HOVER_MOVE:
case AMOTION_EVENT_ACTION_MOVE: case AMOTION_EVENT_ACTION_MOVE:
{ {
@ -299,7 +299,7 @@ int WindowImplAndroid::processEvent(int /* fd */, int /* events */, void* /* dat
break; break;
} }
// todo: investigate AMOTION_EVENT_OUTSIDE // TODO: investigate AMOTION_EVENT_OUTSIDE
case AMOTION_EVENT_ACTION_POINTER_DOWN: case AMOTION_EVENT_ACTION_POINTER_DOWN:
case AMOTION_EVENT_ACTION_DOWN: case AMOTION_EVENT_ACTION_DOWN:
{ {

View File

@ -155,7 +155,7 @@ void WindowImplDRM::setMouseCursorVisible(bool /*visible*/)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void WindowImplDRM::setMouseCursorGrabbed(bool /*grabbed*/) void WindowImplDRM::setMouseCursorGrabbed(bool /*grabbed*/)
{ {
//TODO: not implemented // TODO: not implemented
} }
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////

View File

@ -307,7 +307,7 @@ void WindowImpl::processSensorEvents()
m_sensorValue[i] = SensorManager::getInstance().getValue(sensor); m_sensorValue[i] = SensorManager::getInstance().getValue(sensor);
// If the value has changed, trigger an event // If the value has changed, trigger an event
if (m_sensorValue[i] != previousValue) // @todo use a threshold? if (m_sensorValue[i] != previousValue) // TODO use a threshold?
{ {
Event event; Event event;
event.type = Event::SensorChanged; event.type = Event::SensorChanged;

View File

@ -132,7 +132,7 @@ Vector2u WindowImplUIKit::getSize() const
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
void WindowImplUIKit::setSize(const Vector2u& size) void WindowImplUIKit::setSize(const Vector2u& size)
{ {
// @todo ... // TODO ...
// if these sizes are required one day, don't forget to scale them! // if these sizes are required one day, don't forget to scale them!
// size.x /= m_backingScale; // size.x /= m_backingScale;