Re: [CinCV] About title plugin
On Sunday 02 January 2011 17:37:18 julien.cyno...@free.fr wrote: I can't use the numpad, tough. Pressing the numpad keys doesn't have any effect on the titler. I can't give any input to the titler using the numpad. Pressing the numpad keys doesn't have any effect at all on my system, not only in the titler but also in the whole program. I've noticed that the numpad keys only seem to affect the playback functions on the compositor and preview screens ( fast forward, play, etc). They don't enter numbers on the titles or labels. I have always assumed they are only used for playback functions. Ron ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
The keypad is used to play etc ... but if you enable num lockwould have to run the numbers, I think. 2011/1/3 Ron Sparks sanitychallen...@nycap.rr.com On Sunday 02 January 2011 17:37:18 julien.cyno...@free.fr wrote: I can't use the numpad, tough. Pressing the numpad keys doesn't have any effect on the titler. I can't give any input to the titler using the numpad. Pressing the numpad keys doesn't have any effect at all on my system, not only in the titler but also in the whole program. I've noticed that the numpad keys only seem to affect the playback functions on the compositor and preview screens ( fast forward, play, etc). They don't enter numbers on the titles or labels. I have always assumed they are only used for playback functions. Ron ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
Raffaella Traniello schrieb: Pressing the numpad keys doesn't have any effect on the titler. I can't give any input to the titler using the numpad. ...not only in the titler. Also you can't use them to enter values numerically, which is often sort of an impediment. As far as I know the code, in Cinelerra every such special keybinding needs to be hard coded for each and every widget to use it. I.e. you have to write code of the style if key x is pressed... (somewhat simplified, but you get the idea). The compositor has such a hard-coded binding to map the playback-functions to the numpad. But, as I said, I do have problems with special characters that are not on my keyboards. With other programs I use the character palette, but that has no effect on Cinelerra. And that is not only special characters. Copy-n-paste to the Clipboard seems not to work at all (or am I missing something). This small details renders several features useless, like the text you could place in labels, or the notes for individual clips. Well enough ranting... Cinellerra is usefull enough anyway :) Cheers, Hermann ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
Hi all, ...instead of just ranting ;-) I should better point out that basically the text visible in the titler is stored in plain text format in the Session-XML, within the respective Keyframe element of the Titler. Basically this allows us to put any character there just with an text editor. Of course, the used character encoding must match the one set in Cinelerra, and we can't exceed the size limit... Cheers, Hermann PS: here the usual warning applies when mucking around with your Session-XML: please make sure you have a backup of the file available, and of course, you have to close the Cinelerra Application and open an re-load it after doing manual edits. ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
Ciao ichthyo! On 03/01/11 17:56, Ichthyostega wrote: And that is not only special characters. Copy-n-paste to the Clipboard seems not to work at all (or am I missing something). This small details renders several features useless, like the text you could place in labels, or the notes for individual clips. Actually I can copy and paste text to/from titles, labels and clip info. I use Ctr+C for copying, Ctrl-V for pasting and Ctrl-X for cutting. Most often I use mouse copy and paste (dragging/highlighting for copying, middle button or wheel click for pasting). I noticed though that after pasting, very often the title is visible in the text field but not in the Compositor. If I close the titler and open it again, the text has gone. To make my pasting stable, I have to enter at least one character with the keyboard. Ciao! Raffaella ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
Attached patch to use almost all the special keys (áâïôú), and numbers of keypad The limit of 1023 characters, you could augmentar, but I do not think it necessary. sample video: http://www.youtube.com/watch?v=CVUTh3nG_SE Yosepkey. 2010/12/28 Johannes Sixt j...@kdbg.org On Dienstag, 28. Dezember 2010, Tarot Jean-Sébastien wrote: This plugin work well. I can selecting a font , changing size, scrolling , shadow, and speed. It's very usefull. But i have 2 problems : when i write accents caractères not éàè but the spécial charactères obtain by 2 keys or more like ôöûü the caracters don't print correctly ?? In your video, you copy-pasted the text with accented characters. Does it not work with the others? Apart from that, it is a known limitation of Cinelerra. And when i write too text in the box of plugin cinelerra crash. There are a limite!! ?? Yes, there is a limit. It is 1023 characters. -- Hannes ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra From 0b390ff1c035d23355cd26b28aaba20516d1cc96 Mon Sep 17 00:00:00 2001 From: Jose Aguilar yosep...@gmail.com Date: Sat, 1 Jan 2011 17:47:09 +0100 Subject: [PATCH] add_combination_keys --- guicast/bcwindowbase.C | 116 --- 1 files changed, 108 insertions(+), 8 deletions(-) diff --git a/guicast/bcwindowbase.C b/guicast/bcwindowbase.C index 5c76653..328db14 100644 --- a/guicast/bcwindowbase.C +++ b/guicast/bcwindowbase.C @@ -76,6 +76,7 @@ BC_ResizeCall::BC_ResizeCall(int w, int h) BC_Resources BC_WindowBase::resources; Window XGroupLeader = 0; +int key_esp = 0; BC_WindowBase::BC_WindowBase() { @@ -892,6 +893,98 @@ int BC_WindowBase::dispatch_event() switch(keysym) { + +// combination keys + +case XK_dead_grave: key_esp = 1; break; +case XK_dead_acute: key_esp = 2; break; +case XK_dead_circumflex: key_esp = 3; break; +case XK_dead_tilde: key_esp = 4; break; +case XK_dead_diaeresis: key_esp = 5; break; + +case XK_a: + if(key_esp == 0){key_pressed = 0x61; break;} + if(key_esp == 1){key_pressed = 0xE0; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xE1; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xE2; key_esp = 0; break;} + if(key_esp == 4){key_pressed = 0xE3; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xE4; key_esp = 0; break;} + +case XK_A: + if(key_esp == 0){key_pressed = 0x41; break;} + if(key_esp == 1){key_pressed = 0xC0; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xC1; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xC2; key_esp = 0; break;} + if(key_esp == 4){key_pressed = 0xC3; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xC4; key_esp = 0; break;} + +case XK_e: + if(key_esp == 0){key_pressed = 0x65; break;} + if(key_esp == 1){key_pressed = 0xE8; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xE9; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xEA; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xEB; key_esp = 0; break;} + +case XK_E: + if(key_esp == 0){key_pressed = 0x45; break;} + if(key_esp == 1){key_pressed = 0xC8; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xC9; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xCA; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xCB; key_esp = 0; break;} + +case XK_i: + if(key_esp == 0){key_pressed = 0x69; break;} + if(key_esp == 1){key_pressed = 0xEC; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xED; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xEE; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xEF; key_esp = 0; break;} + +case XK_I: + if(key_esp == 0){key_pressed = 0x49; break;} + if(key_esp == 1){key_pressed = 0xCC; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xCD; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xCE; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xCF; key_esp = 0; break;} + +case XK_o: + if(key_esp == 0){key_pressed = 0x6F; break;} + if(key_esp == 1){key_pressed = 0xF2; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xF3; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xF4; key_esp = 0; break;} + if(key_esp == 4){key_pressed = 0xF5; key_esp = 0; break;} + if(key_esp == 5){key_pressed = 0xF6; key_esp = 0; break;} + +case XK_O: + if(key_esp == 0){key_pressed = 0x4F; break;} + if(key_esp == 1){key_pressed = 0xD2; key_esp = 0; break;} + if(key_esp == 2){key_pressed = 0xD3; key_esp = 0; break;} + if(key_esp == 3){key_pressed = 0xD4; key_esp = 0; break;} + if(key_esp ==
Re: [CinCV] About title plugin
On 02/01/11 15:41, Jose Aguilar wrote: Attached patch to use almost all the special keys (áâïôú), and numbersof keypad In my Cinelerra (plain CinCV) I can add special characters from my Italian keyboard with no problems. (àèéìòù). I can't use the numpad, tough. I also can't use the Ubuntu characters palette (to copy and paste special characters). The limit of 1023 characters, you could augmentar, but I do not think it necessary. My credits are *always* longer than 1023 characters and I always need to split them in two separate effects. I hope the CinelerraCV titler can improve! Ciao Raffaella ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
On Sonntag, 2. Januar 2011, Jose Aguilar wrote: Attached patch to use almost all the special keys (áâïôú), and numbers of keypad Thanks, but the character codes that you patch generates are latin1 (aren't they). How would this work in a koi8-r setup, for example? // number pad case XK_KP_Enter: key_pressed = KPENTER; break; case XK_KP_Add: key_pressed = KPPLUS;break; - case XK_KP_1: case XK_KP_End: key_pressed = KP1; break; - case XK_KP_2: case XK_KP_Down:key_pressed = KP2; break; - case XK_KP_3: case XK_KP_Page_Down: key_pressed = KP3; break; - case XK_KP_4: case XK_KP_Left:key_pressed = KP4; break; - case XK_KP_5: case XK_KP_Begin: key_pressed = KP5; break; - case XK_KP_6: case XK_KP_Right: key_pressed = KP6; break; - case XK_KP_0: case XK_KP_Insert: key_pressed = KPINS; break; - case XK_KP_Decimal: case XK_KP_Delete: key_pressed = KPDEL; break; + case XK_KP_0: key_pressed = 0x30; break; + case XK_KP_1: key_pressed = 0x31; break; + case XK_KP_2: key_pressed = 0x32; break; + case XK_KP_3: key_pressed = 0x33; break; + case XK_KP_4: key_pressed = 0x34; break; + case XK_KP_5: key_pressed = 0x35; break; + case XK_KP_6: key_pressed = 0x36; break; + case XK_KP_7: key_pressed = 0x37; break; + case XK_KP_8: key_pressed = 0x38; break; + case XK_KP_9: key_pressed = 0x39; break; + case XK_KP_Decimal: key_pressed = 0x2E; break; + case XK_KP_Multiply:key_pressed = 0x2A; break; + case XK_KP_Divide: key_pressed = 0x2F; break; This part of the patch does not seem to be essential to claimed fix, right? -- Hannes ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
On Sonntag, 2. Januar 2011, Raffaella Traniello wrote: On 02/01/11 15:41, Jose Aguilar wrote: Attached patch to use almost all the special keys (áâïôú), and numbersof keypad In my Cinelerra (plain CinCV) I can add special characters from my Italian keyboard with no problems. (àèéìòù). So, what's the deal? Why does one party need a patch, the other doesn't? Do you use dead-keys to enter these characters, or do you have them using some Alt-key? I can't use the numpad, tough. What do you mean by can't? It does not work as expected? I need the numpad for something else? -- Hannes ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
On 02/01/11 20:56, Johannes Sixt wrote: On Sonntag, 2. Januar 2011, Raffaella Traniello wrote: In my Cinelerra (plain CinCV) I can add special characters from my Italian keyboard with no problems. (àèéìòù). So, what's the deal? Why does one party need a patch, the other doesn't? No idea. I just found it quite surprising. Do you use dead-keys to enter these characters, or do you have them using some Alt-key? I have a dedicated key for each of them on my Italian keyboard. No modifiers at all. I can't use the numpad, tough. Pressing the numpad keys doesn't have any effect on the titler. I can't give any input to the titler using the numpad. But, as I said, I do have problems with special characters that are not on my keyboards. With other programs I use the character palette, but that has no effect on Cinelerra. Thanks, Hannes. Ciao! Raffaella ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
2011/1/2 Johannes Sixt j...@kdbg.org On Sonntag, 2. Januar 2011, Jose Aguilar wrote: Attached patch to use almost all the special keys (áâïôú), and numbers of keypad Thanks, but the character codes that you patch generates are latin1 (aren't they). How would this work in a koi8-r setup, for example? I do not know program. but I think that can only be put extended ascii* http://www.ascii-code.com/ * // number pad case XK_KP_Enter: key_pressed = KPENTER; break; case XK_KP_Add: key_pressed = KPPLUS;break; - case XK_KP_1: case XK_KP_End: key_pressed = KP1; break; - case XK_KP_2: case XK_KP_Down:key_pressed = KP2; break; - case XK_KP_3: case XK_KP_Page_Down: key_pressed = KP3; break; - case XK_KP_4: case XK_KP_Left:key_pressed = KP4; break; - case XK_KP_5: case XK_KP_Begin: key_pressed = KP5; break; - case XK_KP_6: case XK_KP_Right: key_pressed = KP6; break; - case XK_KP_0: case XK_KP_Insert: key_pressed = KPINS; break; - case XK_KP_Decimal: case XK_KP_Delete: key_pressed = KPDEL; break; + case XK_KP_0: key_pressed = 0x30; break; + case XK_KP_1: key_pressed = 0x31; break; + case XK_KP_2: key_pressed = 0x32; break; + case XK_KP_3: key_pressed = 0x33; break; + case XK_KP_4: key_pressed = 0x34; break; + case XK_KP_5: key_pressed = 0x35; break; + case XK_KP_6: key_pressed = 0x36; break; + case XK_KP_7: key_pressed = 0x37; break; + case XK_KP_8: key_pressed = 0x38; break; + case XK_KP_9: key_pressed = 0x39; break; + case XK_KP_Decimal: key_pressed = 0x2E; break; + case XK_KP_Multiply:key_pressed = 0x2A; break; + case XK_KP_Divide: key_pressed = 0x2F; break; This part of the patch does not seem to be essential to claimed fix, right? -- Hannes I think it's important because it gives you speed and comfort, and because it is very easy to implement. -- -- Me he cansado de ver tanto windows 7 al final de cada correo, que voy a poner el mio.. Millones de personas no conocen ubuntu, millones de personas siguen sin abrir los ojos. (gratis, seguro y facil de usar) http://www.youtube.com/watch?v=_CMunYjqtvE http://vimeo.com/10518151 http://www.ubuntu.com/
Re: [CinCV] About title plugin
De: Raffaella Traniello raffaella.tranie...@gmail.com : On 02/01/11 20:56, Johannes Sixt wrote: On Sonntag, 2. Januar 2011, Raffaella Traniello wrote: In my Cinelerra (plain CinCV) I can add special characters from my Italian keyboard with no problems. (àèéìòù). So, what's the deal? Why does one party need a patch, the other doesn't? No idea. I just found it quite surprising. Do you use dead-keys to enter these characters, or do you have them using some Alt-key? I have a dedicated key for each of them on my Italian keyboard. No modifiers at all. On my french keyboard, I can input accentuated characters which have a dedicated key (àéèù) but not characters which use dead-keys (âäôö...). I can't use the numpad, tough. Pressing the numpad keys doesn't have any effect on the titler. I can't give any input to the titler using the numpad. Pressing the numpad keys doesn't have any effect at all on my system, not only in the titler but also in the whole program. Julien ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
[CinCV] About title plugin
This plugin work well. I can selecting a font , changing size, scrolling , shadow, and speed. It's very usefull. But i have 2 problems : when i write accents caractères not éàè but the spécial charactères obtain by 2 keys or more like ôöûü the caracters don't print correctly ?? And when i write too text in the box of plugin cinelerra crash. There are a limite!! ?? Can you help-me ? Thank JsT ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
http://www.youtube.com/watch?v=s0ocJu5zHno 2010/12/28 Tarot Jean-Sébastien ta...@unistra.fr This plugin work well. I can selecting a font , changing size, scrolling , shadow, and speed. It's very usefull. But i have 2 problems : when i write accents caractères not éàè but the spécial charactères obtain by 2 keys or more like ôöûü the caracters don't print correctly ?? And when i write too text in the box of plugin cinelerra crash. There are a limite!! ?? Can you help-me ? Thank JsT ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
Re: [CinCV] About title plugin
On Dienstag, 28. Dezember 2010, Tarot Jean-Sébastien wrote: This plugin work well. I can selecting a font , changing size, scrolling , shadow, and speed. It's very usefull. But i have 2 problems : when i write accents caractères not éàè but the spécial charactères obtain by 2 keys or more like ôöûü the caracters don't print correctly ?? In your video, you copy-pasted the text with accented characters. Does it not work with the others? Apart from that, it is a known limitation of Cinelerra. And when i write too text in the box of plugin cinelerra crash. There are a limite!! ?? Yes, there is a limit. It is 1023 characters. -- Hannes ___ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra