diff libgui/src/settings-dialog.h @ 16693:e9d0b8252a0a

make color of current line marker in the editor configurable * settings-dailog.ui: add dummy for color picker * settings-dialog.h: add pointer to color picker as class variable * settings-dialog.cc(constructor): add color picker with color from settings (write_changed_settings): store color from color picker in settings file * file-editor-tab.cc(constructor): remove setting the color of the marker here (notice_settings): load color for the marker from the settings file
author Torsten <ttl@justmail.de>
date Tue, 21 May 2013 20:08:22 +0200
parents 025bc6b5080e
children c060ad097056
line wrap: on
line diff
--- a/libgui/src/settings-dialog.h	Sat May 18 23:00:19 2013 -0400
+++ b/libgui/src/settings-dialog.h	Tue May 21 20:08:22 2013 +0200
@@ -26,6 +26,8 @@
 #include <QDialog>
 #include <QSettings>
 
+#include "color-picker.h"
+
 #ifdef HAVE_QSCINTILLA
 class QsciLexer;
 #endif
@@ -57,6 +59,8 @@
 
   void read_terminal_colors (QSettings *settings);
   void write_terminal_colors (QSettings *settings);
+  
+  color_picker *_editor_current_line_color;
 };
 
 #endif // SETTINGSDIALOG_H