Re: [Tuxpaint-devel] Instrumenting tuxpaint
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <pe...@fo...> - 2010-07-11 21:43:25
|
Hi Mohan! El ds 10 de 07 de 2010 a les 20:17 -0700, en/na Mohan Raj R va escriure: > One thing I realized that I am missing right now is the special > functions (at bottom of right toolbar - e.g select label node) for the > label tool. Any idea where to look for the label function. Have been > spending quite a bit of time on it. Still no luck. Check for cur_label, if it is LABEL_SELECT, then you are selecting a label, if it is LABEL_LABEL, then you are entering a new label, if in plus there is a label_node_to_edit (selected at LABEL_SELECT), then the new label will replace the label_node_to_edit. > > 1. For the right tool bar icons, logging the corresponding > cur_* variables solved most of the issues. > (Though I couldn't figure out the role of the following > variables: cur_label, cur_select) cur_select is dead code, I forgot to remove it :( Are you logging too keyboard shortcurts? [ctrl] z [ctrl] p [ctrl] r Yours Pere |