00001 #ifndef _VAPI_MACROS_TABLES_H_ 00002 #define _VAPI_MACROS_TABLES_H_ 00003 #include <gtk/gtk.h> 00004 #include <glade/glade.h> 00005 #include "vapiImages.h" 00006 #include "vapiMacroList.h" 00007 #include "vapiMacro.h" 00008 00009 typedef struct _vMacroTablesSelect 00010 { 00011 GList **Lists[3]; 00012 GtkWidget *txtOperation; 00013 vImages *Images; 00014 vMacroList *MacroList; 00015 GtkWidget *imActual; 00016 } vMacroTablesSelect; 00017 00018 void vapiGtkMacrosTablesInit (GladeXML * xml, vMacroList * MacroList, 00019 GList ** List0, GList ** List1, GList ** List2, 00020 vImages * Images); 00021 00022 void vapiGtkMacroTable (); 00023 00024 GtkTreeStore *vapiGtkMacroTableModel (vMacroHeader * MacroHeader, 00025 const char *macroTag); 00026 00027 void vapiGtkMacroTableAux (int macro_number, const char *previousMacroTag, 00028 int operationNumber); 00029 00030 GtkWidget *vapiGtkMacrosTablesCreateTable (); 00031 00032 int vapiGtkMacroTableGetSelected (); 00033 00034 void vapiGtkMacrosTableSetSelectedMacro (GtkNotebook * notebook, gint arg1, 00035 gpointer user_data); 00036 00037 vBoolean vapiGtkMacroTableSelectRow (int row); 00038 00039 void vapiGtkMacrosTablesCleanToDefault (); 00040 00041 void vapiGtkMacroApplyAllMacros (); 00042 00043 void vapiGtkCbMacroStart (); 00044 00045 void vapiGtkMacroTablesApplyUntil (const char *macroTag); 00046 00047 char *vapiGtkMacroGetMacroTag (); 00048 00049 GtkWidget * vapiGtkMacroTablesGetTable (int notebook_page); 00050 00051 #endif