DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2599
Version: 1.4-feature


The current svn repository version (r.9812) completes an extensive
reorganization of text input with the Mac platform.
I believe that with this version, it's possible to follow each
raw keystroke without need for a complex FLTK patch (with mac at least).

- determine with Fl::event_state() what modifier keys are pressed
- determine reading Fl::event_key() if it's a non-text producing
key (e.g., arrows, Fn, delete, newline, escape, tab)
- if not, get the resulting text in Fl::event_text(). Furthermore
call Fl::compose(int del) when processing the FL_KEYBOARD event.
After that, a >0 value of Fl::compose_state will indicate that the
pressed key is a dead key, if that's of interest for the application.


Link: http://www.fltk.org/str.php?L2599
Version: 1.4-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to