SWILIB API (NSG)    
Loading...
Searching...
No Matches
Deprecated List
Global _close (int fd, uint32_t *err)
For compatibility with old GCC code. Use sys_close instead.
Global _flush (int fd, uint32_t *err)
For compatibility with old GCC code. Use sys_fflush instead.
Global _lseek (int fd, uint32_t offset, uint32_t origin, uint32_t *err, uint32_t *err2)
For compatibility with old GCC code. Use sys_lseek instead.
Global _mkdir (const char *dirname, uint32_t *err)
For compatibility with old GCC code. Use sys_mkdir instead.
Global _open (const char *path, uint32_t mode, uint32_t permission, uint32_t *err)
For compatibility with old GCC code. Use sys_open instead.
Global _read (int fd, void *buffer, int length, uint32_t *err)
For compatibility with old GCC code. Use sys_read instead.
Global _rmdir (const char *dirname, uint32_t *err)
For compatibility with old GCC code. Use sys_rmdir instead.
Global _truncate (int fd, int length, uint32_t *err)
For compatibility with old GCC code. Use sys_truncate instead.
Global _unlink (const char *path, uint32_t *err)
For compatibility with old GCC code. Use sys_unlink instead.
Global _write (int fd, const void *buffer, int length, uint32_t *err)
For compatibility with old GCC code. Use sys_write instead.
Global AllocWS_2 (int size)
use AllocWS
Global bzero (void *ptr, int num)
use memset
Global ClearMemory (void *ptr, int num)
use memset
Global CreateGUI_ID (void *gui, int id)
Don't use this function!
Global drawArc (int x1, int y1, int x2, int y2, int start_angle, int end_start, int flags, const char *pen, const char *brush)
Use DrawArc
Global DrawImg_2 (int x, int y, int picture)
use DrawImg
Global DrawRectangle_2 (int x1, int y1, int x2, int y2, int flags, const char *pen, const char *brush)
use DrawRectangle
Global DrawRoundedFrame_2 (int x1, int y1, int x2, int y2, int x_round, int y_round, int flags, const char *pen, const char *brush)
use DrawRoundedFrame
Global DrwObj_SetColor_2 (DRWOBJ *drwobj, const char *pen, const char *brush)
use DrwObj_SetColor
Global fclose (int fd, uint32_t *err)
For compatibility with old IAR code. Use sys_close instead.
Global fflush (int fd, uint32_t *err)
For compatibility with old IAR code. Use sys_fflush instead.
Global fillTriangle (int x1, int y1, int x2, int y2, int x3, int y3, int flags, const char *pen, const char *brush)
Use DrawTriangle
Global fmove (const char *old_name, const char *new_name, uint32_t *err)
Use sys_rename instead.
Global fopen (const char *path, uint32_t mode, uint32_t permission, uint32_t *err)
For compatibility with old IAR code. Use sys_open instead.
Global fread (int fd, void *buffer, int length, uint32_t *err)
For compatibility with old IAR code. Use sys_read instead.
Global FreeDrawObject_subobj (DRWOBJ *drwobj)
Use DrwObj_Free
Global FreeWS_2 (WSHDR *str)
use FreeWS
Global fwrite (int fd, const void *buffer, int length, uint32_t *err)
For compatibility with old IAR code. Use sys_write instead.
Global GBS_CreateMsg (void **msg, int cepid_to, int msg_id, int size)
Use MOPI_CreateMessage instead.
Global GBS_PostMsg (void **msg)
Use MOPI_PostMessage instead.
Global GeneralFuncF1_2 (int cmd)
use GeneralFuncF1
Global Get_Obj1_WH (DRWOBJ *drwobj, int *w, int *h)
Use DrwObj_GetWH
Global GetFileStats (const char *path, FSTATS *stat, uint32_t *err)
For compatibility with old GCC code. Use sys_stat instead.
Global GetFunctionPointer (char *shortcut_name)
use GetShortcutRecordByName()
Global GetLCDLAYERByCurCepID ()
use LCD_GetCurrentLayer
Global GetPaletteAdrByColorIndex_2 (int index)
use GetPaletteAdrByColorIndex
Global GetTimeFormat ()
use RamDateTimeSettings
Global GetWavLen (const char *path)
Different function signatures across platforms! Always use: GetFileProp
Global GetWavLenByContent (const uint8_t **data, uint32_t riff_size, void *info)
Always use: GetFileProp
Global IsTimerProc_2 (GBSTMR *timer)
use IsTimerProc
Global LCDRedrawLAYER (LCDLAYER *layer)
use LCDLAYER_Redraw
Global LockSched_2 (void)
use LockSched
Global lseek (int fd, uint32_t offset, uint32_t origin, uint32_t *err, uint32_t *err2)
For compatibility with old IAR code. Use sys_lseek instead.
Global memcmp_2 (const void *ptr1, const void *ptr2, size_t num)
use memcmp
Global memcpy_2 (void *destination, const void *source, size_t num)
use memcpy
Global mkdir (const char *dirname, uint32_t *err)
For compatibility with old IAR code. Use sys_mkdir instead.
Global NU_Disable_History_Saving_2 (void)
use NU_Disable_History_Saving
Global NU_Enable_History_Saving_2 (void)
use NU_Enable_History_Saving
Global NU_Restore_Interrupts_2 (void)
use NU_Restore_Interrupts
Global NU_Unprotect_2 (void)
use NU_Unprotect
Global Obs_SetCSM (HObj obs, CSM_RAM *csm)
Function with wrong name, use instead Obs_SetUserPointer
Global PlayMelody_SetVolume (int handle, PLAY_VOLUME volume)
Use PlayMelody_ChangeVolume instead.
Global RamAlarmClockState ()
use GetAlarmClockState
Global RamCap ()
Always use GetAkkuCapacity
Global RamDisplayLanguage ()
Always use GetCurrentLocale
Global RamInputLanguage ()
Not the input language.
Global RamIsLocked (void)
use IsUnlocked
Global RamIsNotOnMainscreen ()
strange function, use IsIdleUiOnTop
Global RamKeyBuffer (void)
use RamPressedKey
Global RamProfileNum (void)
use GetProfile
Global RamScreenSaverCSM (void)
use GetScreenSaverRAM
Global rmdir (const char *dirname, uint32_t *err)
For compatibility with old IAR code. Use sys_rmdir instead.
Global SendMP_cmd (uint16_t cmd, int16_t substract)
see mplayer.h and Send_MPlayer_Command
Global SetAlignToEditCOptions (EDITC_OPTIONS *options, int flags)
Function with wrong name, use instead SetTextAttrToEditCOptions
Global SetColor (DRWOBJ *drwobj, const char *pen, const char *brush)
Use DrwObj_SetColor
Global SetDepthBufferOnLCDLAYER (LCDLAYER *layer, char depth)
use LCDLAYER_SetBufferDepth
Global SetDrawingCanvas (int x, int y, int x2, int y2)
use LCD_SetDrawingRegion
Global SetHeaderToMenu (void *gui, const HEADER_DESC *header, const void *malloc_fn)
Use SetHeader instead.
Global SetMenuSoftKey (void *gui, const SOFTKEY_DESC *softkey, int softkey_id)
Use SetSoftKey instead.
Global SetPixel (int x, int y, const char *color)
Use DrawPixel
Global SetProp2ImageOrCanvas (DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img, int offset_x, int offset_y)
Use DrwObj_InitTiledImage
Global SetProp2Square_v1 (DRWOBJ *drwobj, const RECT *rect, int flags, int fill_type, int fill_pattern)
Use DrwObj_InitRectEx
Global SetPropTo_obj0x17 (DRWOBJ *drwobj, const RECT *rect, int flags, const EIMGHDR *img, int offset_x, int offset_y)
Use DrwObj_InitTiledImageEx
Global SetPropTo_Obj1 (DRWOBJ *drwobj, const RECT *rect, int flags, const WSHDR *text, int font, int text_flags)
Use DrwObj_InitText
Global SetPropTo_Obj5 (DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img)
Use DrwObj_InitImage
Global StrAnsi2Uni (const char *in, uint16_t *out)
use str_2ws or utf8_2ws
Global strrchr_2 (const char *str, int character)
use strrchr
Global StrUni2Ansi (const uint16_t *in, char *out)
use ws_2str or ws_2utf8
Global truncate (int fd, int length, uint32_t *err)
For compatibility with old IAR code. Use sys_truncate instead.
Global unlink (const char *path, uint32_t *err)
For compatibility with old IAR code. Use sys_unlink instead.
Global UnlockSched_2 (void)
use UnlockSched
Global wsprintf_2 (WSHDR *s, const char *format,...)
use wsprintf
Global wstrcpy_2 (WSHDR *destination, WSHDR *source)
use wstrcpy