LibreOffice Module sd (master) 1
|
There is one bitmap for the normal state, one for a mouse over effect and one to show that a button has been pressed. More...
#include <PresenterBitmapContainer.hxx>
Public Types | |
enum | Mode { Normal , MouseOver , ButtonDown , Disabled , Mask } |
enum | TexturingMode { Once , Repeat , Stretch } |
Public Member Functions | |
BitmapDescriptor () | |
BitmapDescriptor (const std::shared_ptr< BitmapDescriptor > &rpDefault) | |
const css::uno::Reference< css::rendering::XBitmap > & | GetNormalBitmap () const |
css::uno::Reference< css::rendering::XBitmap > const & | GetBitmap (const Mode eMode) const |
void | SetBitmap (const Mode eMode, const css::uno::Reference< css::rendering::XBitmap > &rxBitmap) |
Public Attributes | |
sal_Int32 | mnWidth |
sal_Int32 | mnHeight |
sal_Int32 | mnXOffset |
sal_Int32 | mnYOffset |
sal_Int32 | mnXHotSpot |
sal_Int32 | mnYHotSpot |
css::util::Color | maReplacementColor |
TexturingMode | meHorizontalTexturingMode |
TexturingMode | meVerticalTexturingMode |
Private Attributes | |
css::uno::Reference< css::rendering::XBitmap > | mxNormalBitmap |
css::uno::Reference< css::rendering::XBitmap > | mxMouseOverBitmap |
css::uno::Reference< css::rendering::XBitmap > | mxButtonDownBitmap |
css::uno::Reference< css::rendering::XBitmap > | mxDisabledBitmap |
css::uno::Reference< css::rendering::XBitmap > | mxMaskBitmap |
There is one bitmap for the normal state, one for a mouse over effect and one to show that a button has been pressed.
Definition at line 47 of file PresenterBitmapContainer.hxx.
Enumerator | |
---|---|
Normal | |
MouseOver | |
ButtonDown | |
Disabled | |
Mask |
Definition at line 53 of file PresenterBitmapContainer.hxx.
Enumerator | |
---|---|
Once | |
Repeat | |
Stretch |
Definition at line 67 of file PresenterBitmapContainer.hxx.
sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::BitmapDescriptor | ( | ) |
Definition at line 280 of file PresenterBitmapContainer.cxx.
|
explicit |
css::uno::Reference< css::rendering::XBitmap > const & sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::GetBitmap | ( | const Mode | eMode | ) | const |
Definition at line 331 of file PresenterBitmapContainer.cxx.
References ButtonDown, Disabled, eMode, Mask, and Normal.
const css::uno::Reference< css::rendering::XBitmap > & sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::GetNormalBitmap | ( | ) | const |
Definition at line 325 of file PresenterBitmapContainer.cxx.
void sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::SetBitmap | ( | const Mode | eMode, |
const css::uno::Reference< css::rendering::XBitmap > & | rxBitmap | ||
) |
Definition at line 362 of file PresenterBitmapContainer.cxx.
References ButtonDown, Disabled, eMode, Mask, mnHeight, mnWidth, and Normal.
css::util::Color sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::maReplacementColor |
Definition at line 66 of file PresenterBitmapContainer.hxx.
TexturingMode sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::meHorizontalTexturingMode |
Definition at line 68 of file PresenterBitmapContainer.hxx.
TexturingMode sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::meVerticalTexturingMode |
Definition at line 69 of file PresenterBitmapContainer.hxx.
sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnHeight |
Definition at line 61 of file PresenterBitmapContainer.hxx.
sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnWidth |
Definition at line 60 of file PresenterBitmapContainer.hxx.
sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnXHotSpot |
Definition at line 64 of file PresenterBitmapContainer.hxx.
sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnXOffset |
Definition at line 62 of file PresenterBitmapContainer.hxx.
sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnYHotSpot |
Definition at line 65 of file PresenterBitmapContainer.hxx.
sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnYOffset |
Definition at line 63 of file PresenterBitmapContainer.hxx.
|
private |
Definition at line 74 of file PresenterBitmapContainer.hxx.
|
private |
Definition at line 75 of file PresenterBitmapContainer.hxx.
|
private |
Definition at line 76 of file PresenterBitmapContainer.hxx.
|
private |
Definition at line 73 of file PresenterBitmapContainer.hxx.
|
private |
Definition at line 72 of file PresenterBitmapContainer.hxx.