/programs/cmm/app_plus/app_plus.c |
---|
43,7 → 43,7 |
?define WINDOW_TITLE_TEXT "¨¬ ¨¥! â® ¢ ¦®." |
?define CONTENT_HEADER_TEXT " /KOLIBRIOS/ " |
?define DESCRIPTION_TEXT "®¯à®¡ã©â¥ ©â¨ ¥¥ á ¬®áâ®ï⥫ì®. |
®¤¥à¦¨¬®¥ ¨ª®¬®© ¯ ¯ª¨ ¯®ª § ® |
®¤¥à¦¨¬®¥ ¨áª®¬®© ¯ ¯ª¨ ¯®ª § ® |
ª à⨪¥ á¯à ¢ . á«ãç ¥ ¥¢¥à® |
¢ë¡à ®© ¯ ¯ª¨ âॡã¥âáï ¢ë¯®«¨âì |
¯¥à¥§ £à㧪㠨 ¯®¯à®¡®¢ âì ᮢ ." |
/programs/cmm/appearance/appearance.c |
---|
436,7 → 436,7 |
_ini ini = { "/sys/settings/eskin.ini", "main" }; |
void EventExit() |
{ |
ini.SetString("skin", #cur_skin_path, strlen(#cur_skin_path)); |
if (cur_skin_path) ini.SetString("skin", #cur_skin_path, strlen(#cur_skin_path)); |
ExitProcess(); |
} |
/programs/cmm/mblocks/mblocks.c |
---|
1,7 → 1,7 |
/* |
Memory Blocks for KolibriOS v1.1 |
Memory Blocks for KolibriOS v1.11 |
Leency&Veliant Edition |
2008-2017 |
2008-2019 |
*/ |
#define MEMSIZE 4096 * 15 |
35,7 → 35,7 |
int bitstat[60], bitpict[60]; |
dword butonsx[60], butonsy[60]; |
dword firstbit, secondbit; |
int i, count, lang; |
int count; |
void main() |
101,7 → 101,8 |
case evReDraw: |
system.color.get(); |
DefineAndDrawWindow(215,100,CELL_SIZE+4*10 + 4 + 9,PANEL_Y + 4 + PANEL_H +skin_height,0x34,0xC0C0C0,"Memory Blocks",0); |
DefineAndDrawWindow(215,100,CELL_SIZE+4*10 + 4 + 9,PANEL_Y+4+PANEL_H+skin_height, |
0x34,0xC0C0C0,"Memory Blocks",0); |
GetProcessInfo(#Form, SelfInfo); |
Draw_Panel(); |
Draw_Game_Pole(); |
112,11 → 113,12 |
void NewGame() |
{ |
int off; |
int i; |
FOR (i = 0; i < 60; i++) |
{ |
bitstat[i] = 0; |
bitpict[i] = 0; |
bitpict[i] = 0; |
} |
count = 0; |
128,6 → 130,8 |
do off = random(60); while (bitpict[off] != 0); |
bitpict[off] = i; |
} |
Draw_Game_Pole(); |
Draw_Panel(); |
} |
void ReDraw_Game_Button(int id) |
151,11 → 155,12 |
void Draw_Game_Pole() |
{ |
int i; |
byte j; |
for (j = 0; j < stolbcov; j++) for (i = 0; i < strok; i++) |
{ |
butonsx[j*strok+i] = CELL_SIZE+4 * j + 4; //save coordinates to avoid their recalculation after |
butonsy[j*strok+i] = CELL_SIZE+4 * i + 4; |
butonsx[j*strok+i] = CELL_SIZE+4 * j + 4; //save coordinates to avoid |
butonsy[j*strok+i] = CELL_SIZE+4 * i + 4; //their recalculation after |
ReDraw_Game_Button(j*strok + i); |
} |
} |
/programs/cmm/pixie2/pixie.c |
---|
30,7 → 30,7 |
char default_dir[] = "/rd/1"; |
od_filter filter2 = { 15, "MP3\0WAV\0XM\0\0" }; |
#define ABOUT_MESSAGE "Pixie Player v2.92 Final |
#define ABOUT_MESSAGE "Pixie Player v2.93 Final |
A tiny music folder player. |
Supports MP3, WAV, XM audio file formats. |
331,10 → 331,13 |
if (list.count > list.visible) scrollbar_v_draw(#scroll1); |
} |
void DrawPixieTitle(dword _title) |
void DrawPixieTitle(dword _t) |
{ |
char title[35]; |
strlcpy(#title, _t, sizeof(title)); |
if (strlen(#title)>30) strcpy(#title+30, "..."); |
kfont.WriteIntoWindow(8, 5, theme.color_top_panel_bg, |
theme.color_top_panel_folder_name, list.font_type, _title); |
theme.color_top_panel_folder_name, list.font_type, #title); |
} |
//===================================================// |
/programs/system/docky/trunk/docky.asm |
---|
24,7 → 24,7 |
mcall 18, 7 |
mov [win.psid], eax |
mcall 40, 100101b |
mcall 40, EVM_REDRAW+EVM_BUTTON+EVM_MOUSE ;+EVM_DEKSTOP to update colors on skin change |
; ==== Load libs ==== |
load_libraries load_lib_start, load_lib_end |