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, sal_uInt16 nStyle=0)
 
vcl::WindowGetWindow () const
 
vcl::RenderContextGetRenderContext () const
 
const tools::RectangleGetRect () const
 
sal_uInt16 GetItemId () const
 
sal_uInt16 GetStyle () 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 const maOutRect
 
sal_uInt16 const mnItemId
 
sal_uInt16 const mnStyle
 

Detailed Description

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

Definition at line 205 of file event.hxx.

Constructor & Destructor Documentation

UserDrawEvent::UserDrawEvent ( vcl::Window pWindow,
vcl::RenderContext pRenderContext,
const tools::Rectangle rOutRect,
sal_uInt16  nId,
sal_uInt16  nStyle = 0 
)
inline

Definition at line 229 of file event.hxx.

References mpWindow.

Member Function Documentation

sal_uInt16 UserDrawEvent::GetItemId ( ) const
inline

Definition at line 225 of file event.hxx.

Referenced by ComboBox::DrawEntry(), and ListBox::DrawEntry().

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

Definition at line 224 of file event.hxx.

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

Definition at line 223 of file event.hxx.

Referenced by ComboBox::DrawEntry(), and ListBox::DrawEntry().

sal_uInt16 UserDrawEvent::GetStyle ( ) const
inline

Definition at line 226 of file event.hxx.

vcl::Window* UserDrawEvent::GetWindow ( ) const
inline

Definition at line 222 of file event.hxx.

Referenced by ComboBox::DrawEntry(), and ListBox::DrawEntry().

Member Data Documentation

tools::Rectangle const UserDrawEvent::maOutRect
private

Definition at line 214 of file event.hxx.

sal_uInt16 const UserDrawEvent::mnItemId
private

Definition at line 215 of file event.hxx.

sal_uInt16 const UserDrawEvent::mnStyle
private

Definition at line 216 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 212 of file event.hxx.

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

Window that owns the user draw.

Definition at line 209 of file event.hxx.


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