Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7357 → Rev 7358

/programs/cmm/iconedit/compile_en.bat
1,9 → 1,13
@del lang.h--
@echo #define LANG_ENG 1 >lang.h--
@del iconedit
cls
 
@c-- iconedit.c
@rename *.com *.
@del warning.txt
@del lang.h--
 
 
if exist iconedit (
"C:\Program Files\WinImage\winimage.exe" "D:\Soft\Kolibri\QEMU\kolibri.img" /H /Q /I iconedit
d:
/programs/cmm/iconedit/compile_ru.bat
0,0 → 1,18
@del lang.h--
@echo #define LANG_RUS 1 >lang.h--
@del iconedit
cls
 
@c-- iconedit.c
@rename *.com *.
@del warning.txt
@del lang.h--
 
if exist iconedit (
"C:\Program Files\WinImage\winimage.exe" "D:\Soft\Kolibri\QEMU\kolibri.img" /H /Q /I iconedit
d:
cd "D:\Soft\Kolibri\QEMU"
call "D:\Soft\Kolibri\QEMU\qemu-kos-img.bat"
) else (
@pause
)
/programs/cmm/iconedit/iconedit.c
19,6 → 19,8
 
#include "colors_mas.h"
 
#include "lang.h--"
 
//===================================================//
// //
// DATA //
25,6 → 27,18
// //
//===================================================//
 
#ifdef LANG_RUS
#define T_NOTIFY_OPEN "'IconEdit
‚ ¤ ­­ë© ¬®¬¥­â IconEdit ¬®¦¥â ®âªà뢠âì ⮫쪮 ¨ª®­ª¨, ᮧ¤ ­­ë¥ ¢ á ¬®¬ । ªâ®à¥.
…᫨ ­ã¦­® ®âªàëâì ¤à㣮¥ ¨§®¡à ¦¥­¨¥, ¢®á¯®«ì§ã©â¥áì ¨­áâà㬥­â®¬ <”®â® ¯¯ à â>
¤«ï § å¢ â  ª à⨭ª¨ á íªà ­ .' -Wt"
#else
#define T_NOTIFY_OPEN "'IconEdit
You can open only files created in IconEdit for now!
In other case please use <Photo> tool to get an image from screen.' -Wt"
#endif
 
 
#define T_TITLE "Icon Editor 0.56 Alpha"
 
#define TOPBAR_H 24+8
241,6 → 255,7
EventCreateNewIcon();
break;
case BTN_OPEN:
notify(T_NOTIFY_OPEN);
RunProgram("/sys/lod", sprintf(#param, "*png* %s",#program_path));
break;
case BTN_SAVE:
/programs/cmm/lib/kolibri.h
127,9 → 127,17
$mov eax, 18
$mov ebx, 16
$int 0x40
//return eax = free RAM in Kb
//return eax = free RAM size in Kb
}
 
inline fastcall dword GetTotalRAM()
{
$mov eax, 18
$mov ebx, 17
$int 0x40
//return eax = total RAM size in Kb
}
 
inline fastcall int GetCpuIdleCount()
{
EAX = 18;