diff libgui/src/m-editor/file-editor-tab.cc @ 19935:ded81845c597

omit icons for breakpoint markers and in documentation viewer * arrow_down.png, arrow_left.png, arrow_right.png, arrow_up.png bookmark.png, redled.png, up.png: removed obsolete icons * file-editor-tab.cc (file_editor_tab): Use qscintilla internal markers instead of icons * module.mk, resource.qrc: removed entries of obsolete icons, sort entries * parser.cc (replace_links, node_text_to_html, global_search): replace icons by html characters
author Torsten <ttl@justmail.de>
date Thu, 26 Feb 2015 10:06:23 +0100
parents 72fe9df87fe8
children bb1629e15afe
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc	Fri Feb 27 08:41:59 2015 +0100
+++ b/libgui/src/m-editor/file-editor-tab.cc	Thu Feb 26 10:06:23 2015 +0100
@@ -116,10 +116,11 @@
   _edit_area->setMarginType (1, QsciScintilla::SymbolMargin);
   _edit_area->setMarginSensitivity (1, true);
   _edit_area->markerDefine (QsciScintilla::RightTriangle, bookmark);
-  _edit_area->markerDefine (QPixmap (":/actions/icons/redled.png"),
-                            breakpoint);
-  _edit_area->markerDefine (QPixmap (":/actions/icons/bookmark.png"),
-                            debugger_position);
+  _edit_area->setMarkerBackgroundColor (QColor (0,0,232), bookmark);
+  _edit_area->markerDefine (QsciScintilla::Circle, breakpoint);
+  _edit_area->setMarkerBackgroundColor (QColor (192,0,0), breakpoint);
+  _edit_area->markerDefine (QsciScintilla::RightTriangle, debugger_position);
+  _edit_area->setMarkerBackgroundColor (QColor (255,255,0), debugger_position);
 
   connect (_edit_area, SIGNAL (marginClicked (int, int,
                                               Qt::KeyboardModifiers)),