Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -517,7 +517,7 @@ ObjectView::MouseMoved(BPoint point, uint32 transit, const BMessage *msg)
|
|||||||
setEvent(drawEvent);
|
setEvent(drawEvent);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
GLObject* object = reinterpret_cast<GLObject*>(fObjects.ItemAt(ObjectAtPoint(point)));
|
void* object = fObjects.ItemAt(ObjectAtPoint(point));
|
||||||
BCursor cursor(object != NULL ?
|
BCursor cursor(object != NULL ?
|
||||||
B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
|
B_CURSOR_ID_GRAB : B_CURSOR_ID_SYSTEM_DEFAULT);
|
||||||
SetViewCursor(&cursor);
|
SetViewCursor(&cursor);
|
||||||
|
|||||||
@@ -1204,7 +1204,8 @@ void
|
|||||||
PreView::MouseMoved(BPoint point, uint32 transit, const BMessage* message)
|
PreView::MouseMoved(BPoint point, uint32 transit, const BMessage* message)
|
||||||
{
|
{
|
||||||
if (!IsTracking()) {
|
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);
|
SetViewCursor(&cursor);
|
||||||
} else {
|
} else {
|
||||||
float x, y;
|
float x, y;
|
||||||
|
|||||||
Reference in New Issue
Block a user