diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-03-11 14:05:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-03-11 14:05:58 (GMT) |
commit | d1f5881c1f4ad53781fdadfe5ce6cac24cee3bab (patch) | |
tree | b81348afa4b348590740d189f1b78dabb3ae254c /src/glibext/gbufferline.c | |
parent | 9714ddda44f92f2939299c6b0aa203d549c32b0d (diff) |
Updated the exportation dialog.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@239 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext/gbufferline.c')
-rw-r--r-- | src/glibext/gbufferline.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c index cc99ee8..6017bdd 100644 --- a/src/glibext/gbufferline.c +++ b/src/glibext/gbufferline.c @@ -550,3 +550,38 @@ void g_buffer_line_draw(GBufferLine *line, GdkDrawable *drawable, GdkGC *gc, con } } + + + +/****************************************************************************** +* * +* Paramètres : line = ligne de texte à manipuler. * +* fd = flux ouvert en écriture. * +* type = type d'exportation attendue. * +* addr = indique si les positions doivent être affichées. * +* code = indique si le code binaire doit être affiché. * +* content = indique si le gros du contenu doit être affiché. * +* * +* Description : Exporte la ligne de texte représentée. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +void g_buffer_line_export(GBufferLine *line, int fd, BufferExportType type, bool addr, bool code, bool content) +{ + BufferLineColumn i; /* Boucle de parcours */ + + for (i = BLC_ADDRESS; i < BLC_COUNT; i++) + { + if (i == BLC_ADDRESS && !addr) continue; + if (i == BLC_BINARY && !code) continue; + if (!(i == BLC_ADDRESS || i == BLC_BINARY) && !content) continue; + + dprintf(fd, "TODO\n"); + + } + +} |