>
>       Can we change the definition of "^" this late?
>       Historically, "^c" has always meant Ctrl-C on all platforms, including 
> macs,
>       IIRC.

-1 on changing the meaning of "^" on the mac. It should be ctrl
as for all platforms.

>
>       With new codes, "!c" could mean Command-C on macs, and Ctrl-C on 
> windows/linux.
>
>       So one would use this to define the shortcut for e.g. the Edit/Copy 
> menu,
>       and it would work across all platforms, and avoid having to do:
>
> #ifdef MAC
>         copy_shortcut = FL_META+'c';
> #else
>       copy_shortcut = FL_CTRL+'c';
> #endif
>

We have already FL_COMMAND defined to FL_META on Mac and FL_CTRL
elsewhere. Isn't that sufficient ?
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to