view .dir-locals.el @ 19620:d93293218966 gui-release

custom style of dock widget title bars depending on focus (bug #43837) * octave-dock-widget.cc (ctor): connect active-dock-changed signal with the related new slot; (make_widget): prevent warning message on unused variable; (set_style): new function styling the title bar depending on activity; (handle_settings): get colors for custom style from settings file; (handle_active_dock_changed): new slot for signal from main window settings the custom style depending on changed activity * octave-dock-widget.h: new slot handle_active_dock_changed, new function set_style, new class variables for custom colors * settings-dialog.cc (ctor): init color pickers for back- and foreground color of title bars of active dock widgets from settings file; (write_changesd_settings): write back- and foreground color of title bars into settings file * settings-dialog.h: new class variables for active back- and foreground colors * settings-dialog.ui: new color pickers for active back- and foreground colors
author Torsten <ttl@justmail.de>
date Tue, 23 Dec 2014 16:29:02 +0100
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))