view .dir-locals.el @ 24173:730227072acb

Add support for text background area for OpenGL toolkits (bug #39692). * gl-render.h, gl-render.cc (opengl_renderer::draw_text_background): New method. (opengl_renderer::draw_axes_planes) Increase polygon_offset to 9 for axes planes. (opengl_renderer::draw_text) Call draw_text_background prior to drawing text. * gl2ps-print.cc (gl2ps_renderer::draw_text): Ditto. * genpropdoc.m (get_doc): Document relevant text properties. * text.m: Modify second demo to include background properties. * NEWS: Announce new functionality.
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Sun, 15 Oct 2017 21:06:47 +0200
parents 9ff04de067ce
children df203b20cfc6
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))))