LibreOffice Module sdext (master)  1
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
sdext::presenter::PresenterBitmapContainer::BitmapDescriptor Class Reference

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
 

Detailed Description

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.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::BitmapDescriptor ( )

Definition at line 282 of file PresenterBitmapContainer.cxx.

References mnHeight, and mnWidth.

sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::BitmapDescriptor ( const std::shared_ptr< BitmapDescriptor > &  rpDefault)
explicit

Member Function Documentation

css::uno::Reference< css::rendering::XBitmap > const & sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::GetBitmap ( const Mode  eMode) const

Definition at line 343 of file PresenterBitmapContainer.cxx.

References ButtonDown, Disabled, and Normal.

const css::uno::Reference< css::rendering::XBitmap > & sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::GetNormalBitmap ( ) const

Definition at line 337 of file PresenterBitmapContainer.cxx.

void sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::SetBitmap ( const Mode  eMode,
const css::uno::Reference< css::rendering::XBitmap > &  rxBitmap 
)

Definition at line 374 of file PresenterBitmapContainer.cxx.

References ButtonDown, Disabled, mnHeight, mnWidth, and Normal.

Member Data Documentation

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.

css::uno::Reference<css::rendering::XBitmap> sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mxButtonDownBitmap
private

Definition at line 74 of file PresenterBitmapContainer.hxx.

css::uno::Reference<css::rendering::XBitmap> sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mxDisabledBitmap
private

Definition at line 75 of file PresenterBitmapContainer.hxx.

css::uno::Reference<css::rendering::XBitmap> sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mxMaskBitmap
private

Definition at line 76 of file PresenterBitmapContainer.hxx.

css::uno::Reference<css::rendering::XBitmap> sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mxMouseOverBitmap
private

Definition at line 73 of file PresenterBitmapContainer.hxx.

css::uno::Reference<css::rendering::XBitmap> sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mxNormalBitmap
private

Definition at line 72 of file PresenterBitmapContainer.hxx.


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