diff -r f7fbeaeb166a -r b23265fb36da bluetoothengine/bthid/mouse/PaintCursor/src/paintcursorappui.cpp --- a/bluetoothengine/bthid/mouse/PaintCursor/src/paintcursorappui.cpp Wed Apr 14 16:09:00 2010 +0300 +++ b/bluetoothengine/bthid/mouse/PaintCursor/src/paintcursorappui.cpp Tue Apr 27 16:49:44 2010 +0300 @@ -31,7 +31,7 @@ void CPaintCursorAppUi::ConstructL() { - TRACE_INFO(_L("[PaintCursor]\t CPaintCursorAppUi::ConstructL()")); + TRACE_INFO(_L("[BTHID]\t CPaintCursorAppUi::ConstructL()")); BaseConstructL(); iAppView = CPaintCursorAppView::NewL(ClientRect()); @@ -83,7 +83,7 @@ void CPaintCursorAppUi::HandleCommandL(TInt aCommand) { - TRACE_INFO((_L("[PaintCursor]\t CPaintCursorAppUi::HandleCommandL(%d)"),aCommand)); + TRACE_INFO((_L("[BTHID]\tCPaintCursorAppUi::HandleCommandL(%d)"),aCommand)); switch ( aCommand ) { case EEikCmdExit : @@ -121,7 +121,7 @@ void CPaintCursorAppUi::MouseCursorStatusChangedL(TInt aStatus) { - + TRACE_INFO((_L("[BTHID]\tCPaintCursorAppUi::MouseCursorStatusChangedL(%d)"),aStatus)); switch (aStatus) { case ECursorShow: @@ -132,12 +132,23 @@ case ECursorHide: { iAppView->HideCursor(); - EndTask(); break; } case ECursorNotInitialized: { + iAppView->HideCursor(); EndTask(); + break; + } + case ECursorRedraw: + { + iAppView->RedrawCursor(); + break; + } + case ECursorReset: + { + iAppView->ResetCursor(); + break; } default: {