Subversion Repositories Kolibri OS

Rev

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

Rev 4784 Rev 4801
Line 73... Line 73...
73
    cmpe    [eax], dl, .text.end
73
    cmpe    [eax], dl, .text.end
74
    cmpe    [eax], byte 0, .text.end
74
    cmpe    [eax], byte 0, .text.end
75
    mov     cl, [eax]
75
    mov     cl, [eax]
Line 76... Line 76...
76
 
76
 
-
 
77
    cmpe    cl, "\", .char
-
 
78
    cmpne   cl, 10, .copy
-
 
79
    cmple   esi, dword [text.max_len], @f
-
 
80
    mov     [text.max_len], esi
-
 
81
  @@:
-
 
82
    mov     esi, 0
-
 
83
    mov     cl, 0
77
    cmpe    cl, "\", .char
84
    inc     dword [text.lines]
Line 78... Line 85...
78
    jmp     .copy
85
    jmp     .copy
79
 
86
 
80
  .char:
87
  .char:
Line 351... Line 358...
351
    mov     ebx, [window.width]
358
    mov     ebx, [window.width]
352
    mov     edx, 0x222222
359
    mov     edx, 0x222222
353
    cmpe    [first_draw], byte 1, .draw_full
360
    cmpe    [first_draw], byte 1, .draw_full
354
    mov     [first_draw], byte 1
361
    mov     [first_draw], byte 1
355
    mov     esi, [window.height]
362
    mov     esi, [window.height]
356
    mov     ecx, LINEH / 2
363
    mov     ecx, LINEH
357
  @@:
364
  @@:
358
    mcall
365
    mcall
359
    add     ecx, (LINEH / 2) shl 16
366
    add     ecx, LINEH shl 16
360
    sub     esi, LINEH / 2
367
    sub     esi, LINEH
361
    push    eax ebx
368
    push    eax ebx
362
    mcall   5, 1
369
    mcall   5, 1
363
    pop     ebx eax
370
    pop     ebx eax
364
    cmpne   esi, 0, @b
371
    cmpne   esi, 0, @b
365
  .draw_full:
372
  .draw_full:
Line 530... Line 537...
530
		 img.decode,  "img_decode",   \
537
		 img.decode,  "img_decode",   \
531
		 img.destroy, "img_destroy"
538
		 img.destroy, "img_destroy"
Line 532... Line 539...
532
 
539
 
Line 533... Line 540...
533
 ;----------------------------
540
 ;----------------------------
534
 
541
 
535
 sz_ifile   db "notify3.png", 0
542
 sz_ifile   db "/sys/notify3.png", 0
536
 sz_shname  db "notify-mem-v01", 0
543
 sz_shname  db "notify-mem-v01", 0
537
 sz_std     db "'Notify 3. Keys list\n \n",   \
544
 sz_std     db "'Notify 3. Keys list\n ", 10,   \
538
		"d - disable auto-closing\n", \
545
		"d - disable auto-closing\n", \
539
		"t - first line is title\n",  \
546
		"t - first line is title\n",  \
540
		"A - application icon\n",     \
547
		"A - application icon\n",     \