Re: CVS: commit msevior abi/src/af/ev/xp ev_EditBinding.cpp

From: J.M. Maurer <uwog_at_uwog.net>
Date: Fri Apr 13 2007 - 12:57:37 CEST

> Index: ev_EditBinding.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/af/ev/xp/ev_EditBinding.cpp,v
> retrieving revision 1.29
> retrieving revision 1.30
> diff -u -d -r1.29 -r1.30
> --- ev_EditBinding.cpp 16 Jan 2007 23:13:16 -0000 1.29
> +++ ev_EditBinding.cpp 11 Apr 2007 11:09:25 -0000 1.30
> @@ -491,10 +491,70 @@
> return buf;
> }
>
> -bool EV_EditBindingMap::parseEditBinding(void)
> +bool EV_EditBindingMap::parseEditBinding(void /*const char * szAscii*/)
> {
> /* TODO here we import a binding from a primitive ascii format
> ** TODO or XML syntax.
> */
> + /*
> + The Ascii format is close to the definition in wp/ap/xp/ap_LB_Default.cpp
> +Lines beginning with "//" are comments
> +
> +Each CR seperated lines define a set of bindings for a single mouse context or
> +key stroke. Entries are seperated by commas. In creating the context, several
> +modifiers can be used. Control, Alt, Shift, Control-Alt (C, A, S )
> +
> +The first token of each line determines whether the defintion is for mouse context (mse), Named Virtual Key (nvk), or keystroke (key).
> +
> +The definition of each set of bindings are always in the following order for
> +mouse contexts.
> +
> +Up to to 6 buttons are available for the mouse. (B0, B1, B2, B3, B4, B5, B6)
> +The follow contexts are available:

It seems you committed too much. And btw, why using a plain text file,
and not an xml description for this kind of stuff?

Marc
Received on Fri Apr 13 12:56:50 2007

This archive was generated by hypermail 2.1.8 : Fri Apr 13 2007 - 12:56:51 CEST