Commit 31ecbc4
Foreground color in tables and events for spin buttons in settings tab
Changed files (4)
modifiedlibbirdfont/KerningList.valamodifiedlibbirdfont/SettingsDisplay.valamodifiedlibbirdfont/TabBar.valamodifiedlibbirdfont/Table.vala
Diff
@@ -105,6 +105,7 @@ public class KerningList : FontDisplay { // remove kerning icon cr.save ();+ Theme.color (cr, "Foreground 1"); cr.set_line_width (1); cr.move_to (10, y - 8); cr.line_to (15, y - 3);@@ -113,6 +114,7 @@ public class KerningList : FontDisplay { cr.stroke (); cr.restore (); + Theme.color (cr, "Foreground 1"); cr.move_to (60, y); cr.show_text (left); cr.move_to (230, y);@@ -1,5 +1,5 @@ /*- Copyright (C) 2014 Johan Mattsson+ Copyright (C) 2014 2015 Johan Mattsson This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -344,6 +344,8 @@ public class SettingsDisplay : FontDisplay { if (((!) s.button).is_over (x, y) || ((!) s.button).is_active ()) { ((!) s.button).panel_release_action ((!) s.button, button, x, y); }+ + ((!) s.button).panel_release_action (((!) s.button), button, x, y); } if (s.key_bindings && s.y <= y < s.y + 40 * MainWindow.units && button == 1) {@@ -730,7 +730,7 @@ public class TabBar : GLib.Object { } if (has_scroll ()) {- tabs_end -= 32 / scale;+ tabs_end -= 60 / scale; offset = 24 / scale; } else { offset = 0;@@ -78,6 +78,7 @@ public abstract class Table : FontDisplay { if (row.has_delete_button ()) { cr.save ();+ Theme.color (cr, "Foreground 1"); cr.set_line_width (1); cr.move_to (10 * MainWindow.units, y - 8 * MainWindow.units); cr.line_to (15 * MainWindow.units, y - 3 * MainWindow.units);@@ -89,6 +90,7 @@ public abstract class Table : FontDisplay { for (int i = 0; i < row.columns; i++) { cr.save ();+ Theme.color (cr, "Foreground 1"); margin = (row.has_delete_button ()) ? 120 * MainWindow.units : 3* MainWindow.units; cr.move_to (margin + i * 120 * MainWindow.units, y); cr.set_font_size (12 * MainWindow.units);