On Mon, 27 Jan 2003, Angus Leeming wrote: > + /* toggle input method for CJK users */ > + if (key == XK_space) { > + if (shiftkey_down(kmask) && ! sp->CJK_local_input) > + turn_on_local_input(ob); > + else if (!shiftkey_down(kmask) && sp->CJK_local_input) > + turn_off_local_input(ob); > + } > + > /* translate all move key to cursor keys so we can distinguish > edit/move > keys more easily */ > > turn_on_local_input and turn_off_local_input are as yet undefined functions > that will add and remove your magical attributes from your input context. I > know absolutely nothing about such things. Note, however that these > functions are passed the FL_OBJECT * ob, and so can ascertain the x,y,w,h > information you desire. > > Does this help you any?
At least, you give me something I can try. Regards, cghan