/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; coding: utf-8 -*- */
/* gtksourcespacedrawer-private.h
 * This file is part of GtkSourceView
 *
 * Copyright (C) 2016 - Sébastien Wilmet <swilmet@gnome.org>
 *
 * GtkSourceView is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * GtkSourceView 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#ifndef GTK_SOURCE_SPACE_DRAWER_PRIVATE_H
#define GTK_SOURCE_SPACE_DRAWER_PRIVATE_H

#include <gtk/gtk.h>
#include "gtksourcetypes.h"
#include "gtksourcetypes-private.h"
#include "gtksourceview.h"

G_BEGIN_DECLS

GTK_SOURCE_INTERNAL
GtkSourceDrawSpacesFlags
			_gtk_source_space_drawer_get_flags		(GtkSourceSpaceDrawer *drawer);

GTK_SOURCE_INTERNAL
void			_gtk_source_space_drawer_set_flags		(GtkSourceSpaceDrawer     *drawer,
									 GtkSourceDrawSpacesFlags  flags);

GTK_SOURCE_INTERNAL
void			_gtk_source_space_drawer_update_color		(GtkSourceSpaceDrawer *drawer,
									 GtkSourceView        *view);

GTK_SOURCE_INTERNAL
void			_gtk_source_space_drawer_draw			(GtkSourceSpaceDrawer *drawer,
									 GtkSourceView        *view,
									 cairo_t              *cr);

G_END_DECLS

#endif /* GTK_SOURCE_SPACE_DRAWER_PRIVATE_H */
