Subversion Repositories Kolibri OS

Rev

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

Rev 135 Rev 180
Line 24... Line 24...
24
 
24
 
25
               memsize=20000h
25
               memsize=20000h
26
               org 0
26
               org 0
Line -... Line 27...
-
 
27
 PARAMS     =    memsize - 1024
-
 
28
 
-
 
29
appname equ 'Jpegview '
27
 PARAMS     =    memsize - 1024
30
version equ '0.15'
Line 28... Line 31...
28
 
31
 
29
use32
32
use32
30
 
33
 
Line 269... Line 272...
269
        mov     ecx, dword [winyo-2]
272
        mov     ecx, dword [winyo-2]
270
        mov     cx, [winys]
273
        mov     cx, [winys]
Line 271... Line 274...
271
 
274
 
272
    xor  eax,eax                   ; DRAW WINDOW
275
    xor  eax,eax                   ; DRAW WINDOW
273
    mov  edx,[wcolor]
276
    mov  edx,[wcolor]
274
    add  edx,0x02000000
-
 
275
    mov  esi,0x80557799
277
    add  edx,0x13000000
276
    mov  edi,0x00557799
278
    mov  edi,header                ; WINDOW LABEL
Line 277... Line -...
277
    int  0x40
-
 
278
 
-
 
279
    mov  eax,4                     ; WINDOW LABEL
-
 
280
    mov  ebx,8*65536+8
-
 
281
    mov  ecx,0x00ffffff
-
 
282
    mov  edx,labelt
-
 
283
    mov  esi,labellen-labelt
-
 
284
    int  0x40
-
 
285
 
-
 
286
 
-
 
287
    mov  eax,8                     ; CLOSE BUTTON
-
 
288
 
-
 
289
    mov  bx, [winxs]
-
 
290
    sub  bx, 19
-
 
291
    shl  ebx, 16
-
 
292
    add  ebx, 12
-
 
293
 
-
 
294
    mov  ecx,5*65536+12
-
 
295
    mov  edx,1
-
 
Line 296... Line 279...
296
    mov  esi,0x557799
279
    int  0x40
297
    int  0x40
280
 
298
 
281
 
299
    ; draw status bar
282
    ; draw status bar
Line 526... Line 509...
526
 
509
 
Line 527... Line 510...
527
 
510
 
528
; DATA AREA
511
; DATA AREA
529
 
-
 
530
wcolor          dd  0x000000
512
 
531
labelt          db  'Jpegview v0.15'
513
wcolor          dd  0x000000
Line 532... Line 514...
532
labellen:
514
header          db  appname,version,0
533
setname          db  'SLIDESHOW'
515
setname          db  'SLIDESHOW'