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::Window *pWindow, vcl::RenderContext *pRenderContext, const tools::Rectangle &rOutRect, sal_uInt16 nId, bool bSelected=false)
 
vcl::WindowGetWindow () const
 
vcl::RenderContextGetRenderContext () const
 
const tools::RectangleGetRect () const
 
sal_uInt16 GetItemId () const
 
bool IsSelected () const
 

Private Attributes

VclPtr< vcl::WindowmpWindow
 Window that owns the user draw. More...
 
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 218 of file event.hxx.

Constructor & Destructor Documentation

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

Definition at line 232 of file event.hxx.

Member Function Documentation

sal_uInt16 UserDrawEvent::GetItemId ( ) const
inline
const tools::Rectangle& UserDrawEvent::GetRect ( ) const
inline
vcl::RenderContext* UserDrawEvent::GetRenderContext ( ) const
inline
vcl::Window* UserDrawEvent::GetWindow ( ) const
inline
bool UserDrawEvent::IsSelected ( ) const
inline

Member Data Documentation

tools::Rectangle UserDrawEvent::maOutRect
private

Definition at line 227 of file event.hxx.

bool UserDrawEvent::mbSelected
private

Definition at line 229 of file event.hxx.

sal_uInt16 UserDrawEvent::mnItemId
private

Definition at line 228 of file event.hxx.

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.

VclPtr<vcl::Window> UserDrawEvent::mpWindow
private

Window that owns the user draw.

Definition at line 222 of file event.hxx.


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