1 /* 2 * prefs.h 3 * 4 * Copyright 2012 Dimitar Toshkov Zhekov <dimitar.zhekov@gmail.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef PREFS_H 21 22 extern gchar *pref_gdb_executable; 23 extern gboolean pref_gdb_async_mode; 24 #ifndef G_OS_UNIX 25 extern gboolean pref_async_break_bugs; 26 #endif 27 extern gboolean pref_var_update_bug; 28 29 extern gboolean pref_auto_view_source; 30 extern gboolean pref_keep_exec_point; 31 extern gint pref_visual_beep_length; 32 #ifdef G_OS_UNIX 33 extern gboolean pref_debug_console_vte; 34 #endif 35 36 extern gint pref_sci_marker_first; 37 extern gint pref_sci_caret_policy; 38 extern gint pref_sci_caret_slop; 39 extern gboolean pref_unmark_current_line; 40 41 extern gboolean pref_scope_goto_cursor; 42 extern gboolean pref_seek_with_navqueue; 43 extern gint pref_panel_tab_pos; 44 extern gint pref_show_recent_items; 45 extern gint pref_show_toolbar_items; 46 47 extern gint pref_tooltips_fail_action; 48 extern gint pref_tooltips_send_delay; 49 extern gint pref_tooltips_length; 50 51 extern gint pref_memory_bytes_per_line; 52 extern gchar *pref_memory_font; 53 54 #ifdef G_OS_UNIX 55 extern gboolean pref_terminal_padding; 56 extern gint pref_terminal_window_x; 57 extern gint pref_terminal_window_y; 58 extern gint pref_terminal_width; 59 extern gint pref_terminal_height; 60 #endif 61 62 /* geany terminal preferences */ 63 extern gboolean pref_vte_blinken; 64 extern gchar *pref_vte_emulation; 65 extern gchar *pref_vte_font; 66 extern gint pref_vte_scrollback; 67 68 #if !GTK_CHECK_VERSION(3, 14, 0) 69 extern GdkColor pref_vte_colour_fore; 70 extern GdkColor pref_vte_colour_back; 71 #else 72 extern GdkRGBA pref_vte_colour_fore; 73 extern GdkRGBA pref_vte_colour_back; 74 #endif 75 76 void prefs_apply(GeanyDocument *doc); 77 char *prefs_file_name(void); 78 79 void prefs_init(void); 80 void prefs_finalize(void); 81 82 #define PREFS_H 1 83 #endif 84