Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6252 → Rev 6253

/data/Tupfile.lua
203,6 → 203,7
{"kolibrios/res/skins/", "../skins/authors.txt"},
{"kolibrios/settings/app_plus.ini", "common/settings/app_plus.ini"},
{"kolibrios/utils/appearance", PROGS .. "/cmm/appearance/appearance.com"},
{"kolibrios/utils/calcplus", PROGS .. "/other/calcplus/calcplus"},
}
if build_type == "rus" then tup.append_table(extra_files, {
{"Docs/cp866/config.txt", build_type .. "/docs/CONFIG.TXT"},
/data/common/settings/app_plus.ini
6,6 → 6,7
 
[Media]
zSea=/kolibrios/media/zsea/zsea,46
FPlay=/kolibrios/media/fplay,40
 
[3D Tools]
Info3DsPro=/kolibrios/3d/info3ds/info3ds,75
16,4 → 17,5
3dsHeart=/kolibrios/3d/3dsheart,78
 
[Other]
Calc+=/kolibrios/utils/calcplus,4
Life=/kolibrios/demos/life2,13
/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:
/programs/other/personal/Tupfile.lua
0,0 → 1,2
if tup.getconfig("NO_FASM") ~= "" then return end
tup.rule("personal.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "personal")
/programs/other/personal/build.bat
0,0 → 1,3
@fasm personal.asm personal
@kpack personal
@pause
/programs/other/personal/inc/button.inc
130,14 → 130,10
call button_draw_all
; arrow
pusha
mov eax , 7
mov ebx , arrowa
mov ecx , 6 shl 16 + 10
mov edx , 46 shl 16 + 13
int 0x40
mov ebx , arrowb
mov edx , 17 shl 16 + 13
int 0x40
mov ecx,[sc.btn_text]
or ecx,0x90000000
mcall 4,<15,11>, ,arrowa
mcall ,<45,11>, ,arrowb
popa
ret
 
/programs/other/personal/personal.asm
13,7 → 13,7
dd 0x0
dd 0x0
 
include 'macros.inc'
include '../../macros.inc'
;=============================================================================;
;============================[ EVENTS ]===========================;
;=============================================================================;
145,10 → 145,8
;; button -------------------------------------------------
bnext new_button
bback new_button
arrowa:
file 'l.raw'
arrowb:
file 'r.raw'
arrowa db '<',0
arrowb db '>',0
;; edit ---------------------------------------------------
edit_cnt dd 1 ; counter
edit_win db 'WINDOW',0 ; 1