allocation.x, allocation.y,
allocation.width, allocation.height);
+ if ( button->overstruck)
+ {
+ GdkPoint points[2] = {
+ {allocation.x, allocation.y},
+ {allocation.x + allocation.width,
+ allocation.y + allocation.height}
+ };
+
+ gtk_paint_polygon (sheet->button->style,
+ window,
+ button->state,
+ shadow_type,
+ NULL,
+ GTK_WIDGET (sheet),
+ "button",
+ points,
+ 2,
+ TRUE);
+ }
+
if (button->label_visible)
{
text_height = DEFAULT_ROW_HEIGHT -
button->label = NULL;
button->label_visible = TRUE;
button->justification = GTK_JUSTIFY_FILL;
+ button->overstruck = FALSE;
return button;
}