SWILIB API (SG)    
Loading...
Searching...
No Matches
CONST

Detailed Description

Various constants.

Usage: #include <swilib/const.h>

Langpack

int LP_MonthsShort ()
 Get the base LGP ID of the short month names.
 
int LP_MonthsLong ()
 Get the base LGP ID of the full month names.
 
int LP_Weekdays ()
 Get the base LGP ID of the weekday names.
 

Icons

int PIT_Pic_Big ()
 Get "big" icon: the first picture of the big clock digits.
 
int PIT_Pic_Little ()
 Get "little" icon: the first picture of the small digits used by idle screen patches.
 
int PIT_Pic_Extra ()
 Get "extra" icon: the first picture of the symbols used by idle screen info patches.
 
int PIT_Pic_Profiles ()
 Get "profiles" icon: the first picture of the profile icons.
 
int PIT_Pic_Vibra ()
 Get "vibra" icon used by idle screen patches.
 
int PIT_Pic_Call ()
 Get "call" icon: the missed call icon, followed by the missed SMS icon.
 
int PIT_Pic_AdvNet ()
 Get "advnet" icon: the first picture of the advanced network indicator levels.
 
int PIT_Pic_Calendar ()
 Get "calendar" icon: the first picture of the calendar weekday names, followed by the "today" frame.
 
int PIT_Pic_AccuGraph ()
 Get "accumulator" icon: the first picture of the battery temperature graph.
 
int PIT_Pic_Lani ()
 Get "lani" icon: the first picture of the large advanced network indicator.
 

Function Documentation

◆ LP_MonthsShort()

int LP_MonthsShort ( )

Get the base LGP ID of the short month names.

Returns
base; the name of month m (1-12) is base + m

◆ LP_MonthsLong()

int LP_MonthsLong ( )

Get the base LGP ID of the full month names.

Returns
base; the name of month m (1-12) is base + m

◆ LP_Weekdays()

int LP_Weekdays ( )

Get the base LGP ID of the weekday names.

Returns
base; the name of weekday d (0 = Sunday, 6 = Saturday) is base + d

◆ PIT_Pic_Big()

int PIT_Pic_Big ( )

Get "big" icon: the first picture of the big clock digits.

Returns
PIT index of the digit '0'; the digits 0-9 have consecutive IDs

◆ PIT_Pic_Little()

int PIT_Pic_Little ( )

Get "little" icon: the first picture of the small digits used by idle screen patches.

Returns
PIT index of the digit '0'; the digits 0-9 have consecutive IDs
Note
On NSG and ELKA the stock PIT has no such picture, it comes from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_Extra()

int PIT_Pic_Extra ( )

Get "extra" icon: the first picture of the symbols used by idle screen info patches.

Returns
PIT index
Note
The pictures come from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_Profiles()

int PIT_Pic_Profiles ( )

Get "profiles" icon: the first picture of the profile icons.

Returns
PIT index; the icon of profile n is base + n
Note
The pictures come from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_Vibra()

int PIT_Pic_Vibra ( )

Get "vibra" icon used by idle screen patches.

Returns
PIT index
Note
The picture comes from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_Call()

int PIT_Pic_Call ( )

Get "call" icon: the missed call icon, followed by the missed SMS icon.

Returns
PIT index
Note
On NSG and ELKA the pictures come from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_AdvNet()

int PIT_Pic_AdvNet ( )

Get "advnet" icon: the first picture of the advanced network indicator levels.

Returns
PIT index
Note
The pictures come from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_Calendar()

int PIT_Pic_Calendar ( )

Get "calendar" icon: the first picture of the calendar weekday names, followed by the "today" frame.

Returns
PIT index
Note
The pictures come from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_AccuGraph()

int PIT_Pic_AccuGraph ( )

Get "accumulator" icon: the first picture of the battery temperature graph.

Returns
PIT index
Note
The pictures come from a patch or ElfPack (ZBin\img\<id>.png).

◆ PIT_Pic_Lani()

int PIT_Pic_Lani ( )

Get "lani" icon: the first picture of the large advanced network indicator.

Returns
PIT index
Note
The pictures come from a patch or ElfPack (ZBin\img\<id>.png).