20 #ifndef INCLUDED_VCL_COMMANDEVENT_HXX
21 #define INCLUDED_VCL_COMMANDEVENT_HXX
29 #include <rtl/ustring.hxx>
61 #define EXTTEXTINPUT_CURSOR_INVISIBLE (sal_uInt16(0x0001))
62 #define EXTTEXTINPUT_CURSOR_OVERWRITE (sal_uInt16(0x0002))
76 bool bMEvt =
false,
const void* pCmdData =
nullptr );
107 sal_Int32 nCursorPos,
108 sal_uInt16 nCursorFlags,
113 const OUString&
GetText()
const {
return maText; }
135 #define COMMAND_WHEEL_PAGESCROLL (sal_uLong(0xFFFFFFFF))
153 bool bHorz,
bool bDeltaIsPixel =
false );
168 {
return ((mnCode &
KEY_MOD1) != 0); }
170 {
return ((mnCode &
KEY_MOD2) != 0); }
213 : m_nDialogId( nDialogId )
250 : m_nMediaId(nMediaId)
251 , m_bPassThroughToOS(true)
281 : mnVelocityX(nVelocityX)
303 double getX()
const {
return mnX; }
304 double getY()
const {
return mnY; }
320 , meEventType(eEventType)
321 , meOrientation(eOrientation)
351 #endif // INCLUDED_VCL_COMMANDEVENT_HXX
constexpr sal_uInt16 KEY_MOD1
PanningOrientation const meOrientation
#define EXTTEXTINPUT_CURSOR_INVISIBLE
CommandSelectionChangeData(sal_uLong nStart, sal_uLong nEnd)
#define EXTTEXTINPUT_CURSOR_OVERWRITE
GestureEventType const meEventType
bool IsOnlyCursorChanged() const
bool IsMouseEvent() const
sal_uLong GetStart() const
bool IsRightShift() const
void * GetEventData() const
bool IsCursorOverwrite() const
CommandModKeyData(ModKeyFlags nCode, bool bDown)
CommandGestureData(double fX, double fY, GestureEventType eEventType, double fOffset, PanningOrientation eOrientation)
bool IsDeltaPixel() const
double GetScrollLines() const
const OUString & GetText() const
std::unique_ptr< ExtTextInputAttr[]> mpTextAttr
tools::Long GetNotchDelta() const
CommandWheelMode GetMode() const
CommandWheelMode mnWheelMode
CommandSwipeData(double nVelocityX)
CommandEventId GetCommand() const
sal_uInt16 GetModifier() const
CommandLongPressData(double nX, double nY)
constexpr sal_uInt16 KEY_MOD2
const Point & GetMousePosPixel() const
bool IsCursorVisible() const
sal_Int32 GetCursorPos() const
ShowDialogId GetDialogId() const
tools::Long GetDelta() const
CommandDialogData(ShowDialogId nDialogId)
constexpr sal_uInt16 KEY_SHIFT
double getVelocityX() const
const ExtTextInputAttr * GetTextAttr() const