summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c4fe56)
This pollutes the log for general touch as it's used by the TouchEventProcessor for backwards compatability
and, thus, the log is always shown even if applications are not using it.
Change-Id: Ied028740a3007914a6c68c0ffa3a66ad6ef840c9
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
TouchEvent::TouchEvent()
: time(0)
{
TouchEvent::TouchEvent()
: time(0)
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: TouchEvent() is deprecated and will be removed from next release. Use TouchData instead.\n" );
}
TouchEvent::TouchEvent(unsigned long time)
: time(time)
{
}
TouchEvent::TouchEvent(unsigned long time)
: time(time)
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: TouchEvent() is deprecated and will be removed from next release. Use TouchData instead.\n" );
}
TouchEvent::~TouchEvent()
{
}
TouchEvent::~TouchEvent()
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: ~TouchEvent() is deprecated and will be removed from next release. Use TouchData instead.\n" );
}
unsigned int TouchEvent::GetPointCount() const
{
}
unsigned int TouchEvent::GetPointCount() const
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: GetPointCount() is deprecated and will be removed from next release. Use TouchData instead.\n" );
-
return points.size();
}
const TouchPoint& TouchEvent::GetPoint(unsigned int point) const
{
return points.size();
}
const TouchPoint& TouchEvent::GetPoint(unsigned int point) const
{
- DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: GetPoint() is deprecated and will be removed from next release. Use TouchData instead.\n" );
-
DALI_ASSERT_ALWAYS( point < points.size() && "No point at index" );
return points[point];
}
DALI_ASSERT_ALWAYS( point < points.size() && "No point at index" );
return points[point];
}