The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Redraw less

These changes was commited to the Birdfont repository Fri, 22 May 2015 11:27:19 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Fri, 22 May 2015 11:27:19 +0000]

Updated Files

dodo.py
libbirdfont/OverView.vala
libbirdfont/SpinButton.vala
libbirdfont/Toolbox.vala
libbirdfont/ZoomBar.vala
diff --git a/dodo.py b/dodo.py
--- a/dodo.py +++ b/dodo.py @@ -140,7 +140,7 @@ 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()
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -85,7 +85,7 @@ IdleSource idle = new IdleSource (); idle.set_callback (() => { - selected_canvas (); + // FIXME: selected_canvas (); return false; });
--- a/libbirdfont/SpinButton.vala +++ b/libbirdfont/SpinButton.vala @@ -284,7 +284,7 @@ show_adjustmet_icon (); new_value_action (this); - redraw (); + // FIXME: delete redraw (); } int8 parse (string s) { @@ -370,7 +370,7 @@ } show_adjustmet_icon (); - redraw (); + // FIXME: delete redraw (); } public void set_value_round (double v, bool check_boundaries = true, bool emit_signal = true) {
--- a/libbirdfont/Toolbox.vala +++ b/libbirdfont/Toolbox.vala @@ -77,9 +77,16 @@ tab_bar.signal_tab_selected.connect ((tab) => { string tab_name = tab.get_display ().get_name (); 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) {
--- a/libbirdfont/ZoomBar.vala +++ b/libbirdfont/ZoomBar.vala @@ -54,7 +54,7 @@ zoom_level = z; if (!MenuTab.background_thread) { - Toolbox.redraw_tool_box (); + //FIXME: DELETE Toolbox.redraw_tool_box (); } }