comparison src/ui/bmi/mmiIdle.c @ 58:c93e02568273

mmiIdle.c: remove bogus editor date & time display
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 21 Oct 2020 02:54:44 +0000
parents 0334bd34386c
children 77321341946c
comparison
equal deleted inserted replaced
57:0334bd34386c 58:c93e02568273
2459 { 2459 {
2460 TRACE_EVENT("idle_win_cb()-phonebook"); 2460 TRACE_EVENT("idle_win_cb()-phonebook");
2461 softKeys_displayId(TxtNames,TxtSoftMenu,0,COLOUR_IDLE); 2461 softKeys_displayId(TxtNames,TxtSoftMenu,0,COLOUR_IDLE);
2462 } 2462 }
2463 2463
2464 /*
2465 * FreeCalypso: the following code was written for LSCREEN and is
2466 * completely bogus for the smallbw version. However, let's go
2467 * a step further and remove it altogether, and in the bigcolor
2468 * version let the main code in idle_displayData() display the date
2469 * and time without suppressing them for the editor case.
2470 */
2471 #if 0
2464 // Jul 08, 2005 REF: ENH 32642 x0018858 2472 // Jul 08, 2005 REF: ENH 32642 x0018858
2465 //Code to display the date/time even if the idle_data editor is being displayed. 2473 //Code to display the date/time even if the idle_data editor is being displayed.
2466 //Begin 32642 2474 //Begin 32642
2467 #ifdef NEW_EDITOR 2475 #ifdef NEW_EDITOR
2468 if (idle_data.editor != NULL) 2476 if (idle_data.editor != NULL)
2494 dspl_TextOut( 100, yPos, 0, dt_str ); 2502 dspl_TextOut( 100, yPos, 0, dt_str );
2495 #endif 2503 #endif
2496 2504
2497 } 2505 }
2498 //End 32642 2506 //End 32642
2499 2507 #endif
2508
2500 resources_restoreMnuColour();//required only if other menu items are to be drawn afterwards 2509 resources_restoreMnuColour();//required only if other menu items are to be drawn afterwards
2501 2510
2502 resources_restoreColour(); 2511 resources_restoreColour();
2503 2512
2504 #ifdef COLOURDISPLAY 2513 #ifdef COLOURDISPLAY