|
Packit Service |
c6b782 |
/* dzl-graph-view.h
|
|
Packit Service |
c6b782 |
*
|
|
Packit Service |
c6b782 |
* Copyright (C) 2015 Christian Hergert <christian@hergert.me>
|
|
Packit Service |
c6b782 |
*
|
|
Packit Service |
c6b782 |
* This file is free software; you can redistribute it and/or modify it
|
|
Packit Service |
c6b782 |
* under the terms of the GNU Lesser General Public License as
|
|
Packit Service |
c6b782 |
* published by the Free Software Foundation; either version 3 of the
|
|
Packit Service |
c6b782 |
* License, or (at your option) any later version.
|
|
Packit Service |
c6b782 |
*
|
|
Packit Service |
c6b782 |
* This file is distributed in the hope that it will be useful, but
|
|
Packit Service |
c6b782 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
c6b782 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
c6b782 |
* Lesser General Public License for more details.
|
|
Packit Service |
c6b782 |
*
|
|
Packit Service |
c6b782 |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
c6b782 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
c6b782 |
*/
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
#ifndef DZL_GRAPH_VIEW_H
|
|
Packit Service |
c6b782 |
#define DZL_GRAPH_VIEW_H
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
#include <gtk/gtk.h>
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
#include "dzl-version-macros.h"
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
#include "dzl-graph-model.h"
|
|
Packit Service |
c6b782 |
#include "dzl-graph-renderer.h"
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
G_BEGIN_DECLS
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
#define DZL_TYPE_GRAPH_VIEW (dzl_graph_view_get_type())
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
DZL_AVAILABLE_IN_ALL
|
|
Packit Service |
c6b782 |
G_DECLARE_DERIVABLE_TYPE (DzlGraphView, dzl_graph_view, DZL, GRAPH_VIEW, GtkDrawingArea)
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
struct _DzlGraphViewClass
|
|
Packit Service |
c6b782 |
{
|
|
Packit Service |
c6b782 |
GtkDrawingAreaClass parent_class;
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
gpointer _reserved1;
|
|
Packit Service |
c6b782 |
gpointer _reserved2;
|
|
Packit Service |
c6b782 |
gpointer _reserved3;
|
|
Packit Service |
c6b782 |
gpointer _reserved4;
|
|
Packit Service |
c6b782 |
gpointer _reserved5;
|
|
Packit Service |
c6b782 |
gpointer _reserved6;
|
|
Packit Service |
c6b782 |
gpointer _reserved7;
|
|
Packit Service |
c6b782 |
gpointer _reserved8;
|
|
Packit Service |
c6b782 |
};
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
DZL_AVAILABLE_IN_ALL
|
|
Packit Service |
c6b782 |
GtkWidget *dzl_graph_view_new (void);
|
|
Packit Service |
c6b782 |
DZL_AVAILABLE_IN_ALL
|
|
Packit Service |
c6b782 |
void dzl_graph_view_set_model (DzlGraphView *self,
|
|
Packit Service |
c6b782 |
DzlGraphModel *model);
|
|
Packit Service |
c6b782 |
DZL_AVAILABLE_IN_ALL
|
|
Packit Service |
c6b782 |
DzlGraphModel *dzl_graph_view_get_model (DzlGraphView *self);
|
|
Packit Service |
c6b782 |
DZL_AVAILABLE_IN_ALL
|
|
Packit Service |
c6b782 |
void dzl_graph_view_add_renderer (DzlGraphView *self,
|
|
Packit Service |
c6b782 |
DzlGraphRenderer *renderer);
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
G_END_DECLS
|
|
Packit Service |
c6b782 |
|
|
Packit Service |
c6b782 |
#endif /* DZL_GRAPH_VIEW_H */
|