Subversion Repositories Kolibri OS

Rev

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

Rev 485 Rev 503
Line 207... Line 207...
207
    mov  ecx,225*65536+10
207
    mov  ecx,225*65536+10
208
    mov  edx,0xffffff
208
    mov  edx,0xffffff
209
    mcall
209
    mcall
210
    mov  eax,4
210
    mov  eax,4
211
    mov  ebx,19*65536+225
211
    mov  ebx,19*65536+225
212
    mov  ecx,0xff0000
212
    mov  ecx,0xc0ff0000
213
    mov  edx,add_text
213
    mov  edx,add_text
214
    mov  esi,add_text_len-add_text
214
    mov  edi,0xffffff
215
    mcall
215
    mcall
Line 216... Line 216...
216
 
216
 
217
    mov  eax,10
217
    mov  eax,10
218
    mcall
218
    mcall
Line 275... Line 275...
275
    mov  ecx,225*65536+10
275
    mov  ecx,225*65536+10
276
    mov  edx,0xffffff
276
    mov  edx,0xffffff
277
    mcall
277
    mcall
278
    mov  eax,4
278
    mov  eax,4
279
    mov  ebx,19*65536+225
279
    mov  ebx,19*65536+225
280
    mov  ecx,0xff0000
280
    mov  ecx,0xc0ff0000
281
    mov  edx,rem_text
281
    mov  edx,rem_text
282
    mov  esi,rem_text_len-rem_text
282
    mov  edi,0xffffff
283
    mcall
283
    mcall
Line 284... Line 284...
284
 
284
 
285
    mov  eax,10
285
    mov  eax,10
286
    mcall
286
    mcall
Line 467... Line 467...
467
    add   ebx,icons_reserved
467
    add   ebx,icons_reserved
468
    mov   [ebx],byte 'x'
468
    mov   [ebx],byte 'x'
469
    add   esi,76+2
469
    add   esi,76+2
470
    loop  ldl1
470
    loop  ldl1
Line 471... Line -...
471
 
-
 
472
    ;popa
-
 
473
 
471
 
Line 474... Line 472...
474
    ret
472
    ret
Line 487... Line 485...
487
 
485
 
Line 488... Line 486...
488
positions dd 65,34,3
486
positions dd 65,34,3
Line 489... Line -...
489
 
-
 
490
read_string:
-
 
491
 
487
 
492
    ;pusha
488
read_string:
493
 
489
 
494
    sub  eax,11
490
    sub  eax,11
Line 530... Line 526...
530
    call print_strings
526
    call print_strings
531
    jmp  f11
527
    jmp  f11
532
  nobsl:
528
  nobsl:
533
    cmp  eax,31
529
    cmp  eax,31
534
    jbe  f11
530
    jbe  f11
535
 
-
 
536
  keyok:
-
 
537
    mov  [edi],al
531
    mov  [edi],al
538
    call print_strings
532
    call print_strings
Line 539... Line 533...
539
 
533
 
540
    add  edi,1
534
    add  edi,1
Line 552... Line 546...
552
    cld
546
    cld
553
    rep  stosb
547
    rep  stosb
Line 554... Line 548...
554
 
548
 
Line 555... Line -...
555
    call print_strings
-
 
556
 
-
 
557
    ;popa
549
    call print_strings
Line 558... Line 550...
558
 
550
 
Line 670... Line 662...
670
 
662
 
671
    inc  ah
663
    inc  ah
672
    cmp  ah,9
664
    cmp  ah,9
Line 673... Line 665...
673
    jbe  newbline
665
    jbe  newbline
674
 
666
 
675
    mov  ebx,19*65536+225
667
    mov  ebx,24*65536+225
676
    mov  ecx,0xffffff
668
    mov  ecx,0xffffff
677
    mov  edx,text
669
    mov  edx,text
678
    mov  esi,37
670
    mov  esi,36
679
    mov  eax,4
671
    mov  eax,4
680
  newline:
672
  newline:
681
    mov  ecx,[edx]
673
    mov  ecx,[edx]
682
    add  edx,4
674
    add  edx,4
683
    mcall
675
    mcall
684
    add  ebx,14
676
    add  ebx,14
685
    add  edx,37
677
    add  edx,36
Line 686... Line 678...
686
    cmp  [edx],byte 'x'
678
    cmp  [edx],byte 'x'
Line 710... Line 702...
710
 
702
 
Line 711... Line 703...
711
    times 10  db  '          '
703
    times 10  db  '          '
712
 
704
 
713
 
705
 
714
text:
706
text:
715
    db 0,0,0,0,         'CLICK ON ICON POSITION TO EDIT       '
707
    db 0,0,0,0,         'Click on icon position to edit      '
716
    db 0,0,0,0,         '                                     '
708
    db 0,0,0,0,         '                                    '
717
    db 255,255,255,0  , ' ICON TEXT                           '
709
    db 255,255,255,0  , 'Icon text                           '
718
    db 255,255,255,0  , ' ICON APP                            '
710
    db 255,255,255,0  , 'Icon app                            '
719
    db 255,255,255,0  , ' ICON FILE                           '
711
    db 255,255,255,0  , 'Icon file                           '
720
    db 0,0,0,0,         '                                     '
712
    db 0,0,0,0,         '                                    '
721
    db 255,255,255,0,   '        SAVE AND APPLY ALL CHANGES   '
713
    db 255,255,255,0,   '       Save and apply all changes   '
Line 722... Line 714...
722
    db 0,0,0,0,         '                                     '
714
    db 0,0,0,0,         '                                    '
Line 723... Line 715...
723
    db 255,255,255,0,   '      ADD ICON            REMOVE ICON'
715
    db 255,255,255,0,   '     Add icon            Remove icon'
Line 724... Line 716...
724
    db                  'x' ; <- END MARKER, DONT DELETE
716
    db                  'x' ; <- End marker, dont delete
725
 
717
 
Line 726... Line 718...
726
 
718
 
727
title    db 'Icon manager',0
-
 
Line 728... Line 719...
728
 
719
title    db 'Icon manager',0
729
icons dd 0
-
 
Line 730... Line 720...
730
 
720
 
731
addr  dd 0
721
icons dd 0
732
ya    dd 0
722
 
733
 
723
addr  dd 0