Subversion Repositories Kolibri OS

Rev

Rev 2583 | Rev 3408 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2583 Rev 3178
Line 78... Line 78...
78
	shl	eax,16
78
	shl	eax,16
79
	mov	ax,window_y_size
79
	mov	ax,window_y_size
80
;winypos=ycoord*65536+ysize    
80
;winypos=ycoord*65536+ysize    
81
	mov	[winypos],eax
81
	mov	[winypos],eax
82
;------------------------------------------------------------------------------	
82
;------------------------------------------------------------------------------	
-
 
83
	init_checkboxes2 check1,check1_end
83
	mcall	48,3,sc,40
84
	mcall	48,3,sc,40
84
	edit_boxes_set_sys_color edit1,edit1_end,sc		;set color
85
	edit_boxes_set_sys_color edit1,edit1_end,sc		;set color
85
	check_boxes_set_sys_color check1,check1_end,sc	;set color
86
	check_boxes_set_sys_color2 check1,check1_end,sc	;set color
86
;------------------------------------------------------------------------------
87
;------------------------------------------------------------------------------
87
align 4	  
88
align 4	  
88
;main loop when process name isn't edited.    
89
;main loop when process name isn't edited.    
89
red:	
90
red:	
90
	call	draw_window		; redraw all window
91
	call	draw_window		; redraw all window
Line 103... Line 104...
103
	jz	button
104
	jz	button
Line 104... Line 105...
104
 
105
 
105
	push	dword edit1
106
	push	dword edit1
Line 106... Line 107...
106
	call	[edit_box_mouse]
107
	call	[edit_box_mouse]
Line 107... Line 108...
107
	
108
	
108
	push	dword[check1+32]
109
	push	dword[check1.flags]
Line 109... Line 110...
109
	
110
	
Line 110... Line 111...
110
	push	dword check1
111
	push	dword check1
111
	call	[check_box_mouse]
112
	call	[check_box_mouse]
Line 112... Line 113...
112
	
113
	
113
	pop	eax
114
	pop	eax
114
	
115
	
Line 603... Line 604...
603
edit_box_draw		dd aEdit_box_draw
604
edit_box_draw		dd aEdit_box_draw
604
edit_box_key		dd aEdit_box_key
605
edit_box_key		dd aEdit_box_key
605
edit_box_mouse		dd aEdit_box_mouse
606
edit_box_mouse		dd aEdit_box_mouse
606
;version_ed		dd aVersion_ed
607
;version_ed		dd aVersion_ed
Line -... Line 608...
-
 
608
 
607
 
609
init_checkbox		dd aInit_checkbox
608
check_box_draw		dd aCheck_box_draw
610
check_box_draw		dd aCheck_box_draw
609
check_box_mouse		dd aCheck_box_mouse
611
check_box_mouse		dd aCheck_box_mouse
Line 610... Line 612...
610
;version_ch		dd aVersion_ch
612
;version_ch		dd aVersion_ch
Line 619... Line 621...
619
aEdit_box_draw		db 'edit_box',0
621
aEdit_box_draw		db 'edit_box',0
620
aEdit_box_key		db 'edit_box_key',0
622
aEdit_box_key		db 'edit_box_key',0
621
aEdit_box_mouse		db 'edit_box_mouse',0
623
aEdit_box_mouse		db 'edit_box_mouse',0
622
;aVersion_ed		db 'version_ed',0
624
;aVersion_ed		db 'version_ed',0
Line -... Line 625...
-
 
625
 
623
 
626
aInit_checkbox		db 'init_checkbox2',0
624
aCheck_box_draw		db 'check_box_draw',0
627
aCheck_box_draw		db 'check_box_draw2',0
625
aCheck_box_mouse	db 'check_box_mouse',0
628
aCheck_box_mouse	db 'check_box_mouse2',0
Line 626... Line 629...
626
;aVersion_ch		db 'version_ch',0
629
;aVersion_ch		db 'version_ch',0
627
 
630
 
