/* Generated by GOB (v2.0.20)   (do not edit directly) */



/* Pioneers - Implementation of the excellent Settlers of Catan board game.
 *   Go buy a copy.
 *
 * Copyright (C) 2006 Giancarlo Capella <giancarlo@comm.cc>
 * Copyright (C) 2011 Roland Clobus <rclobus@rclobus.nl>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#include <glib.h>
#include <glib-object.h>


#include <gtk/gtk.h>
#include "config.h"
#include "callback.h"
#include "client.h"

#ifndef __RESOURCE_VIEW_H__
#define __RESOURCE_VIEW_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/*
 * Type checking and casting macros
 */
#define RESOURCE_TYPE_VIEW	(resource_view_get_type())
#define RESOURCE_VIEW(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), resource_view_get_type(), ResourceView)
#define RESOURCE_VIEW_CONST(obj)	G_TYPE_CHECK_INSTANCE_CAST((obj), resource_view_get_type(), ResourceView const)
#define RESOURCE_VIEW_CLASS(klass)	G_TYPE_CHECK_CLASS_CAST((klass), resource_view_get_type(), ResourceViewClass)
#define RESOURCE_IS_VIEW(obj)	G_TYPE_CHECK_INSTANCE_TYPE((obj), resource_view_get_type ())

#define RESOURCE_VIEW_GET_CLASS(obj)	G_TYPE_INSTANCE_GET_CLASS((obj), resource_view_get_type(), ResourceViewClass)

/* Private structure type */
typedef struct _ResourceViewPrivate ResourceViewPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_RESOURCE_VIEW__
#define __TYPEDEF_RESOURCE_VIEW__
typedef struct _ResourceView ResourceView;
#endif
struct _ResourceView {
	GtkImage __parent__;
	/*< private >*/
	ResourceViewPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _ResourceViewClass ResourceViewClass;
struct _ResourceViewClass {
	GtkImageClass __parent__;
	cairo_surface_t * surface[NO_RESOURCE];
};


/*
 * Public methods
 */
GType	resource_view_get_type	(void) G_GNUC_CONST;
#line 70 "client/gtk/resource-view.gob"
GtkWidget * 	resource_view_new	(void);
#line 87 "resource-view.h"
#line 74 "client/gtk/resource-view.gob"
GtkWidget * 	resource_view_new_single_resource	(Resource resource);
#line 90 "resource-view.h"
#line 143 "client/gtk/resource-view.gob"
void 	resource_view_set	(ResourceView * self,
					const gint * resource);
#line 94 "resource-view.h"
#line 161 "client/gtk/resource-view.gob"
void 	resource_view_set_amount_of_single_resource	(ResourceView * self,
					Resource type,
					gint amount);
#line 99 "resource-view.h"

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif
