Commit 863e0bc
Redraw less
Changed files (5)
modifieddodo.pymodifiedlibbirdfont/OverView.valamodifiedlibbirdfont/SpinButton.valamodifiedlibbirdfont/Toolbox.valamodifiedlibbirdfont/ZoomBar.vala
Diff
@@ -140,7 +140,7 @@ else: libbird = Vala(src='libbirdfont', build='build', library='birdfont', so_version=SO_VERSION, pkg_libs=LIBS, vala_deps=[libbirdgems, libbirdxml]) def task_libbirdfont():- yield libbird.gen_c(valac_options)+ yield libbird.gen_c(valac_options]) yield libbird.gen_o(['-fPIC -I./build/', """-D 'GETTEXT_PACKAGE="birdfont"'"""]) yield libbird.gen_so('-L ./build -l birdxml -L ./build -l birdgems') yield libbird.gen_ln()@@ -85,7 +85,7 @@ public class OverView : FontDisplay { IdleSource idle = new IdleSource (); idle.set_callback (() => { - selected_canvas ();+ // FIXME: selected_canvas (); return false; }); @@ -284,7 +284,7 @@ public class SpinButton : Tool { show_adjustmet_icon (); new_value_action (this);- redraw ();+ // FIXME: delete redraw (); } int8 parse (string s) {@@ -370,7 +370,7 @@ public class SpinButton : Tool { } show_adjustmet_icon ();- redraw ();+ // FIXME: delete redraw (); } public void set_value_round (double v, bool check_boundaries = true, bool emit_signal = true) {@@ -79,9 +79,16 @@ public class Toolbox : GLib.Object { set_toolbox_from_tab (tab_name, tab); }); + redraw.connect ((x, y, w, h) => {+ redraw_notify ();+ });+ update_expanders (); } + void redraw_notify () { + }+ public static void set_toolbox_from_tab (string tab_name, Tab? t = null) { if (tab_name == "Spacing") { current_set = (ToolCollection) spacing_tools;@@ -54,7 +54,7 @@ public class ZoomBar : Tool { zoom_level = z; if (!MenuTab.background_thread) {- Toolbox.redraw_tool_box ();+ //FIXME: DELETE Toolbox.redraw_tool_box (); } }