measure-context.h revision 2739452e5199717fdd2bec57a05ca3e987957088
#ifndef __SP_MEASURING_CONTEXT_H__
#define __SP_MEASURING_CONTEXT_H__
/*
* Our fine measuring tool
*
* Authors:
* Felipe Correa da Silva Sanches <juca@members.fsf.org>
*
* Copyright (C) 2011 Authors
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "event-context.h"
#define SP_TYPE_MEASURE_CONTEXT (sp_measure_context_get_type ())
#define SP_MEASURE_CONTEXT(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_MEASURE_CONTEXT, SPMeasureContext))
#define SP_IS_MEASURE_CONTEXT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_MEASURE_CONTEXT))
class SPMeasureContext;
class SPMeasureContextClass;
struct SPMeasureContext {
SPEventContext event_context;
SPCanvasItem *grabbed;
};
struct SPMeasureContextClass {
SPEventContextClass parent_class;
};
GType sp_measure_context_get_type (void);
#endif