Mercurial > dwindows
comparison gtk/dw.c @ 843:d51e958aad95
Updates to the comments about scrollboxes and removing them from incomplete status.
Will be functional on 4 of the 5 platforms today... and will be implementing on OS/2 as soon as I decide the best way.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 29 Mar 2011 23:04:32 +0000 |
parents | 39e533f8106f |
children | 4f1228efbdca |
comparison
equal
deleted
inserted
replaced
842:89dd3e442e7e | 843:d51e958aad95 |
---|---|
3219 gtk_widget_show(tmp); | 3219 gtk_widget_show(tmp); |
3220 DW_MUTEX_UNLOCK; | 3220 DW_MUTEX_UNLOCK; |
3221 return tmp; | 3221 return tmp; |
3222 } | 3222 } |
3223 | 3223 |
3224 #ifndef INCOMPLETE | |
3225 /* | 3224 /* |
3226 * Create a new scrollable Box to be packed. | 3225 * Create a new scrollable Box to be packed. |
3227 * Parameters: | 3226 * Parameters: |
3228 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal). | 3227 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal). |
3229 * pad: Number of pixels to pad around the box. | 3228 * pad: Number of pixels to pad around the box. |
3230 * This works fine under GTK+, but is incomplete on other platforms | |
3231 */ | 3229 */ |
3232 HWND dw_scrollbox_new( int type, int pad ) | 3230 HWND dw_scrollbox_new( int type, int pad ) |
3233 { | 3231 { |
3234 GtkWidget *tmp, *box, *eventbox; | 3232 GtkWidget *tmp, *box, *eventbox; |
3235 int _locked_by_me = FALSE; | 3233 int _locked_by_me = FALSE; |
3305 range = _round_value(adjustment->upper); | 3303 range = _round_value(adjustment->upper); |
3306 } | 3304 } |
3307 DW_MUTEX_UNLOCK; | 3305 DW_MUTEX_UNLOCK; |
3308 return range; | 3306 return range; |
3309 } | 3307 } |
3310 #endif | |
3311 | 3308 |
3312 /* | 3309 /* |
3313 * Create a new Group Box to be packed. | 3310 * Create a new Group Box to be packed. |
3314 * Parameters: | 3311 * Parameters: |
3315 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal). | 3312 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal). |