[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: gnokii/common gsm-bitmaps.c,1.13,1.14
From: |
Markus Plail <address@hidden> |
Subject: |
CVS: gnokii/common gsm-bitmaps.c,1.13,1.14 |
Date: |
Tue, 02 Apr 2002 09:07:02 -0500 |
Update of /cvsroot/gnokii/gnokii/common
In directory subversions:/tmp/cvs-serv19383
Modified Files:
gsm-bitmaps.c
Log Message:
Support for 6310/6510 operator logos (partially) added
Index: gsm-bitmaps.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/common/gsm-bitmaps.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** gsm-bitmaps.c 28 Mar 2002 21:37:44 -0000 1.13
--- gsm-bitmaps.c 2 Apr 2002 14:06:59 -0000 1.14
***************
*** 65,79 ****
! if (bmp->type == GSM_OperatorLogo || bmp->type == GSM_CallerLogo)
i = (bmp->bitmap[(y*bmp->width+x)/8] & 1 <<
(7-((y*bmp->width+x)%8)));
! if (bmp->type == SMS_Picture)
i = (bmp->bitmap[9 * y + (x / 8)] & 1 << (7 - (x % 8)));
! if ((bmp->type == GSM_StartupLogo) || (bmp->type ==
GSM_NewOperatorLogo))
i = (bmp->bitmap[((y/8)*bmp->width) + x] & 1<<((y%8)));
!
! if (i) return true;
! else return false;
}
--- 65,91 ----
! if (bmp->type == GSM_OperatorLogo || bmp->type == GSM_CallerLogo){
i = (bmp->bitmap[(y*bmp->width+x)/8] & 1 <<
(7-((y*bmp->width+x)%8)));
+ if (i)
+ return true;
+ else
+ return false;
+ }
! if (bmp->type == SMS_Picture) {
i = (bmp->bitmap[9 * y + (x / 8)] & 1 << (7 - (x % 8)));
+ if (i)
+ return true;
+ else
+ return false;
+ }
! if ((bmp->type == GSM_StartupLogo) || (bmp->type ==
GSM_NewOperatorLogo)){
i = (bmp->bitmap[((y/8)*bmp->width) + x] & 1<<((y%8)));
! if (i)
! return true;
! else
! return false;
! }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS: gnokii/common gsm-bitmaps.c,1.13,1.14,
Markus Plail <address@hidden> <=