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 27 of file cbutton.hxx.

Constructor & Destructor Documentation

◆ ScDDComboBoxButton()

ScDDComboBoxButton::ScDDComboBoxButton ( OutputDevice pOutputDevice)

Definition at line 28 of file cbuttonw.cxx.

References pOut, and SetOptSizePixel().

◆ ~ScDDComboBoxButton()

ScDDComboBoxButton::~ScDDComboBoxButton ( )

Definition at line 34 of file cbuttonw.cxx.

Member Function Documentation

◆ Draw() [1/2]

void ScDDComboBoxButton::Draw ( )
inline

Definition at line 37 of file cbutton.hxx.

References aBtnPos, aBtnSize, and Draw().

Referenced by Draw().

◆ Draw() [2/2]

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

◆ GetPosPixel()

const Point & ScDDComboBoxButton::GetPosPixel ( ) const
inline

Definition at line 43 of file cbutton.hxx.

References aBtnPos.

Referenced by ScGridWindow::DrawButtons().

◆ GetSizePixel()

const Size & ScDDComboBoxButton::GetSizePixel ( ) const
inline

Definition at line 46 of file cbutton.hxx.

References aBtnSize.

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

◆ ImpDrawArrow()

void ScDDComboBoxButton::ImpDrawArrow ( const tools::Rectangle rRect)
private

◆ SetOptSizePixel()

void ScDDComboBoxButton::SetOptSizePixel ( )

Definition at line 43 of file cbuttonw.cxx.

References aBtnSize, pOut, Size::setWidth(), and Size::Width().

Referenced by lcl_DrawOneFrame(), and ScDDComboBoxButton().

◆ SetOutputDevice()

void ScDDComboBoxButton::SetOutputDevice ( OutputDevice pOutputDevice)

Definition at line 38 of file cbuttonw.cxx.

References pOut.

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

◆ SetPosPixel()

void ScDDComboBoxButton::SetPosPixel ( const Point rNewPos)
inline

Definition at line 42 of file cbutton.hxx.

References aBtnPos.

Referenced by ScGridWindow::DrawButtons().

◆ SetSizePixel()

void ScDDComboBoxButton::SetSizePixel ( const Size rNewSize)
inline

Definition at line 45 of file cbutton.hxx.

References aBtnSize.

Referenced by ScGridWindow::DrawButtons().

Member Data Documentation

◆ aBtnPos

Point ScDDComboBoxButton::aBtnPos
private

Definition at line 52 of file cbutton.hxx.

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

◆ aBtnSize

Size ScDDComboBoxButton::aBtnSize
private

Definition at line 53 of file cbutton.hxx.

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

◆ pOut

VclPtr<OutputDevice> ScDDComboBoxButton::pOut
private

Definition at line 51 of file cbutton.hxx.

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


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