/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
*
* Author: Joel Holdsworth <joel@airwebreathe.org.uk>
*
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include "gdl-dock-item-button-image.h"
#include <math.h>
static gint
{
/* Set up the pen */
/* Draw the icon border */
cairo_stroke (cr);
/* Draw the icon */
cairo_new_path (cr);
switch(button_image->image_type) {
break;
} else {
}
break;
default:
break;
}
cairo_fill (cr);
/* Finish up */
cairo_destroy (cr);
return 0;
}
static void
{
}
static void
{
}
static void
{
//GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
//GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass);
}
/* ----- Public interface ----- */
/**
* gdl_dock_item_button_image_new:
* @image_type: Specifies what type of image the widget should
* display
*
* Creates a new GDL dock button image object.
* Returns: The newly created dock item button image widget.
**/
{
return GTK_WIDGET (button_image);
}