bWidgets
Core widget toolkit designed for Blender
bWidgets::bwScrollViewHandler Class Reference
+ Inheritance diagram for bWidgets::bwScrollViewHandler:
+ Collaboration diagram for bWidgets::bwScrollViewHandler:

Public Member Functions

 bwScrollViewHandler (bwScrollView &scrollview)
 
 ~bwScrollViewHandler ()=default
 
void onMouseMove (bwEvent &) override
 
void onMouseEnter (bwEvent &) override
 
void onMouseLeave (bwEvent &) override
 
void onMousePress (bwMouseButtonEvent &event) override
 
void onMouseRelease (bwMouseButtonEvent &event) override
 
void onMouseClick (bwMouseButtonEvent &event) override
 
void onMouseDrag (bwMouseButtonDragEvent &event) override
 
void onMouseWheel (bwMouseWheelEvent &event) override
 
void onScrollbarMouseEnter (bwEvent &event) const
 
void onScrollbarMouseLeave (bwEvent &event) const
 
auto isEventInsideScrollbar (const class bwEvent &event) const -> bool
 
void setScrollValue (int value)
 
- Public Member Functions inherited from bWidgets::bwScreenGraph::EventHandler
 EventHandler ()=default
 
virtual ~EventHandler ()=default
 
void addEventListener (EventType event_type, EventListener listener)
 
virtual void onMouseMove (bwEvent &)
 
virtual void onMouseEnter (bwEvent &)
 
virtual void onMouseLeave (bwEvent &)
 
virtual void onMousePress (bwMouseButtonEvent &)
 
virtual void onMouseRelease (bwMouseButtonEvent &)
 
virtual void onMouseClick (bwMouseButtonEvent &)
 
virtual void onMouseDrag (bwMouseButtonDragEvent &)
 
virtual void onMouseWheel (bwMouseWheelEvent &)
 

Additional Inherited Members

- Public Types inherited from bWidgets::bwScreenGraph::EventHandler
enum  EventType { MOUSE_ENTER , MOUSE_LEAVE , TOT_EVENT_TYPES }
 

Constructor & Destructor Documentation

◆ bwScrollViewHandler()

bWidgets::bwScrollViewHandler::bwScrollViewHandler ( bwScrollView scrollview)

◆ ~bwScrollViewHandler()

bWidgets::bwScrollViewHandler::~bwScrollViewHandler ( )
default

Member Function Documentation

◆ isEventInsideScrollbar()

auto bWidgets::bwScrollViewHandler::isEventInsideScrollbar ( const class bwEvent event) const -> bool

◆ onMouseClick()

void bWidgets::bwScrollViewHandler::onMouseClick ( bwMouseButtonEvent event)
overridevirtual

◆ onMouseDrag()

void bWidgets::bwScrollViewHandler::onMouseDrag ( bwMouseButtonDragEvent event)
overridevirtual

◆ onMouseEnter()

void bWidgets::bwScrollViewHandler::onMouseEnter ( bwEvent event)
overridevirtual

◆ onMouseLeave()

void bWidgets::bwScrollViewHandler::onMouseLeave ( bwEvent event)
overridevirtual

◆ onMouseMove()

void bWidgets::bwScrollViewHandler::onMouseMove ( bwEvent event)
overridevirtual

◆ onMousePress()

void bWidgets::bwScrollViewHandler::onMousePress ( bwMouseButtonEvent event)
overridevirtual

◆ onMouseRelease()

void bWidgets::bwScrollViewHandler::onMouseRelease ( bwMouseButtonEvent event)
overridevirtual

◆ onMouseWheel()

void bWidgets::bwScrollViewHandler::onMouseWheel ( bwMouseWheelEvent event)
overridevirtual

◆ onScrollbarMouseEnter()

void bWidgets::bwScrollViewHandler::onScrollbarMouseEnter ( bwEvent event) const

◆ onScrollbarMouseLeave()

void bWidgets::bwScrollViewHandler::onScrollbarMouseLeave ( bwEvent event) const

◆ setScrollValue()

void bWidgets::bwScrollViewHandler::setScrollValue ( int  value)

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