20#ifndef INCLUDED_VCL_EVENT_HXX 
   21#define INCLUDED_VCL_EVENT_HXX 
   54                              sal_uInt16 nRepeat = 0 );
 
   70                           sal_uInt16 nRepeat ) :
 
  102#define MOUSE_LEFT              (sal_uInt16(0x0001)) 
  103#define MOUSE_MIDDLE            (sal_uInt16(0x0002)) 
  104#define MOUSE_RIGHT             (sal_uInt16(0x0004)) 
  121                                sal_uInt16 nModifier = 0 );
 
  130        maLogicPosition = aLogicPosition;
 
  135        return maLogicPosition;
 
  161                        { 
return ((mnCode & 
KEY_MOD1) != 0); }
 
  163                        { 
return ((mnCode & 
KEY_MOD2) != 0); }
 
  165                        { 
return ((mnCode & 
KEY_MOD3) != 0); }
 
  177                               sal_uInt16 nButtons, sal_uInt16 nModifier ) :
 
  182    mnCode      = nButtons | nModifier;
 
  234        : mpRenderContext(pRenderContext)
 
  235        , maOutRect( rOutRect )
 
  237        , mbSelected(bSelected)
 
  298                                         const void* pEvent = 
nullptr );
 
  311    const KeyEvent*         GetKeyEvent() 
const;
 
  359                                              const void* pData = 
nullptr,
 
DataChangedEventType GetType() const
 
DataChangedEvent(DataChangedEventType nType, const void *pData=nullptr, AllSettingsFlags nFlags=AllSettingsFlags::NONE)
 
AllSettingsFlags GetFlags() const
 
DataChangedEventType mnType
 
const AllSettings * GetOldSettings() const
 
HelpEvent(const Point &rMousePos, HelpEventMode nHelpMode)
 
void SetKeyboardActivated(bool bKeyboard)
 
HelpEventMode GetMode() const
 
bool KeyboardActivated() const
 
const Point & GetMousePosPixel() const
 
sal_Unicode GetCharCode() const
 
const vcl::KeyCode & GetKeyCode() const
 
sal_uInt16 GetRepeat() const
 
bool IsEnterWindow() const
 
MouseEventModifiers GetMode() const
 
MouseEventModifiers mnMode
 
std::optional< Point > maLogicPosition
 
const std::optional< Point > & getLogicPosition() const
 
bool IsLeaveWindow() const
 
sal_uInt16 GetModifier() const
 
sal_uInt16 GetClicks() const
 
sal_uInt16 GetButtons() const
 
const Point & GetPosPixel() const
 
bool IsModifierChanged() const
 
void setLogicPosition(Point aLogicPosition)
 
const KeyEvent * GetKeyEvent() const
 
vcl::Window * GetWindow() const
 
const CommandEvent * GetCommandEvent() const
 
const MouseEvent * GetMouseEvent() const
 
NotifyEvent(const NotifyEvent &)=delete
 
NotifyEventType mnEventType
 
NotifyEvent & operator=(NotifyEvent &&)=delete
 
NotifyEvent & operator=(const NotifyEvent &)=delete
 
NotifyEvent(NotifyEvent &&)=delete
 
VclPtr< vcl::Window > mpWindow
 
NotifyEventType GetType() const
 
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
 
bool IsTrackingEnded() const
 
TrackingEvent(const MouseEvent &, TrackingEventFlags nTrackFlags=TrackingEventFlags::NONE)
 
TrackingEventFlags mnFlags
 
bool IsTrackingRepeat() const
 
bool IsTrackingCanceled() const
 
const MouseEvent & GetMouseEvent() const
 
Event to pass information for UserDraw() handling eg. in comboboxes.
 
tools::Rectangle maOutRect
 
UserDrawEvent(vcl::RenderContext *pRenderContext, const tools::Rectangle &rOutRect, sal_uInt16 nId, bool bSelected=false)
 
vcl::RenderContext * GetRenderContext() const
 
const tools::Rectangle & GetRect() const
 
VclPtr< vcl::RenderContext > mpRenderContext
RenderContext to which we should draw - can be a VirtualDevice or anything.
 
sal_uInt16 GetItemId() const
 
A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for refer...
 
@ LeftToRight_TopToBottom
 
@ TopToBottom_RightToLeft
 
@ RightToLeft_TopToBottom
 
@ BottomToTop_LeftToRight
 
constexpr sal_uInt16 KEY_MOD2
 
constexpr sal_uInt16 KEY_MOD1
 
constexpr sal_uInt16 KEY_MOD3
 
constexpr sal_uInt16 KEY_SHIFT
 
std::unique_ptr< sal_Int32[]> pData
 
VclPtr< vcl::Window > mpWindow