SWILIB API (X75)    
Loading...
Searching...
No Matches
legacy.h File Reference
#include "base.h"
#include "date.h"
#include "gui.h"
#include "wstring.h"
#include "gbs.h"

Go to the source code of this file.

Data Structures

struct  RAM_DATETIME
 RAM copy of the RTC calendar. More...
 

Typedefs

typedef struct RAM_DATETIME RAM_DATETIME
 

Functions

int memcmp_2 (const void *ptr1, const void *ptr2, size_t num)
 Compare two blocks of memory.
 
void * memcpy_2 (void *destination, const void *source, size_t num)
 Copy block of memory.
 
char * strrchr_2 (const char *str, int character)
 Locate last occurrence of character in string.
 
int wsprintf_2 (WSHDR *s, const char *format,...)
 Write formatted output to WSHDR.
 
WSHDR * AllocWS_2 (int size)
 Create new empty WSHDR.
 
void FreeWS_2 (WSHDR *str)
 Free WSHDR.
 
WSHDR * wstrcpy_2 (WSHDR *destination, WSHDR *source)
 Copy WSHDR.
 
void ClearMemory (void *ptr, int num)
 Fill block of memory with zero.
 
char * GetPaletteAdrByColorIndex_2 (int index)
 Get color from the phone theme.
 
int IsTimerProc_2 (GBSTMR *timer)
 Check if timer is not yet expired.
 
void LockSched_2 (void)
 Lock OS scheduler.
 
void UnlockSched_2 (void)
 Unlock OS scheduler.
 
void DrawImg_2 (int x, int y, int picture)
 Draw image from the PIT table.
 
void DrawRoundedFrame_2 (int x1, int y1, int x2, int y2, int x_round, int y_round, int flags, const char *pen, const char *brush)
 Draw a rounded rectangle.
 
void DrawRectangle_2 (int x1, int y1, int x2, int y2, int flags, const char *pen, const char *brush)
 Draw a rectangle.
 
void DrwObj_SetColor_2 (DRWOBJ *drwobj, const char *pen, const char *brush)
 Set color to the DRWOBJ.
 
void GeneralFuncF1_2 (int cmd)
 Request closing of the focused GUI.
 
int GetTimeFormat ()
 Get date&time format from settings.
 
short GetWavLenByContent (const uint8_t **data, uint32_t riff_size, void *info)
 Parse the header of an IMA ADPCM .wav file (mono, 4 bits, 8000 or 16000 Hz).
 
void * RamCurrentTrack ()
 Pointer to the current track in MediaPlayer.
 
void * RamAudioParamsAddr (void)
 Pointer to the audio params (unknown).
 
RAM_DATETIME * RamDateTime ()
 Pointer to the current date and time.
 
char * RamKeyBuffer (void)
 Pointer to the current pressed key.
 
char * RamIsNumberTyping (void)
 Check if user typing phone number.
 
void * RamShutdownMode ()
 Pointer to the state of the power on/off process (MSMONOFF).
 
void * RamSizeOfPart ()
 Unknown.
 
int * RamSizeOfReceivedOrSentFile ()
 Get size of the recevied or sent file.
 
const char * RamNameOfReceivedOrSentFile ()
 Get size of the recevied or sent file.
 
int * RamIsSendingOrReceivingFileByBT ()
 Check if currently sending or receiving file by BT.
 
int * RamIsNotOnMainscreen ()
 Check if the IDLE is NOT currently displayed.
 
void editOrNewTXTModule (const char *file)
 Unknown.
 
void SwitchVibraOnOff (void)
 Toggle vibration for the current profile.
 
int GetProfileFilter (int profile_id)
 Unknown.
 
Nucleus
void NU_Restore_Interrupts_2 (void)
 
void NU_Unprotect_2 (void)
 
void NU_Disable_History_Saving_2 (void)
 
void NU_Enable_History_Saving_2 (void)
 
char * RamInputLanguage ()
 Input language flags byte (historical address, not the language ID).