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

◆ Mode

Enumerator
Normal 
MouseOver 
ButtonDown 
Disabled 
Mask 

Definition at line 53 of file PresenterBitmapContainer.hxx.

◆ TexturingMode

Enumerator
Once 
Repeat 
Stretch 

Definition at line 67 of file PresenterBitmapContainer.hxx.

Constructor & Destructor Documentation

◆ BitmapDescriptor() [1/2]

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

Definition at line 281 of file PresenterBitmapContainer.cxx.

References mnHeight, and mnWidth.

◆ BitmapDescriptor() [2/2]

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

Member Function Documentation

◆ GetBitmap()

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

Definition at line 332 of file PresenterBitmapContainer.cxx.

References ButtonDown, Disabled, eMode, Mask, and Normal.

◆ GetNormalBitmap()

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

Definition at line 326 of file PresenterBitmapContainer.cxx.

◆ SetBitmap()

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

Definition at line 363 of file PresenterBitmapContainer.cxx.

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

Member Data Documentation

◆ maReplacementColor

css::util::Color sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::maReplacementColor

Definition at line 66 of file PresenterBitmapContainer.hxx.

◆ meHorizontalTexturingMode

TexturingMode sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::meHorizontalTexturingMode

Definition at line 68 of file PresenterBitmapContainer.hxx.

◆ meVerticalTexturingMode

TexturingMode sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::meVerticalTexturingMode

Definition at line 69 of file PresenterBitmapContainer.hxx.

◆ mnHeight

sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnHeight

Definition at line 61 of file PresenterBitmapContainer.hxx.

◆ mnWidth

sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnWidth

Definition at line 60 of file PresenterBitmapContainer.hxx.

◆ mnXHotSpot

sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnXHotSpot

Definition at line 64 of file PresenterBitmapContainer.hxx.

◆ mnXOffset

sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnXOffset

Definition at line 62 of file PresenterBitmapContainer.hxx.

◆ mnYHotSpot

sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnYHotSpot

Definition at line 65 of file PresenterBitmapContainer.hxx.

◆ mnYOffset

sal_Int32 sdext::presenter::PresenterBitmapContainer::BitmapDescriptor::mnYOffset

Definition at line 63 of file PresenterBitmapContainer.hxx.

◆ mxButtonDownBitmap

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

Definition at line 74 of file PresenterBitmapContainer.hxx.

◆ mxDisabledBitmap

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

Definition at line 75 of file PresenterBitmapContainer.hxx.

◆ mxMaskBitmap

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

Definition at line 76 of file PresenterBitmapContainer.hxx.

◆ mxMouseOverBitmap

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

Definition at line 73 of file PresenterBitmapContainer.hxx.

◆ mxNormalBitmap

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: