Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Probability::ResponderImageCell Class Reference

#include <responder_image_cell.h>

Inheritance diagram for Probability::ResponderImageCell:
HighlightCell Responder View

Public Member Functions

 ResponderImageCell (Responder *parentResponder, Law *law, Calculation *calculation, CalculationController *calculationController)
 
Responderresponder () override
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
KDSize minimalSizeForOptimalDisplay () const override
 
bool handleEvent (Ion::Events::Event event) override
 
void setHighlighted (bool highlight) override
 
void setImage (const Image *image, const Image *focusedImage)
 
- Public Member Functions inherited from HighlightCell
 HighlightCell ()
 
bool isHighlighted () const
 
virtual void reloadCell ()
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
 View (const View &other)=delete
 
 View (View &&other)=delete
 
Viewoperator= (const View &other)=delete
 
Viewoperator= (View &&other)=delete
 
void resetSuperview ()
 
void setSize (KDSize size)
 
void setFrame (KDRect frame)
 
KDPoint pointFromPointInView (View *view, KDPoint point)
 
KDRect bounds () const
 
Viewsubview (int index)
 
- Public Member Functions inherited from Responder
 Responder (Responder *parentResponder)
 
virtual void didBecomeFirstResponder ()
 
virtual void willResignFirstResponder ()
 
virtual void didEnterResponderChain (Responder *previousFirstResponder)
 
virtual void willExitResponderChain (Responder *nextFirstResponder)
 
ResponderparentResponder () const
 
RespondercommonAncestorWith (Responder *responder)
 
void setParentResponder (Responder *responder)
 
Appapp ()
 
virtual Toolboxtoolbox ()
 

Static Public Attributes

static constexpr KDCoordinate k_outline = 1
 
static constexpr KDCoordinate k_oneCellWidth = 2*k_outline+ImageCell::k_width
 
static constexpr KDCoordinate k_oneCellHeight = 2*k_outline+ImageCell::k_height
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Protected Attributes inherited from HighlightCell
bool m_highlighted
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 11 of file responder_image_cell.h.

Constructor & Destructor Documentation

◆ ResponderImageCell()

Probability::ResponderImageCell::ResponderImageCell ( Responder parentResponder,
Law law,
Calculation calculation,
CalculationController calculationController 
)

Definition at line 6 of file responder_image_cell.cpp.

Member Function Documentation

◆ drawRect()

void Probability::ResponderImageCell::drawRect ( KDContext ctx,
KDRect  rect 
) const
overridevirtual

Reimplemented from View.

Definition at line 13 of file responder_image_cell.cpp.

◆ handleEvent()

bool Probability::ResponderImageCell::handleEvent ( Ion::Events::Event  event)
overridevirtual

Reimplemented from Responder.

Definition at line 22 of file responder_image_cell.cpp.

◆ minimalSizeForOptimalDisplay()

KDSize Probability::ResponderImageCell::minimalSizeForOptimalDisplay ( ) const
overridevirtual

Reimplemented from View.

Definition at line 18 of file responder_image_cell.cpp.

◆ responder()

Responder* Probability::ResponderImageCell::responder ( )
inlineoverridevirtual

Reimplemented from HighlightCell.

Definition at line 14 of file responder_image_cell.h.

◆ setHighlighted()

void Probability::ResponderImageCell::setHighlighted ( bool  highlight)
overridevirtual

Reimplemented from HighlightCell.

Definition at line 31 of file responder_image_cell.cpp.

◆ setImage()

void Probability::ResponderImageCell::setImage ( const Image image,
const Image focusedImage 
)

Definition at line 36 of file responder_image_cell.cpp.

Member Data Documentation

◆ k_oneCellHeight

constexpr KDCoordinate Probability::ResponderImageCell::k_oneCellHeight = 2*k_outline+ImageCell::k_height
static

Definition at line 24 of file responder_image_cell.h.

◆ k_oneCellWidth

constexpr KDCoordinate Probability::ResponderImageCell::k_oneCellWidth = 2*k_outline+ImageCell::k_width
static

Definition at line 23 of file responder_image_cell.h.

◆ k_outline

constexpr KDCoordinate Probability::ResponderImageCell::k_outline = 1
static

Definition at line 22 of file responder_image_cell.h.


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