Các bạn có thể tự tạo skin cho riêng mình mà. Tham khảo cách tạo dưới đây:
------------------------------------
Inesoft CallerID skin.ini format description.
-------
Sections:
-------
No section is required, if some parameter is not set, the program will use a default value.
1. [Background Image]
Background image properties
attributes:
type = see below
file = file.ext – BMP file name (default value: bgr.bmp)
posP = x,y – left upper corner coordinates in portrait mode (default value: 0,0)
sizeP = w,h – width and height in portrait mode (if not or set 0,0 the program will use a picture size)
posL = x,y - left upper corner coordinates in landscape mode (if not set, the program will use the portrait settings)
sizeL = w,h - width and height in landscape mode (if not set, the program will use the portrait settings)
posQ = x,y - left upper corner coordinates for square screen (if not set, the program will use the landscape settings)
sizeQ = w,h - width and height for square screen (if not set, the program will use the landscape settings)
2.[Background Color]
Background color settings if a background picture is not set or does not cover the whole area.
attributes:
color = R,G,B – color in RGB format (255,255,255 - white; 0,0,0 - black etc.)
3.[Photo Rect]
Sets the contact picture position
attributes:
posP = x,y - left upper corner coordinates in portrait mode (if not set, the program will not show a picture in portrait mode)
sizeP = w,h - width and height in portrait mode (if not set, the program will not show a picture in portrait mode)
posL = x,y - left upper corner coordinates in landscape mode (if not set, the program will use the portrait settings)
sizeL = w,h - width and height in landscape mode (if not set, the program will use the portrait settings)
posQ = x,y - left upper corner coordinates for square screen (if not set, the program will use the landscape settings)
sizeQ = w,h - width and height for square screen (if not set, the program will use the landscape settings)
4. [Button]
Sets buttons, can have more than one section
attributes:
type = see below
file_up = file.ext - BMP file name for released button
file_down = file.ext – BMP file name for pressed button
id = value – button identifier, can have these values: 1 – the green button, 2 – the red button, 3 – close window, 4 – switch the ring off
posP = x,y - left upper corner coordinates in portrait mode (if not set, the program will not show a picture in portrait mode)
sizeP = w,h - width and height in portrait mode (if not set, the program will not show a picture in portrait mode)
posL = x,y - left upper corner coordinates in landscape mode (if not set, the program will use the portrait settings)
sizeL = w,h - width and height in landscape mode (if not set, the program will use the portrait settings)
posQ = x,y - left upper corner coordinates for square screen (if not set, the program will use the landscape settings)
sizeQ = w,h - width and height for square screen (if not set, the program will use the landscape settings)
5. [Image]
Sets a picutre, can have more than one section
attributes:
file = file.ext - BMP file name
type = see below
border = 1/0, 1 – draw a border round the picture, 0 – do not draw (default value: 0), see section [Border Image] too
posP = x,y - left upper corner coordinates in portrait mode (default value: 0,0)
sizeP = w,h - width and height in portrait mode (if not set or set 0,0 the program will use the picture size)
posL = x,y - left upper corner coordinates in landscape mode (if not set, the program will use the portrait settings)
sizeL = w,h - width and height in landscape mode (if not set, the program will use the portrait settings)
posQ = x,y - left upper corner coordinates for square screen (if not set, the program will use the landscape settings)
sizeQ = w,h - width and height for square screen (if not set, the program will use the landscape settings)
6. [Label]
Sets the block of text information can have more than one section
attributes:
type = see below
hor_align = x – horizontal alignment, can have these values: 0 – to the left, 1 – to the right, 2 - center (default value: 0)
vert_align = x – vertical alignment, can have these values: 0 - upside, 1 - downside, 2 - center (default value: 0)
fields = value1,value2,...valueN – a field set, each field can have one of these values:
time – current time
name – contact name
company – company name
job - job
phoneonly – phone number
phonetype – phone type
phone – phone number + phone type
category – contact category
nick – nick name
Number of fields is not limited, each field starts a new line
font1...N = height,name,bold,italic – font settings for N field, where: height – font size in points, name – font name, bold - 1 or 0 (bold or usual), italic - 1 or 0 (italic or usual)
if a font is not set for some fields, the program will use the default font (9,Tahoma,0,0)
color1...N = R,G,B – a color for N field in RGB format (255,255,255 - white; 0,0,0 – black etc.)
if a color for some field is not set, the program will use black color
posP = x,y – left upper corner coordinates in portrait mode (if not set, the program will not show a block in portrait mode)
sizeP = w,h – width and height in portrait mode (if not set, the program will not show a block in portrait mode)
posL = x,y - left upper corner coordinates in landscape mode (if not set, the program will not show a block in landscape mode)
sizeL = w,h - width and height in landscape mode (if not set, the program will not show a block in landscape mode)
posQ = x,y - left upper corner coordinates for square screen (if not set, the program will not show a block on a square screen)
sizeQ = w,h - width and height for square screen (if not set, the program will not show a block on a square screen)
7. [Border Image]
Sets a BMP picture for the contact photo boarder, it the 'border" attribute is 1
attributes:
file = file.ext – BMP file name
width and height must be divisible by 3 because the program divides the file to 9 pieces:
123
456
789
pieces 1,3,9,7 are used to draw boarder corners
pieces 2,4,6,8 are used to draw boarder lines
----------------
Attribute type:
----------------
Used in sections [Background Image],[Button],[Image],[Label]
Sets section using rules
type = number value:
1 – unknown caller (no phone number)
2 – private caller (no phone number)
4 – phone number detected, not present in contacts
8 – phone number detected, found contact without a picture
16 - phone number detected, found contact with a picture
255 – use in all modes
to set up more than one mode, sum its values, for example: 28 (4 + 8 + 16) – for all modes when a phone number detected
when not set, the program will use default value: 255
-----------
Notes:
-----------
1. To install a skin on your mobile device, create CIDSkin folder in Address Book installation folder, and copy skin.ini and all BMP pictures to. Restart CallerID the changes to take effect;
2. To reduce a BMP file size, save it as 256 Color;
3. Create a few sections [Label] to group a call information in different ways (for example for portrait and landscape modes) and use sizeP/sizeL
Example:
To make the CallerID to show:
1. name\company\phone number block under the picture in portrait mode
2. name\company block to the right of the picture and phone number block under the picture in landscape mode
create these sections:
[Label]
fields = name,company,phone
posP = 5,190
sizeP = 230,75
sizeL = 0,0
[Label]
fields = name,company
sizeP = 0,0
posL = 168,30
sizeL = 146,152
[Label]
fields = phone
posP = 0,0
posL = 5,190
sizeL = 230,75
4. To present the call info in different way, depending on call type, use the "type" attribute.
Example:
If on incoming call a contact with picture was found, the contact details font will be small and black under the picture, otherwise the font will be large, red and centred:
[Label]
type = 16
fields = name,company,phone
hor_align = 2
vert_align = 2
posP = 5,190
sizeP = 230,75
[Label]
type = 15
fields = name,company,phone
hor_align = 2
vert_align = 2
posP = 0,0
sizeP = 240,320
font1 = 20,Tahoma,1,0
color1 = 255,0,0
font2 = 20,Tahoma,1,0
color2 = 255,0,0
font3 = 20,Tahoma,1,0
color3 = 255,0,0
5. Use the CIDSkinPC.exe file to test your skin on a PC computer.
Download CIDSkinPC:
http://www.inesoft.com/beta/AB_167_BETA3/