1. 05 Jun, 2017 1 commit
  2. 11 Nov, 2015 2 commits
    • Matthias Clasen's avatar
      text view: Improve text rendering · 9d908830
      Matthias Clasen authored
      Use the text CSS node for rendering text, and the selection node
      for rendering selected text, avoid gtk_style_context_save, update
      states of all CSS nodes, and use the proper states when querying
      style properties.
      9d908830
    • Matthias Clasen's avatar
      textview: Use a CSS node for selection rendering · bb786ac2
      Matthias Clasen authored
      Use a CSS node with name selection, like we do for entries
      and labels. Unlike those widgets, we currently don't user
      gtk_render_background, but just use the background color.
      That will require more effort.
      bb786ac2
  3. 09 Nov, 2015 1 commit
  4. 20 Oct, 2015 1 commit
  5. 15 Aug, 2015 1 commit
  6. 18 Mar, 2015 1 commit
    • Christian Hergert's avatar
      textview: add support for underline and strikethrough colors · 28063ee2
      Christian Hergert authored
      This commit adds the GtkTextTag:underline-rgba and :strikethrough-rgba
      properties and the necessary plumbing to apply these colors in GtkTextLayout.
      With this change, you can alter the color of underlines including those
      of type PANGO_UNDERLINE_ERROR.
      
      You might want to alter the underline color to differentiate between
      spelling and grammer mistakes. In code editors, it is convenient to
      differentiate between errors and warnings.
      
      Note that the GtkTextAppearance struct is public ABI and has no spare
      room for new fields, so we are resorting to some tricky packing to store
      the colors in the unused pixel field of the fg_color and bg_color structs.
      This packing is accomplished by the macros in gtktextattributesprivate.h.
      Signed-off-by: Christian Hergert's avatarChristian Hergert <christian@hergert.me>
      
      https://bugzilla.gnome.org/show_bug.cgi?id=402168
      28063ee2
  7. 27 Nov, 2014 1 commit
  8. 03 Oct, 2014 1 commit
    • Benjamin Otte's avatar
      stylecontext: Deprecate functions · 91467a45
      Benjamin Otte authored
      - gtk_style_context_get_background_color()
      - gtk_style_context_get_border_color()
      
      Those functions shouldn't be used anymore, because they don't represent
      anything from the CSS styling we support. The background color often
      isn't used due to background images and there are actually 4 different
      border colors (1 for each side) - if there isn't also a border image in
      use.
      91467a45
  9. 22 May, 2014 1 commit
  10. 02 Oct, 2012 1 commit
  11. 10 Apr, 2012 1 commit
  12. 07 Apr, 2012 1 commit
  13. 27 Feb, 2012 1 commit
  14. 09 Jan, 2012 1 commit
  15. 01 Jan, 2012 1 commit
  16. 01 Dec, 2011 4 commits
  17. 06 May, 2011 4 commits
  18. 20 Feb, 2011 2 commits
  19. 29 Jan, 2011 2 commits
  20. 24 Jan, 2011 1 commit
  21. 21 Jan, 2011 1 commit
  22. 10 Jan, 2011 1 commit
  23. 09 Jan, 2011 1 commit
  24. 03 Oct, 2010 1 commit
  25. 26 Sep, 2010 2 commits
  26. 22 Aug, 2010 1 commit
  27. 19 Aug, 2010 1 commit
  28. 16 Aug, 2010 1 commit
  29. 10 Aug, 2010 2 commits