LibreOffice Module cui (master)  1
Public Member Functions | Private Attributes | List of all members
cui::ColorSliderControl Class Reference
Inheritance diagram for cui::ColorSliderControl:
[legend]
Collaboration diagram for cui::ColorSliderControl:
[legend]

Public Member Functions

 ColorSliderControl ()
 
virtual ~ColorSliderControl () override
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &) override
 
virtual void Resize () override
 
void UpdateBitmap ()
 
void ChangePosition (long nY)
 
void Modify ()
 
void SetValue (const Color &rColor, ColorMode eMode, double dValue)
 
double GetValue () const
 
void SetModifyHdl (const Link< ColorSliderControl &, void > &rLink)
 
sal_Int16 GetLevel () const
 
- Public Member Functions inherited from weld::CustomWidgetController
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual bool ContextMenu (const CommandEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void GrabFocus ()
 
bool HasFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
int GetTextHeight () const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Private Attributes

Link< ColorSliderControl &, voidmaModifyHdl
 
Color maColor
 
ColorMode meMode
 
VclPtr< VirtualDevicemxBitmap
 
sal_Int16 mnLevel
 
double mdValue
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 

Detailed Description

Definition at line 505 of file colorpicker.cxx.

Constructor & Destructor Documentation

cui::ColorSliderControl::ColorSliderControl ( )

Definition at line 539 of file colorpicker.cxx.

cui::ColorSliderControl::~ColorSliderControl ( )
overridevirtual

Definition at line 552 of file colorpicker.cxx.

References VclPtr< VirtualDevice >::disposeAndClear(), and mxBitmap.

Member Function Documentation

void cui::ColorSliderControl::ChangePosition ( long  nY)
sal_Int16 cui::ColorSliderControl::GetLevel ( ) const
inline

Definition at line 528 of file colorpicker.cxx.

References mnLevel.

Referenced by cui::ColorPickerDialog::update_color().

double cui::ColorSliderControl::GetValue ( ) const
inline

Definition at line 524 of file colorpicker.cxx.

References mdValue.

void cui::ColorSliderControl::Modify ( )

Definition at line 693 of file colorpicker.cxx.

References maModifyHdl.

Referenced by MouseButtonDown(), and MouseMove().

bool cui::ColorSliderControl::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual
bool cui::ColorSliderControl::MouseButtonUp ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 665 of file colorpicker.cxx.

References weld::CustomWidgetController::ReleaseMouse().

bool cui::ColorSliderControl::MouseMove ( const MouseEvent rMEvt)
overridevirtual
void cui::ColorSliderControl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle  
)
overridevirtual
void cui::ColorSliderControl::Resize ( )
overridevirtual

Reimplemented from weld::CustomWidgetController.

Definition at line 687 of file colorpicker.cxx.

References UpdateBitmap().

void cui::ColorSliderControl::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overridevirtual
void cui::ColorSliderControl::SetModifyHdl ( const Link< ColorSliderControl &, void > &  rLink)
inline

Definition at line 526 of file colorpicker.cxx.

References maModifyHdl.

Referenced by cui::ColorPickerDialog::ColorPickerDialog().

void cui::ColorSliderControl::SetValue ( const Color rColor,
ColorMode  eMode,
double  dValue 
)
void cui::ColorSliderControl::UpdateBitmap ( )

Member Data Documentation

Color cui::ColorSliderControl::maColor
private

Definition at line 532 of file colorpicker.cxx.

Referenced by SetValue(), and UpdateBitmap().

Link<ColorSliderControl&,void> cui::ColorSliderControl::maModifyHdl
private

Definition at line 531 of file colorpicker.cxx.

Referenced by Modify(), and SetModifyHdl().

double cui::ColorSliderControl::mdValue
private

Definition at line 536 of file colorpicker.cxx.

Referenced by ChangePosition(), GetValue(), and SetValue().

ColorMode cui::ColorSliderControl::meMode
private

Definition at line 533 of file colorpicker.cxx.

Referenced by SetValue(), and UpdateBitmap().

sal_Int16 cui::ColorSliderControl::mnLevel
private

Definition at line 535 of file colorpicker.cxx.

Referenced by ChangePosition(), GetLevel(), and SetValue().

VclPtr<VirtualDevice> cui::ColorSliderControl::mxBitmap
private

Definition at line 534 of file colorpicker.cxx.

Referenced by Paint(), UpdateBitmap(), and ~ColorSliderControl().


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