view src/cs/layer1/dyn_dwl_include/l1_dyn_dwl_error.h @ 265:e57bfdadf49a

mmiIcons.c: fix bogus icnType in incoming_call_animate[] The incoming call animation icons are actually drawn in 256-color format, but they were incorrectly declared as BMP_FORMAT_32BIT_COLOUR in the incoming_call_animate[] array. Why were they still getting displayed correctly despite this bogosity? Answer: because the mmi_dialogs_animation_new_CB() function overrides the icon bitmap type to 0x02, which means 256-color format. Needless to say, the icon format should be made correct at the source of the data, and at some later point we may need to remove the override from the animation display function.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 17 May 2021 07:18:36 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/************* Revision Controle System Header *************
 *                  GSM Layer 1 software
 * L1_DYN_DWL_ERROR.H
 *
 *        Filename l1_dyn_dwl_error.h
 *  Copyright 2004 (C) Texas Instruments
 *
 ************* Revision Controle System Header *************/
#if (L1_DYN_DSP_DWNLD == 1)

#ifndef _L1_DYN_DWL_ERROR_H_
#define _L1_DYN_DWL_ERROR_H_

#define C_DYN_DWL_ERR_NONE           (0x0000)   /* no error */
#define C_DYN_DWL_ERR_WR_PTR         (0x0001)   /* write pointer is not correct */
#define C_DYN_DWL_ERR_SIZE           (0x0002)   /* size is not correct          */
#define C_DYN_DWL_ERR_END_SECTION    (0x0004)   /* end word is not detected     */
#define C_DYN_DWL_ERR_UN_INSTALL     (0x0008)   /* installation or un-installation fail */
#define C_DYN_DWL_ERR_NOT_ENDED      (0x0010)   /* new request received but download not finished */ 

#endif    // _L1_DYN_DWL_ERROR_H_
#endif    // L1_DYN_DSP_DWNLD