mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Windows: Removed Desktop::clearAllTouchSources() method and cleaned up some Windows touch input code
This commit is contained in:
parent
8e4c187451
commit
ca9c8f22d7
4 changed files with 20 additions and 37 deletions
|
|
@ -684,21 +684,6 @@ struct MouseInputSource::SourceList : public Timer
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
void clearTouches()
|
||||
{
|
||||
for (auto i = sourceArray.size(); --i >= 0;)
|
||||
{
|
||||
if (sourceArray.getUnchecked (i).getType() == MouseInputSource::InputSourceType::touch)
|
||||
sourceArray.remove (i);
|
||||
}
|
||||
|
||||
for (auto i = sources.size(); --i >= 0;)
|
||||
{
|
||||
if (sources.getUnchecked (i)->inputType == MouseInputSource::InputSourceType::touch)
|
||||
sources.remove (i);
|
||||
}
|
||||
}
|
||||
|
||||
int getNumDraggingMouseSources() const noexcept
|
||||
{
|
||||
int num = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue