Subversion Repositories Kolibri OS

Rev

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

Rev 3216 Rev 3220
Line 282... Line 282...
282
 
282
 
283
mouse:
283
mouse:
284
        push    dword edit1
284
        push    dword edit1
Line -... Line 285...
-
 
285
        call    [edit_box_mouse]
285
        call    [edit_box_mouse]
286
 
286
 
287
; TODO: check if scrollbar is active
Line 287... Line 288...
287
        push    dword scroll1
288
        push    dword scroll1
288
        call    [scrollbar_v_mouse]
289
        call    [scrollbar_v_mouse]
Line 289... Line 290...
289
 
290
 
Line 290... Line 291...
290
; TODO: check if scrollbar moved
291
; TODO: check if scrollbar moved
Line 413... Line 414...
413
I_END:
414
I_END:
Line 414... Line 415...
414
 
415
 
415
        ;         width, left, top
416
        ;         width, left, top
416
edit1   edit_box  0, 0, 0, 0xffffff, 0x6f9480, 0, 0, 0, USERCMD_MAX_SIZE, usercommand, mouse_dd, ed_focus, 25, 25
417
edit1   edit_box  0, 0, 0, 0xffffff, 0x6f9480, 0, 0, 0, USERCMD_MAX_SIZE, usercommand, mouse_dd, ed_focus, 25, 25
417
        ;         xsize, xpos, ysize, ypos, max, cur, pos, bgcol, frcol, linecol
418
        ;         xsize, xpos, ysize, ypos, max, cur, pos, bgcol, frcol, linecol
Line 418... Line 419...
418
scroll1 scrollbar SCROLLBAR_WIDTH, 300, 150, TOP_Y, 10, 100, 0, 0, 0, 0, 0, 5
419
scroll1 scrollbar SCROLLBAR_WIDTH, 300, 150, TOP_Y, 10, 100, 0, 0, 0, 0, 0, 1
419
 
420
 
420
 
421