Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6266 → Rev 6271

/programs/cmm/app_plus/app_plus.c
39,7 → 39,6
 
void CheckKosMounted()
{
while (CheckProcessExists("SEARCHAP")) pause(2);
if (dir_exists("/kolibrios/"))
{
if (file_exists(APP_PLUS_INI_PATH))
52,7 → 51,8
 
void RunAutosearch()
{
io.run("/sys/SEARCHAP",0);
if (!CheckProcessExists("SEARCHAP")) io.run("/sys/SEARCHAP",0);
while (CheckProcessExists("SEARCHAP")) pause(2);
}
 
void main()
75,7 → 75,7
if (id==10)
{
OpenDialog_start stdcall (#o_dialog);
if (o_dialog.status) SetAdditionalSystemDirectory("kolibrios", #openfile_path);
if (o_dialog.status) SetAdditionalSystemDirectory("kolibrios", #openfile_path+1);
pause(3);
CheckKosMounted();
}
/programs/cmm/appearance/appearance.c
128,7 → 128,6
GetProcessInfo(#Form, SelfInfo);
IF (Form.status_window>=2) break;
DrawWindowContent();
debugi(menu.list.cur_y);
if (menu.list.cur_y) {
if (menu.list.cur_y == 10) EventOpenFile();
if (menu.list.cur_y == 11) EventDeleteFile();
/programs/cmm/lib/added_sysdir.c
11,8 → 11,6
int i;
strcpy(#sysdir.name, tName);
strcpy(#sysdir.path, tPath);
debugln(#sysdir.name);
debugln(#sysdir.path);
$mov eax, 30
$mov ebx, 3
ECX = #sysdir;
/programs/cmm/lib/gui.h
68,7 → 68,7
}
}
 
unsigned char checkbox_flag[507] = {
:unsigned char checkbox_flag[507] = {
0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC,
0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xD4,
0x04, 0xFC, 0xD4, 0x04, 0xFC, 0xC8, 0x04, 0xFC, 0xDC, 0x04, 0xFC, 0xC8, 0x04, 0xFC, 0xC8, 0x04,
277,7 → 277,7
#define TAB_PADDING 25
#define TAB_HEIGHT 25
 
struct _tabs
:struct _tabs
{
int active_tab;
void draw();
284,7 → 284,7
int click();
} tabs;
 
void _tabs::draw(dword x,y, but_id, text)
:void _tabs::draw(dword x,y, but_id, text)
{
dword col_bg, col_text;
dword w=strlen(text)*8+TAB_PADDING, h=TAB_HEIGHT;
303,7 → 303,7
DrawCaptButton(x,y, w-1,h+1, but_id, col_bg, col_text, text);
}
 
int _tabs::click(int N)
:int _tabs::click(int N)
{
if (N==active_tab) return false;
active_tab = N;
/programs/cmm/lib/patterns/rgb.h
2,7 → 2,7
#define INCLUDE_RGB_H
#print "[include <rgb.h>]\n"
 
struct _rgb
:struct _rgb
{
byte b,g,r;
void DwordToRgb();
9,7 → 9,7
dword RgbToDword();
} rgb;
 
void _rgb::DwordToRgb(dword _dword)
:void _rgb::DwordToRgb(dword _dword)
{
r = _dword & 0xFF; _dword >>= 8;
g = _dword & 0xFF; _dword >>= 8;
16,7 → 16,7
b = _dword & 0xFF; _dword >>= 8;
}
 
dword _rgb::RgbToDword()
:dword _rgb::RgbToDword()
{
dword _b, _g;
_b = b << 16;