Mercurial > dwindows
changeset 512:8eb10e610270
Changes to dw_scrollbar_new().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 09 Mar 2004 03:58:54 +0000 |
parents | 80dbd5a1f403 |
children | 7755599311d4 |
files | dwtest.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtest.c Tue Mar 09 03:54:21 2004 +0000 +++ b/dwtest.c Tue Mar 09 03:58:54 2004 +0000 @@ -615,12 +615,12 @@ dw_box_pack_start( textboxA, textbox2, 10, 10, TRUE, TRUE, 0); dw_window_set_font(textbox2, FIXEDFONT); /* create horizonal scrollbar */ - hscrollbar = dw_scrollbar_new(FALSE, 100, 50); + hscrollbar = dw_scrollbar_new(FALSE, 50); dw_box_pack_start( textboxA, hscrollbar, 100, SCROLLBARWIDTH, TRUE, FALSE, 0); /* create vertical scrollbar */ vscrollbox = dw_box_new(BOXVERT, 0); - vscrollbar = dw_scrollbar_new(TRUE, 100, 50); + vscrollbar = dw_scrollbar_new(TRUE, 50); dw_box_pack_start(vscrollbox, vscrollbar, SCROLLBARWIDTH, 100, FALSE, TRUE, 0); /* Pack an area of empty space 14x14 pixels */ dw_box_pack_start(vscrollbox, 0, SCROLLBARWIDTH, SCROLLBARWIDTH, FALSE, FALSE, 0);