add KMatrix into Appearance app

git-svn-id: svn://kolibrios.org@9640 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2022-01-15 12:38:25 +00:00
parent e895aaba38
commit b4a6b076d8
4 changed files with 8 additions and 4 deletions

View File

@ -19,7 +19,7 @@ PCI=on
[screensaver]
timeout=10
program=/sys/demos/spiral
available=3d/crownscr|demos/web|demos/zeroline|demos/spiral
available=3d/crownscr|demos/web|demos/zeroline|demos/spiral|/kolibrios/demos/kmatrix
[style]
default_skin=/sys/default.skn

View File

@ -350,7 +350,11 @@ void EventTabScreensaverClick()
strcpy(#ssmas, #ss_available);
do {
j = strrchr(#ssmas, '|');
miniprintf(#param, "/sys/%s", #ssmas + j);
if (ssmas[j]=='/') {
strcpy(#param, #ssmas + j);
} else {
miniprintf(#param, "/sys/%s", #ssmas + j);
}
list.add(#param);
ESBYTE[#ssmas + j - 1] = '\0';
select_list.count++;

View File

@ -136,7 +136,7 @@ dword width,
ESI.edit_box.size = strlen(ed_text);
}
:dword EditBox_CreateStandart(dword width, left, top, maxlen, text, flags)
:dword EditBox_Create(dword left, top, width, maxlen, text, flags)
{
dword eb, i;
eb = malloc(sizeof(edit_box));

View File

@ -2849,7 +2849,7 @@ export \
img.to_rgb , 'img_to_rgb' , \
img.to_rgb2 , 'img_to_rgb2' , \
img.decode , 'img_decode' , \
img.encode , 'img_encode' , \
img.encode , 'img_encode' , \ ;supported formats: PNG 24 32, BMP 24 32, PNM 1 8g 24
img.create , 'img_create' , \
img.destroy , 'img_destroy' , \
img.destroy.layer , 'img_destroy_layer' , \