Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Poincare::HorizontalLayout Class Reference

#include <horizontal_layout.h>

Inheritance diagram for Poincare::HorizontalLayout:
Poincare::ExpressionLayout

Public Member Functions

 HorizontalLayout (ExpressionLayout **layouts, int number_of_children)
 
 ~HorizontalLayout ()
 
 HorizontalLayout (const HorizontalLayout &other)=delete
 
 HorizontalLayout (HorizontalLayout &&other)=delete
 
HorizontalLayoutoperator= (const HorizontalLayout &other)=delete
 
HorizontalLayoutoperator= (HorizontalLayout &&other)=delete
 
- Public Member Functions inherited from Poincare::ExpressionLayout
 ExpressionLayout ()
 
virtual ~ExpressionLayout ()=default
 
void draw (KDContext *ctx, KDPoint p, KDColor expressionColor=KDColorBlack, KDColor backgroundColor=KDColorWhite)
 
KDPoint origin ()
 
KDSize size ()
 
KDCoordinate baseline ()
 
void setParent (ExpressionLayout *parent)
 

Protected Member Functions

void render (KDContext *ctx, KDPoint p, KDColor expressionColor, KDColor backgroundColor) override
 
KDSize computeSize () override
 
ExpressionLayoutchild (uint16_t index) override
 
KDPoint positionOfChild (ExpressionLayout *child) override
 

Additional Inherited Members

- Protected Attributes inherited from Poincare::ExpressionLayout
KDCoordinate m_baseline
 

Detailed Description

Definition at line 9 of file horizontal_layout.h.

Constructor & Destructor Documentation

◆ HorizontalLayout() [1/3]

Poincare::HorizontalLayout::HorizontalLayout ( ExpressionLayout **  layouts,
int  number_of_children 
)

Definition at line 11 of file horizontal_layout.cpp.

◆ ~HorizontalLayout()

Poincare::HorizontalLayout::~HorizontalLayout ( )

Definition at line 24 of file horizontal_layout.cpp.

◆ HorizontalLayout() [2/3]

Poincare::HorizontalLayout::HorizontalLayout ( const HorizontalLayout other)
delete

◆ HorizontalLayout() [3/3]

Poincare::HorizontalLayout::HorizontalLayout ( HorizontalLayout &&  other)
delete

Member Function Documentation

◆ child()

ExpressionLayout * Poincare::HorizontalLayout::child ( uint16_t  index)
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 52 of file horizontal_layout.cpp.

◆ computeSize()

KDSize Poincare::HorizontalLayout::computeSize ( )
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 34 of file horizontal_layout.cpp.

◆ operator=() [1/2]

HorizontalLayout& Poincare::HorizontalLayout::operator= ( const HorizontalLayout other)
delete

◆ operator=() [2/2]

HorizontalLayout& Poincare::HorizontalLayout::operator= ( HorizontalLayout &&  other)
delete

◆ positionOfChild()

KDPoint Poincare::HorizontalLayout::positionOfChild ( ExpressionLayout child)
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 61 of file horizontal_layout.cpp.

◆ render()

void Poincare::HorizontalLayout::render ( KDContext ctx,
KDPoint  p,
KDColor  expressionColor,
KDColor  backgroundColor 
)
overrideprotectedvirtual

Implements Poincare::ExpressionLayout.

Definition at line 31 of file horizontal_layout.cpp.


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