/* Chrysalide - Outil d'analyse de fichiers binaires
* bufferview.h - prototypes pour l'affichage de tampons de lignes
*
* Copyright (C) 2016-2024 Cyrille Bagard
*
* This file is part of Chrysalide.
*
* Chrysalide 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 3 of the License, or
* (at your option) any later version.
*
* Chrysalide 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 Chrysalide. If not, see .
*/
#ifndef _GTKEXT_BUFFERVIEW_H
#define _GTKEXT_BUFFERVIEW_H
#include
#include "../glibext/bufferview.h"
#include "../glibext/helpers.h"
#define GTK_TYPE_BUFFER_VIEW (gtk_buffer_view_get_type())
DECLARE_GTYPE(GtkBufferView, gtk_buffer_view, GTK, BUFFER_VIEW);
/* Fournit la vue associée au tampon de lignes courant. */
GBufferView *gtk_buffer_view_get_view(const GtkBufferView *);
#if 0
/* ------------------------------ ANIMATION DU CURSEUR ------------------------------ */
/* Détermine si une position est comprise dans l'affichage. */
bool gtk_buffer_display_contain_cursor(const GtkBufferDisplay *, const GLineCursor *);
/* Déplace le curseur à un emplacement en extrémité. */
bool gtk_buffer_display_move_caret_to(GtkBufferDisplay *, bool, gint *);
/* ------------------------- INCLUSION D'UNE BARRE D'OUTILS ------------------------- */
/* Ajoute une nouvelle barre d'outils pour bloc au composant. */
void gtk_buffer_display_add_block_bar(GtkBufferDisplay *);
#endif
#endif /* _GTKEXT_BUFFERVIEW_H */