diff options
author | Peng Wu <alexepico@gmail.com> | 2011-09-22 14:35:40 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-22 12:23:12 +0800 |
commit | 204a6f858e9a2e6577f78d2368474d048b643098 (patch) | |
tree | 9e3a8a7de8d05f075d036ed08ddf6fc2ea7933f1 /src/PYPBopomofoEditor.h | |
parent | cb25a0b9ee36d12d09ef9a0644888bfd2066252a (diff) | |
download | ibus-libpinyin-204a6f858e9a2e6577f78d2368474d048b643098.tar.gz ibus-libpinyin-204a6f858e9a2e6577f78d2368474d048b643098.tar.xz ibus-libpinyin-204a6f858e9a2e6577f78d2368474d048b643098.zip |
begin to write bopomofo editor
Diffstat (limited to 'src/PYPBopomofoEditor.h')
-rw-r--r-- | src/PYPBopomofoEditor.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/PYPBopomofoEditor.h b/src/PYPBopomofoEditor.h index f78375f..9b6b4b6 100644 --- a/src/PYPBopomofoEditor.h +++ b/src/PYPBopomofoEditor.h @@ -46,31 +46,21 @@ protected: gboolean processBopomofo (guint keyval, guint keycode, guint modifiers); gboolean processKeyEvent (guint keyval, guint keycode, guint modifiers); + + virtual void updateAuxiliaryText (); + virtual void updatePinyin (void); + #if 0 - void updateAuxiliaryText (); void updateLookupTable (); void updatePreeditText (); +#endif - void update (); void commit (); -#endif void reset (); gboolean insert (gint ch); gint keyvalToBopomofo (gint ch); - gboolean removeCharBefore (void); - gboolean removeCharAfter (void); - gboolean removeWordBefore (void); - gboolean removeWordAfter (void); - - gboolean moveCursorLeft (void); - gboolean moveCursorRight (void); - gboolean moveCursorLeftByWord (void); - gboolean moveCursorRightByWord (void); - gboolean moveCursorToBegin (void); - gboolean moveCursorToEnd (void); - }; }; |