[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/include/gtk-mng-view.h
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/include/gtk-mng-view.h |
Date: |
Fri, 29 Apr 2005 19:05:31 -0400 |
Index: graveman/current/include/gtk-mng-view.h
diff -u graveman/current/include/gtk-mng-view.h:1.1
graveman/current/include/gtk-mng-view.h:1.2
--- graveman/current/include/gtk-mng-view.h:1.1 Mon Apr 4 01:37:41 2005
+++ graveman/current/include/gtk-mng-view.h Fri Apr 29 23:05:29 2005
@@ -48,6 +48,11 @@
#ifndef __GTK_MNG_VIEW_H__
#define __GTK_MNG_VIEW_H__
+typedef struct {
+ guint size;
+ guchar *mng_data;
+} Tmng;
+
#include <libmng.h>
#include <gtk/gtkwidget.h>
@@ -57,6 +62,8 @@
#define IS_GTK_MNG_VIEW(o) (GTK_CHECK_TYPE ((o), GTK_MNG_VIEW_TYPE))
#define IS_GTK_MNG_VIEW_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k),
GTK_MNG_VIEW_TYPE))
+#define _MNG_BLOCK_SIZE 4096
+
typedef struct _GtkMngView GtkMngView;
typedef struct _GtkMngViewClass GtkMngViewClass;
@@ -84,7 +91,12 @@
GtkWidget * gtk_mng_view_new (void);
/* returns !FALSE on success */
-gboolean gtk_mng_view_load_mng_from_memory (GtkMngView *, guchar *, guint);
+extern gboolean gtk_mng_view_load_mng_from_memory (GtkMngView *, guchar *,
guint);
+
+/* routines perso */
+extern Tmng *gtk_mng_read_file (const gchar* Afileformat, ...);
+extern Tmng *gtk_mng_free(Tmng *Amng);
+extern GtkMngView *gtk_mng_view_new_init(Tmng *Amng);
#endif /* __GTK_MNG_VIEW_H__ */
- [Graveman-cvs] Changes to graveman/current/include/gtk-mng-view.h,
sylvain cresto <=