LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
UserDrawEvent Class Reference

Event to pass information for UserDraw() handling eg. in comboboxes. More...

#include <event.hxx>

Collaboration diagram for UserDrawEvent:
[legend]

Public Member Functions

 UserDrawEvent (vcl::RenderContext *pRenderContext, const tools::Rectangle &rOutRect, sal_uInt16 nId, bool bSelected=false)
 
vcl::RenderContextGetRenderContext () const
 
const tools::RectangleGetRect () const
 
sal_uInt16 GetItemId () const
 
bool IsSelected () const
 

Private Attributes

VclPtr< vcl::RenderContextmpRenderContext
 RenderContext to which we should draw - can be a VirtualDevice or anything. More...
 
tools::Rectangle maOutRect
 
sal_uInt16 mnItemId
 
bool mbSelected
 

Detailed Description

Event to pass information for UserDraw() handling eg. in comboboxes.

Definition at line 221 of file event.hxx.

Constructor & Destructor Documentation

◆ UserDrawEvent()

UserDrawEvent::UserDrawEvent ( vcl::RenderContext pRenderContext,
const tools::Rectangle rOutRect,
sal_uInt16  nId,
bool  bSelected = false 
)
inline

Definition at line 232 of file event.hxx.

References nId.

Member Function Documentation

◆ GetItemId()

sal_uInt16 UserDrawEvent::GetItemId ( ) const
inline

◆ GetRect()

const tools::Rectangle & UserDrawEvent::GetRect ( ) const
inline

◆ GetRenderContext()

vcl::RenderContext * UserDrawEvent::GetRenderContext ( ) const
inline

◆ IsSelected()

bool UserDrawEvent::IsSelected ( ) const
inline

Member Data Documentation

◆ maOutRect

tools::Rectangle UserDrawEvent::maOutRect
private

Definition at line 227 of file event.hxx.

◆ mbSelected

bool UserDrawEvent::mbSelected
private

Definition at line 229 of file event.hxx.

◆ mnItemId

sal_uInt16 UserDrawEvent::mnItemId
private

Definition at line 228 of file event.hxx.

◆ mpRenderContext

VclPtr<vcl::RenderContext> UserDrawEvent::mpRenderContext
private

RenderContext to which we should draw - can be a VirtualDevice or anything.

Definition at line 225 of file event.hxx.


The documentation for this class was generated from the following file: