Style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-09-07 12:45:08 +00:00
parent df9bb1df97
commit e4d2cd5dfd
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -517,7 +517,7 @@ ObjectView::MouseMoved(BPoint point, uint32 transit, const BMessage *msg)
setEvent(drawEvent);
}
} else {
GLObject* object = reinterpret_cast<GLObject*>(fObjects.ItemAt(ObjectAtPoint(point)));
void* object = fObjects.ItemAt(ObjectAtPoint(point));
BCursor cursor(object != NULL ?
B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
SetViewCursor(&cursor);
@@ -1204,7 +1204,8 @@ void
PreView::MouseMoved(BPoint point, uint32 transit, const BMessage* message)
{
if (!IsTracking()) {
BCursor cursor(IsEnabled() ? B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
BCursor cursor(IsEnabled() ?
B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
SetViewCursor(&cursor);
} else {
float x, y;