Gets bitmap from phone.
Sets bitmap in phone.
Prints bitmap to file descriptor.
Parameters:
- file -
Where to print.
- bitmap -
Bitmap to print.
Saves bitmap to file.
Parameters:
- FileName -
Where to save.
- bitmap -
Bitmap to save.
Return: Error code
Reads bitmap from file.
Parameters:
- FileName -
Where to load from.
- bitmap -
Pointer where to load bitmap.
Return: Error code
Checks whether point is set in bitmap.
Parameters:
- bmp -
Bitmap
- x -
Horizontal coordinate.
- y -
Vertical coordinate.
Return: True if point is set.
Sets point in bitmap.
Parameters:
- bmp -
Bitmap
- x -
Horizontal coordinate.
- y -
Vertical coordinate.
Clears point in bitmap.
Parameters:
- bmp -
Bitmap
- x -
Horizontal coordinate.
- y -
Vertical coordinate.
Clears bitmap.
Parameters:
- bmp -
Bitmap
GSM_BinaryPicture_Types enum
Binary picture types.
Values:
- PICTURE_BMP = 1 -
- PICTURE_GIF -
- PICTURE_JPG -
- PICTURE_ICN -
- PICTURE_PNG -
Binary picture data.
Public Members
GSM_Bitmap_Types enum
Enum to handle all possible bitmaps, which are not saved in various filesystems.
Values:
- GSM_None = 1 -
- GSM_ColourStartupLogo_ID -
ID of static file in filesystem displayed during startup
- GSM_StartupLogo -
Static mono bitmap/ID of animated mono bitmap displayed during startup
- GSM_ColourOperatorLogo_ID -
ID of static file in filesystem displayed instead of operator name
- GSM_OperatorLogo -
Mono bitmap displayed instead of operator name
- GSM_ColourWallPaper_ID -
ID of static file in filesystem displayed as wallpaper
- GSM_CallerGroupLogo -
Mono bitmap assigned to caller group
- GSM_DealerNote_Text -
Text displayed during startup, which can’t be removed from phone menu
- GSM_WelcomeNote_Text -
Text displayed during startup
- GSM_PictureImage -
Image defined in Smart Messaging specification
- GSM_PictureBinary -
Binary picture (BMP, GIF, etc.)
Structure for all possible bitmaps, which are not saved in various filesystems
Public MembersGSM_Bitmap_Types Type
For all: bitmap type
unsigned char Location
For caller group logos: number of group For startup logos: number of animated bitmap
unsigned char Text[2 *(GSM_BITMAP_TEXT_LENGTH+1)]
For dealer/welcome note text: text For caller group logo: name of group For picture images: text assigned to it
gboolean BitmapEnabled
For caller group logo: TRUE, when logo is enabled in group
gboolean DefaultName
For caller group logo: TRUE, when group has default name
gboolean DefaultBitmap
For caller group logo: TRUE, when group has default bitmap
gboolean DefaultRingtone
For caller group logo: TRUE, when group has default ringtone
unsigned char RingtoneID
For caller group logo: ringtone ID. Phone model specific
gboolean FileSystemRingtone
int PictureID
For caller group logo: picture ID. Phone model specific
gboolean FileSystemPicture
unsigned char BitmapPoints[GSM_BITMAP_SIZE]
For mono bitmaps: body of bitmap
size_t BitmapHeight
For mono bitmaps: height specified in pixels
size_t BitmapWidth
For mono bitmaps: width specified in pixels
char NetworkCode[7]
For operator logos: Network operator code
unsigned char Sender[2 *(GSM_MAX_NUMBER_LENGTH+1)]
For picture images: number of sender
unsigned char ID
For colour bitmaps: ID
GSM_BinaryPicture BinaryPic
For binary pictures (GIF, BMP, etc.): frame and length
unsigned char Name[2 *(GSM_BITMAP_TEXT_LENGTH+1)]
Bitmap name
Structure to handle more than one bitmap
Public Members
Gets phone screenshot.
Parameters:
- s -
State machine pointer.
- picture -
Structure which will hold data.