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

[STR New]

Link: http://www.fltk.org/str.php?L2638
Version: 1.3-feature


For both X and Windows the numbers don't change, so you can hard-code them
and avoid #if's that disable this functionality.

Put the symbol the number matches into the comment.
For instance, assuming the number is 0xFEEEE:

  case 0xFEEEE: // XF86XK_AudioRaiseVolume:
    keysym = FL_VOLUME_UP;
    break;
  ...

This can help considerably with debugging when the programmer cannot
locate the original symbol definitions, too.


Link: http://www.fltk.org/str.php?L2638
Version: 1.3-feature

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

Reply via email to