628
;aOption_box_draw	db 'option_box_draw',0
631
;aOption_box_draw	db 'option_box_draw',0
629
;aOption_box_mouse	db 'option_box_mouse',0
632
;aOption_box_mouse	db 'option_box_mouse',0
630
;aVersion_op		db 'version_op',0
633
;aVersion_op		db 'version_op',0
631
;------------------------------------------------------------------------------
634
;------------------------------------------------------------------------------
632
align 4	
635
align 4	
633
check1 check_box 10,383,6,11,0x80AABBCC,0,0,check_text,check_t_e,0;ch_flag_en
636
check1 check_box2 (10 shl 16)+11,(383 shl 16)+11,6, 0x80AABBCC,0,0,check_text, ch_flag_bottom ;ch_flag_en
634
check1_end:
637
check1_end:
635
edit1 edit_box 350,95,381,0xffffff,0x6f9480,0,0xAABBCC,0,start_application_c,\
638
edit1 edit_box 350,95,381,0xffffff,0x6f9480,0,0xAABBCC,0,start_application_c,\
636
   start_application,mouse_dd,ed_focus,start_application_e,start_application_e
639
   start_application,mouse_dd,ed_focus,start_application_e,start_application_e
Line 654... Line 657...
654
 
657
 
655
tbts:	db 'SEITE ZURUECK     SEITE VOR                        REBOOT SYSTEM'
658
tbts:	db 'SEITE ZURUECK     SEITE VOR                        REBOOT SYSTEM'
656
tbte:
659
tbte:
657
tbts_3	db 'START'
660
tbts_3	db 'START'
658
tbte_2:
661
tbte_2:
659
check_text	db '@ on/off'
-
 
660
check_t_e=$-check_text
662
check_text	db '@ on/off',0
661
title	db 'Prozesse  - Ctrl/Alt/Del',0
663
title	db 'Prozesse  - Ctrl/Alt/Del',0
662
;--------------------------------------
664
;--------------------------------------
663
else if lang eq et
665
else if lang eq et
664
text:
666
text:
Line 668... Line 670...
668
 
670
 
669
tbts:	db 'EELMINE LEHT   JÄRGMINE LEHT                     REBOODI SÜSTEEM'
671
tbts:	db 'EELMINE LEHT   JÄRGMINE LEHT                     REBOODI SÜSTEEM'
670
tbte:
672
tbte:
671
tbts_3	db 'START'
673
tbts_3	db 'START'
672
tbte_2:
674
tbte_2:
673
check_text	db '@ on/off'
-
 
674
check_t_e=$-check_text
675
check_text	db '@ on/off',0
675
title	db 'Protsessid - Ctrl/Alt/Del'
676
title	db 'Protsessid - Ctrl/Alt/Del'
676
;--------------------------------------
677
;--------------------------------------
677
else if lang eq ru
678
else if lang eq ru
678
text:
679
text:
Line 682... Line 683...
682
 
683
 
683
tbts:	db '…„.‘’        ‘‹…„.‘’                          ……‡€ƒ“‡Š€'
684
tbts:	db '…„.‘’        ‘‹…„.‘’                          ……‡€ƒ“‡Š€'
684
tbte:
685
tbte:
685
tbts_3	db '‡€“‘Š'
686
tbts_3	db '‡€“‘Š'
686
tbte_2:
687
tbte_2:
687
check_text	db '@ ¢ª«/¢ëª«'
-
 
688
check_t_e=$-check_text
688
check_text	db '@ ¢ª«/¢ëª«',0
689
title	db '„¨á¯¥âç¥à ¯à®æ¥áᮢ - Ctrl/Alt/Del',0
689
title	db '„¨á¯¥âç¥à ¯à®æ¥áᮢ - Ctrl/Alt/Del',0
690
;--------------------------------------
690
;--------------------------------------
691
else
691
else
692
text:
692
text:
Line 696... Line 696...
696
 
696
 
697
tbts:	db 'PREV PAGE       NEXT PAGE                         REBOOT SYSTEM'
697
tbts:	db 'PREV PAGE       NEXT PAGE                         REBOOT SYSTEM'
698
tbte:
698
tbte:
699
tbts_3	db ' RUN'
699
tbts_3	db ' RUN'
700
tbte_2:
700
tbte_2:
701
check_text	db '@ on/off'
-
 
702
check_t_e=$-check_text
701
check_text	db '@ on/off',0
Line 703... Line 702...
703
title	db 'Process manager - Ctrl/Alt/Del',0
702
title	db 'Process manager - Ctrl/Alt/Del',0
704
 
703
 
705
end if
704
end if