mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 14:21:04 +08:00
Unify TODO comment style for better searchability
This commit is contained in:
parent
0e17f4d320
commit
b199cc68d1
@ -81,7 +81,7 @@ String getDescription(Keyboard::Scancode /* code */)
|
||||
////////////////////////////////////////////////////////////
|
||||
void setVirtualKeyboardVisible(bool visible)
|
||||
{
|
||||
// todo: Check if the window is active
|
||||
// TODO: Check if the window is active
|
||||
|
||||
ActivityStates& states = getActivity();
|
||||
const std::lock_guard lock(states.mutex);
|
||||
|
@ -291,7 +291,7 @@ int WindowImplAndroid::processEvent(int /* fd */, int /* events */, void* /* dat
|
||||
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_MOVE:
|
||||
{
|
||||
@ -299,7 +299,7 @@ int WindowImplAndroid::processEvent(int /* fd */, int /* events */, void* /* dat
|
||||
break;
|
||||
}
|
||||
|
||||
// todo: investigate AMOTION_EVENT_OUTSIDE
|
||||
// TODO: investigate AMOTION_EVENT_OUTSIDE
|
||||
case AMOTION_EVENT_ACTION_POINTER_DOWN:
|
||||
case AMOTION_EVENT_ACTION_DOWN:
|
||||
{
|
||||
|
@ -155,7 +155,7 @@ void WindowImplDRM::setMouseCursorVisible(bool /*visible*/)
|
||||
////////////////////////////////////////////////////////////
|
||||
void WindowImplDRM::setMouseCursorGrabbed(bool /*grabbed*/)
|
||||
{
|
||||
//TODO: not implemented
|
||||
// TODO: not implemented
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
@ -307,7 +307,7 @@ void WindowImpl::processSensorEvents()
|
||||
m_sensorValue[i] = SensorManager::getInstance().getValue(sensor);
|
||||
|
||||
// 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.type = Event::SensorChanged;
|
||||
|
@ -132,7 +132,7 @@ Vector2u WindowImplUIKit::getSize() const
|
||||
////////////////////////////////////////////////////////////
|
||||
void WindowImplUIKit::setSize(const Vector2u& size)
|
||||
{
|
||||
// @todo ...
|
||||
// TODO ...
|
||||
|
||||
// if these sizes are required one day, don't forget to scale them!
|
||||
// size.x /= m_backingScale;
|
||||
|
Loading…
Reference in New Issue
Block a user