Lines Matching refs:rEvent
97 void lcl_initKeyEvent( KeyEvent& rEvent, const ::KeyEvent& rEvt ) in lcl_initKeyEvent() argument
99 lcl_initModifiers( rEvent, rEvt.GetKeyCode() ); in lcl_initKeyEvent()
101 rEvent.KeyCode = rEvt.GetKeyCode().GetCode(); in lcl_initKeyEvent()
102 rEvent.KeyChar = rEvt.GetCharCode(); in lcl_initKeyEvent()
103 rEvent.KeyFunc = sal::static_int_cast< sal_Int16 >( rEvt.GetKeyCode().GetFunction()); in lcl_initKeyEvent()
106 void lcl_initMouseEvent( MouseEvent& rEvent, const ::MouseEvent& rEvt ) in lcl_initMouseEvent() argument
108 lcl_initModifiers( rEvent, rEvt ); in lcl_initMouseEvent()
110 rEvent.Buttons = 0; in lcl_initMouseEvent()
112 rEvent.Buttons |= MouseButton::LEFT; in lcl_initMouseEvent()
114 rEvent.Buttons |= MouseButton::RIGHT; in lcl_initMouseEvent()
116 rEvent.Buttons |= MouseButton::MIDDLE; in lcl_initMouseEvent()
118 rEvent.X = rEvt.GetPosPixel().X(); in lcl_initMouseEvent()
119 rEvent.Y = rEvt.GetPosPixel().Y(); in lcl_initMouseEvent()
120 rEvent.ClickCount = rEvt.GetClicks(); in lcl_initMouseEvent()
121 rEvent.PopupTrigger = sal_False; in lcl_initMouseEvent()