/programs/cmm/app_plus/app_plus.c |
---|
25,7 → 25,7 |
#define APP_PLUS_INI_NOT_EXISTS "'APP+\n/kolibrios/settings/app_plus.ini is not exists.\nProgram terminated.' -tE" |
#define WINDOW_TITLE_TEXT "Error" |
#define CONTENT_HEADER_TEXT "/KOLIBRIOS/ NOT MOUNTED" |
#define CONTENT_HEADER_TEXT "/KOLIBRIOS/ IS NOT MOUNTED" |
#define DESCRIPTION_TEXT "Try to find it manually. It should look |
like image on the right. |
Note: this action can be done only once |
/programs/cmm/appearance/appearance.c |
---|
181,8 → 181,8 |
void DrawScroller() |
{ |
scroll1.bckg_col = 0xBBBbbb; |
scroll1.frnt_col = system.color.work; |
scroll1.bckg_col = MixColors(system.color.work, 0xBBBbbb, 80); |
scroll1.frnt_col = MixColors(system.color.work,0xFFFfff,120); |
scroll1.line_col = system.color.work_graph; |
scroll1.max_area = list.count; |
/programs/cmm/software_widget/compile.bat |
---|
1,4 → 1,4 |
C-- software_widget.c |
@C-- software_widget.c |
@del game_center |
@copy software_widget.com game_center |
@copy software_widget.com syspanel |
/programs/cmm/software_widget/software_widget.c |
---|
5,7 → 5,7 |
#define MEMSIZE 0x9000 |
#include "..\lib\strings.h" |
#include "..\lib\mem.h" |
#include "..\lib\file_system.h" |
#include "..\lib\io.h" |
#include "..\lib\gui.h" |
#include "..\lib\obj\libio_lib.h" |
87,7 → 87,7 |
case evButton: |
id=GetButtonID(); |
if (id==1) ExitProcess(); |
if (id>=100) RunProgram(app_path_collection.get(id-100), ""); |
if (id>=100) EventRunApp(id-100); |
break; |
case evReDraw: |
177,6 → 177,16 |
label.write_center(0,5, Form.cwidth, list.y, system.color.work, system.color.work_text, 16, #window_title); |
} |
void EventRunApp(dword appid) |
{ |
if (file_exists(app_path_collection.get(appid))) { |
io.run(app_path_collection.get(appid), ""); |
} |
else { |
notify("'Application not found' -E"); |
} |
} |
stop: |