LibreOffice Module sc (master) 1
|
#include <cbutton.hxx>
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 Point & | GetPosPixel () const |
void | SetSizePixel (const Size &rNewSize) |
const Size & | GetSizePixel () const |
Private Member Functions | |
void | ImpDrawArrow (const tools::Rectangle &rRect) |
Private Attributes | |
VclPtr< OutputDevice > | pOut |
Point | aBtnPos |
Size | aBtnSize |
Definition at line 27 of file cbutton.hxx.
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.
|
inline |
Definition at line 49 of file cbuttonw.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Center(), DecorationView::DrawButton(), tools::Rectangle::GetSize(), ImpDrawArrow(), comphelper::LibreOfficeKit::isActive(), Size::IsEmpty(), pOut, tools::Rectangle::SetBottom(), tools::Rectangle::SetTop(), Size::Width(), and Point::Y().
Referenced by ScGridWindow::DrawButtons(), and lcl_DrawOneFrame().
|
inline |
Definition at line 43 of file cbutton.hxx.
References aBtnPos.
Referenced by ScGridWindow::DrawButtons().
|
inline |
Definition at line 46 of file cbutton.hxx.
References aBtnSize.
Referenced by ScGridWindow::DrawButtons(), ScGridWindow::GetListValButtonRect(), and lcl_DrawOneFrame().
|
private |
Definition at line 96 of file cbuttonw.cxx.
References Point::AdjustX(), Point::AdjustY(), tools::Rectangle::Center(), StyleSettings::GetButtonTextColor(), Application::GetSettings(), tools::Rectangle::GetSize(), AllSettings::GetStyleSettings(), Size::Height(), pOut, tools::Rectangle::SetBottom(), Size::setHeight(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Size::setWidth(), Size::Width(), Point::X(), and Point::Y().
Referenced by Draw().
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().
void ScDDComboBoxButton::SetOutputDevice | ( | OutputDevice * | pOutputDevice | ) |
Definition at line 38 of file cbuttonw.cxx.
References pOut.
Referenced by ScGridWindow::dispose(), and ScGridWindow::DrawButtons().
|
inline |
Definition at line 42 of file cbutton.hxx.
References aBtnPos.
Referenced by ScGridWindow::DrawButtons().
|
inline |
Definition at line 45 of file cbutton.hxx.
References aBtnSize.
Referenced by ScGridWindow::DrawButtons().
|
private |
Definition at line 52 of file cbutton.hxx.
Referenced by Draw(), GetPosPixel(), and SetPosPixel().
|
private |
Definition at line 53 of file cbutton.hxx.
Referenced by Draw(), GetSizePixel(), SetOptSizePixel(), and SetSizePixel().
|
private |
Definition at line 51 of file cbutton.hxx.
Referenced by Draw(), ImpDrawArrow(), SetOptSizePixel(), and SetOutputDevice().