annotate plugins/crazychat/filter.h @ 12711:145f76e74a9f
[gaim-migrate @ 15055]
Fix SF Bug #1384698 - "Last word in text auto replace not changed"
This uses astro96's idea:
'when the user types something like "Hi how r u" they will see this
(where the "^" is the cursor):
"Hi how are u^"
When they hit enter to send the message, instead of sending
the message, the last word would be replaced:
[Enter]
"Hi how are you^"
and then if they hit enter again it would send the message.'
I code a preference for this, but have #if 0'ed it before committing. I don't think we need a preference to disable this. If it turns out I'm wrong, the code is right there to use.
committer: Tailor Script <tailor@pidgin.im>
author |
Richard Laager <rlaager@wiktel.com> |
date |
Wed, 04 Jan 2006 03:01:32 +0000 |
parents |
ed017b9c532d |
children |
|
rev |
line source |
11218
|
1 #ifndef __FILTER_H__
|
|
2 #define __FILTER_H__
|
|
3
|
|
4 struct cc_features;
|
|
5
|
|
6 typedef struct filter_bank {
|
|
7 float head_size[10];
|
|
8 float head_z_rot[10];
|
|
9 float head_y_rot[10];
|
|
10 float mouth_open[10];
|
|
11 float xfilt[10];
|
|
12 float yfilt[10];
|
|
13 } filter_bank;
|
|
14
|
|
15 filter_bank* Filter_Initialize (void);
|
|
16 void Filter_Destroy (filter_bank *f);
|
|
17 void filter(struct cc_features *instance, filter_bank *f);
|
|
18
|
|
19 #endif /* __FILTER_H__ */
|