|
librime 1.2
Rime Input Method Engine, the core library
|
#include <selector.h>


Public Types | |
| enum | TextOrientation { Horizontal = 0 , Vertical = 1 } |
| enum | CandidateListLayout { Stacked = 0 , Linear = 2 } |
| Public Types inherited from rime::Class< Processor, const Ticket & > | |
| using | Initializer |
| Public Types inherited from rime::KeyBindingProcessor< Selector, 4 > | |
| enum | FallbackOptions |
| typedef bool | Handler(Context *ctx) |
| using | HandlerPtr |
Public Member Functions | |
| Selector (const Ticket &ticket) | |
| ProcessResult | ProcessKeyEvent (const KeyEvent &key_event) override |
| bool | SelectCandidateAt (Context *ctx, int index) |
| Public Member Functions inherited from rime::Processor | |
| Processor (const Ticket &ticket) | |
| virtual | ~Processor ()=default |
| string | name_space () const |
| Public Member Functions inherited from rime::KeyBindingProcessor< Selector, 4 > | |
| KeyBindingProcessor (ActionDef *action_definitions) | |
| ProcessResult | ProcessKeyEvent (const KeyEvent &key_event, Context *ctx, int keymap_selector=0, int fallback_options=FallbackOptions::None) |
| void | LoadConfig (Config *config, const string §ion, int kemap_selector=0) |
Public Attributes | |
| Handler | PreviousCandidate |
| Handler | NextCandidate |
| Handler | PreviousPage |
| Handler | NextPage |
| Handler | Home |
| Handler | End |
Additional Inherited Members | |
| Static Public Member Functions inherited from rime::Class< Processor, const Ticket & > | |
| static Component * | Require (const string &name) |
| Static Public Attributes inherited from rime::KeyBindingProcessor< Selector, 4 > | |
| static const ActionDef | kActionNoop |
| Protected Member Functions inherited from rime::KeyBindingProcessor< Selector, 4 > | |
| Keymap & | get_keymap (int keymap_selector=0) |
| bool | Accept (const KeyEvent &key_event, Context *ctx, Keymap &keymap) |
| Protected Attributes inherited from rime::Processor | |
| Engine * | engine_ |
| string | name_space_ |
|
explicit |
|
overridevirtual |
Reimplemented from rime::Processor.
| bool rime::Selector::SelectCandidateAt | ( | Context * | ctx, |
| int | index ) |
| bool rime::Selector::End |
| bool rime::Selector::Home |
| bool rime::Selector::NextCandidate |
| bool rime::Selector::NextPage |
| bool rime::Selector::PreviousCandidate |
| bool rime::Selector::PreviousPage |