mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
refactor(core): rename fields to start with underscore
Test-bot: skip
This commit is contained in:
parent
d8a5f694da
commit
2bd6cfd735
2 changed files with 10 additions and 10 deletions
|
|
@ -532,10 +532,10 @@ ldml_event_state::ldml_event_state(
|
|||
uint8_t i,
|
||||
uint16_t e) {
|
||||
this->state = s;
|
||||
this->vk = v;
|
||||
this->modifier_state = m;
|
||||
this->is_key_down = i;
|
||||
this->event_flags = e;
|
||||
this->_vk = v;
|
||||
this->_modifier_state = m;
|
||||
this->_is_key_down = i;
|
||||
this->_event_flags = e;
|
||||
|
||||
actions.persist_options = new km_core_option_item[1];
|
||||
actions.persist_options[0] = NULL_OPTIONS[0];
|
||||
|
|
|
|||
|
|
@ -178,10 +178,10 @@ public:
|
|||
size_t context_to_string(std::u32string &str, bool include_markers = true);
|
||||
|
||||
private:
|
||||
km_core_virtual_key vk;
|
||||
uint16_t modifier_state;
|
||||
uint8_t is_key_down;
|
||||
uint16_t event_flags;
|
||||
km_core_virtual_key _vk;
|
||||
uint16_t _modifier_state;
|
||||
uint8_t _is_key_down;
|
||||
uint16_t _event_flags;
|
||||
km_core_state *state;
|
||||
|
||||
// our in-flight action struct.
|
||||
|
|
@ -194,12 +194,12 @@ public:
|
|||
// implementation
|
||||
km_core_virtual_key
|
||||
ldml_event_state::get_vk() const {
|
||||
return vk;
|
||||
return _vk;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
ldml_event_state::get_modifier_state() const {
|
||||
return modifier_state;
|
||||
return _modifier_state;
|
||||
}
|
||||
|
||||
} // namespace core
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue