LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScDDComboBoxButton Class Referencefinal

#include <cbutton.hxx>

Collaboration diagram for ScDDComboBoxButton:
[legend]

Public Member Functions

 ScDDComboBoxButton (OutputDevice *pOutputDevice)
 
 ~ScDDComboBoxButton ()
 
void SetOutputDevice (OutputDevice *pOutputDevice)
 
void Draw (const Point &rAt, const Size &rSize)
 
void Draw ()
 
void SetOptSizePixel ()
 
void SetPosPixel (const Point &rNewPos)
 
const PointGetPosPixel () const
 
void SetSizePixel (const Size &rNewSize)
 
const SizeGetSizePixel () const
 

Private Member Functions

void ImpDrawArrow (const tools::Rectangle &rRect)
 

Private Attributes

VclPtr< OutputDevicepOut
 
Point aBtnPos
 
Size aBtnSize
 

Detailed Description

Definition at line 28 of file cbutton.hxx.

Constructor & Destructor Documentation

ScDDComboBoxButton::ScDDComboBoxButton ( OutputDevice pOutputDevice)

Definition at line 28 of file cbuttonw.cxx.

References pOut, and SetOptSizePixel().

ScDDComboBoxButton::~ScDDComboBoxButton ( )

Definition at line 34 of file cbuttonw.cxx.

Member Function Documentation

void ScDDComboBoxButton::Draw ( const Point rAt,
const Size rSize 
)
void ScDDComboBoxButton::Draw ( )
inline

Definition at line 38 of file cbutton.hxx.

References aBtnPos, and aBtnSize.

const Point& ScDDComboBoxButton::GetPosPixel ( ) const
inline

Definition at line 44 of file cbutton.hxx.

References aBtnPos, and Point.

Referenced by ScGridWindow::DrawButtons().

const Size& ScDDComboBoxButton::GetSizePixel ( ) const
inline

Definition at line 47 of file cbutton.hxx.

References aBtnSize.

Referenced by ScGridWindow::DrawButtons(), ScGridWindow::GetListValButtonRect(), and lcl_DrawOneFrame().

void ScDDComboBoxButton::ImpDrawArrow ( const tools::Rectangle rRect)
private
void ScDDComboBoxButton::SetOptSizePixel ( )
void ScDDComboBoxButton::SetOutputDevice ( OutputDevice pOutputDevice)

Definition at line 38 of file cbuttonw.cxx.

References pOut.

Referenced by ScGridWindow::dispose(), and ScGridWindow::DrawButtons().

void ScDDComboBoxButton::SetPosPixel ( const Point rNewPos)
inline

Definition at line 43 of file cbutton.hxx.

References aBtnPos.

Referenced by ScGridWindow::DrawButtons().

void ScDDComboBoxButton::SetSizePixel ( const Size rNewSize)
inline

Definition at line 46 of file cbutton.hxx.

References aBtnSize.

Referenced by ScGridWindow::DrawButtons().

Member Data Documentation

Point ScDDComboBoxButton::aBtnPos
private

Definition at line 53 of file cbutton.hxx.

Referenced by Draw(), GetPosPixel(), and SetPosPixel().

Size ScDDComboBoxButton::aBtnSize
private

Definition at line 54 of file cbutton.hxx.

Referenced by Draw(), GetSizePixel(), SetOptSizePixel(), and SetSizePixel().

VclPtr<OutputDevice> ScDDComboBoxButton::pOut
private

Definition at line 52 of file cbutton.hxx.

Referenced by Draw(), ImpDrawArrow(), SetOptSizePixel(), and SetOutputDevice().


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