1 /* 2 * Xiphos Bible Study Tool 3 * widgets.h - 4 * 5 * Copyright (C) 2000-2020 Xiphos Developer Team 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU Library General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 20 */ 21 22 #ifndef __WIDGETS_H__ 23 #define __WIDGETS_H__ 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 typedef struct _app_widgets WIDGETS; 29 struct _app_widgets 30 { 31 GtkWidget *app, /* main form */ 32 *appbar, /* gtk status/progress bar */ 33 *vboxMain, /* */ 34 *page, /* */ 35 *epaned, /* sidebar bar and main panel */ 36 *paned_sidebar, /*pane to show previewer in sidebar bar */ 37 *box_side_preview, /* box for packing previewer in side bar */ 38 *vpaned, /* bible/previewer paned */ 39 *vpaned2, /* commentary/dictionary paned */ 40 *hpaned, /* bible/commentary paned */ 41 *bible_info_paned, /* shortcut bar and main panle */ 42 *shortcutbar, /* the shortcut bar widget */ 43 *bookmark_tree, /* bookmarks tree */ 44 *ctree_widget_books, /* books tree */ 45 *workbook_lower, /* notebook - dict/lex, gbs, and interlinear */ 46 *notebook_gbs, /* notebook - gbs */ 47 *notebook_dict, /* notebook - dict/lex */ 48 *all_strongs, /* "find all uses of this strong's number" */ 49 *box_comm, /* notebook - commentaries */ 50 *notebook_bible_parallel, /* notebook - */ 51 *notebook_text, /* notebook - bible texts */ 52 *notebook_percomm, /* notebook - personal comments */ 53 *notebook_sidebar, /* notebook - sidebar */ 54 *notebook_comm_book, *notebook_main, /* main notebook to have multiple passages open at once */ 55 *vbox_text, /* vbox for bible + simple parallel */ 56 *box_dict, *vbox_previewer, *parallel_tab, 57 /* dock/undock stuff */ 58 *dock_sb, /* dock for shortcut bar */ 59 *frame_parallel, /* frame for interlinear html */ 60 /* editor_dialog */ 61 *studypad_dialog, 62 /* entry widgets */ 63 *entry_dict, 64 /* toolbars */ 65 *toolbar_comments, *toolbar_studypad, 66 /* html widgets */ 67 *eventbox1, *html_search_report, /* html widget for serch report shortcut bar */ 68 *html_parallel, /* parallel html widget */ 69 *html_parallel_dialog, /* undocked parallel html widget */ 70 *html_text, /* texts html widget */ 71 *html_comm, /* html commentary widget */ 72 *html_percomm, /* html personal commentary widget */ 73 *html_dict, /* html dictionary widget */ 74 *html_book, /* gbs html widget */ 75 *html_studypad, /* studypad html widget */ 76 *html_previewer, /* to display information (ie strongs) at 77 bottom of text pane */ 78 *html_previewer_text, 79 /* book of the Bible combo */ 80 *cb_books, 81 /* listview widget */ 82 *listview_dict, *store, 83 /* label widgets */ 84 *label_comm, *label_dict, 85 /* comboboxentry widgets */ 86 *comboboxentry_dict, 87 /* popup menu submenu widgets */ 88 *add_bookmark_submenu, 89 /* popup menu item widgets */ 90 *viewtexts_item, *viewpreview_item, *parallel_tab_item, *side_preview_item, *viewcomms_item, *viewdicts_item, *linkedtabs_item, *showversenum_item, *readaloud_item, *versehighlight_item, *annotate_highlight_item, *xrefs_in_verse_list_item, *new_journal_item, *button_dict_book, *button_new_tab, /* creates a new passage tab */ 91 *hboxtb; /* container for browsing notebook and button */ 92 }; 93 extern WIDGETS widgets; 94 95 #ifdef __cplusplus 96 } 97 #endif 98 #endif 99