comparison os2/dw.c @ 833:53b677d126dc

Scrollbox cleanups on Windows and added stubs on OS/2.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 27 Mar 2011 03:57:14 +0000
parents c6040726eb92
children a75e798ee6ed
comparison
equal deleted inserted replaced
832:37cdfec6d3fa 833:53b677d126dc
4104 dw_window_set_color(newbox->hwnd, DW_CLR_PALEGRAY, DW_CLR_PALEGRAY); 4104 dw_window_set_color(newbox->hwnd, DW_CLR_PALEGRAY, DW_CLR_PALEGRAY);
4105 return newbox->hwnd; 4105 return newbox->hwnd;
4106 } 4106 }
4107 4107
4108 /* 4108 /*
4109 * INCOMPLETE
4110 * Create a new scroll Box to be packed.
4111 * Parameters:
4112 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal).
4113 * pad: Number of pixels to pad around the box.
4114 */
4115 HWND API dw_scrollbox_new(int type, int pad)
4116 {
4117 return dw_box_new(type, pad);
4118 }
4119
4120 int API dw_scrollbox_get_pos( HWND handle, int orient )
4121 {
4122 return 0;
4123 }
4124
4125 int API dw_scrollbox_get_range( HWND handle, int orient )
4126 {
4127 return 0;
4128 }
4129 /*
4109 * Create a new Group Box to be packed. 4130 * Create a new Group Box to be packed.
4110 * Parameters: 4131 * Parameters:
4111 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal). 4132 * type: Either DW_VERT (vertical) or DW_HORZ (horizontal).
4112 * pad: Number of pixels to pad around the box. 4133 * pad: Number of pixels to pad around the box.
4113 * title: Text to be displayined in the group outline. 4134 * title: Text to be displayined in the group outline.