Menu

[r121]: / store.h  Maximize  Restore  History

Download this file

71 lines (59 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
The store.h file is used to decalre all the variables that will be used.
They're declared ahead of time so that they are global and preset for the API build.
*/
//file paramter
gchar* fileprmt;
//app settings
const gint maxtabs=3;
//temp vars
gint curtab, tabcount=0;
//public main gtk widgets
GtkWidget *filesel,
*window,
*menubox,
*mainpane,
*menubar,
*filelist,
*save_check_vbox,
*save_check_label,
*save_check_save,
*save_check_save_as,
*save_check_no,
*save_check_none,
*save_check_all,
*save_check_cancel,
*save_check,
*search_box,
*search_find,
*notebook;
//tab information structure
typedef struct
{
gint tab, savestat;
gchar *filename, *contents, charset;
gsize length;
GError *err;
GtkTextIter iter;
GtkWidget *scroller, *textview;
GtkSourceBuffer *buffer;
GtkSourceLanguage *lang;
} tabinfo;
//create tab from new type structure
tabinfo tab[maxtabs];
//lanuage vars
GtkSourceLanguageManager *syntax_man;
//buffer iters
GtkTextIter start, end, iter;
//temp value for save_check
gint tmpall=0;
//return storage
gint canpass=0;
gint openpass=0;
gint newup=1;
char *tmptext;
GtkItemFactory *ifactory;
gboolean state;
//icon list
GList *icolst=NULL;
GError **tmppixbuf;
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.