Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::ui::graphicsComp::HeaderBarGraphics Class Reference

#include <HeaderBarGraphics.hpp>

Inheritance diagram for iv::ui::graphicsComp::HeaderBarGraphics:
[legend]
Collaboration diagram for iv::ui::graphicsComp::HeaderBarGraphics:
[legend]

Classes

struct  Colors
 
struct  Sizes
 

Public Member Functions

 HeaderBarGraphics ()
 
void setMenuBar (CMenuBarGraphics *menuBarRef)
 
void setTitle (const std::string &title)
 
void setPossibleTitles (const std::set< std::string > &possibleTitles)
 
void setIndicators (CIndicatorsGraphics *indicatorsRef)
 
void setNotificationIndicator (iv::ui::graphicsComp::NotificationIndicatorGraphics *notificationIndicator)
 
void setNavigableOptions (const iv::gui::HeaderNavigableOptions &navigableOptions)
 
void getNormalHeaderSize (double *sizeXOpt, double *sizeYOpt) const
 
bool sizeChanged () override
 
void update (IGraphics *graphics, CLibraryImages *libraryImage) override
 
void calculatePosGlobal (double xFather, double yFather) override
 
void calculateSizeMin (IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage, double *sizeXComp, double *sizeYComp) override
 
void distribute (IGraphics *graphics, double sizeXComp, double sizeYComp) override
 
void drawComponent (IGraphics *graphics, const CTheme *theme) override
 
void handleEvent (CEventGraphics *event, double xOrg, double yOrg) override
 
void handleEventOut (CEventGraphics *event) override
 
void nextFrameChildren () override
 
void removeObjectDraw (IGraphics *graphics) override
 
void addTimer (uint64_t timeoutMillis, bool destroyListener, IListenerTimer *rcpTimers)
 
void addClose (IListenerClose *rcpClose)
 
void calculatePosGlobalComponent (double xFather, double yFather)
 
void calculateSizeComponent (IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage)
 
void distributeComponent (IGraphics *graphics, double xOrg, double yOrg, double sizeX, double sizeY)
 
void draw (IGraphics *graphics, const CTheme *theme)
 
void processClose ()
 
void processEvent (CEventGraphics *event, double xOrg, double yOrg)
 
void processEventOut (CEventGraphics *event)
 
void processNextFrame ()
 
void resetComponent (IGraphics *graphics)
 
void updateColorAttr (CAttrColorComp *attrColor)
 
void getPosGlobal (double *xPosGlobal, double *yPosGlobal) const
 
void getSizeArea (double *sizeXOpt, double *sizeYOpt) const
 
void getSizeComp (double *sizeXOpt, double *sizeYOpt) const
 
bool getVisible () const
 
void setActivated (bool isActivated)
 
void setAlignmentHorizontal (CEnumComponentsGUI::EAlignmentHorizontal alignment)
 
void setAlignmentVertical (CEnumComponentsGUI::EAlignmentVertical alignment)
 
void setAnimation (IAnimation **animation)
 
void setClip (IGraphics *graphics) const
 
void setCompact ()
 
void setSizeMinimum (iv::types::width sizeXMinimum, iv::types::height sizeYMinimum)
 
void setWidthMaximum (iv::types::width sizeXMaximum)
 
void setHeightMaximum (iv::types::height sizeYMaximum)
 
void setVisible (bool isVisible)
 
bool isCursorInComponent () const
 
bool visibilityChanged ()
 
bool visibilityOrSizeChanged ()
 
virtual bool hasLongClick () const
 

Protected Member Functions

CAttrColorCompgetAttrColor ()
 
const CAttrColorCompgetAttrColorConst () const
 
bool isActivated () const
 
bool isAnimating () const
 

Private Member Functions

void prvDraw (IGraphics *graphics, const CTheme *theme)
 
virtual void closing ()
 

Private Attributes

CMenuBarGraphicsm_menuBarRef
 
std::optional< std::string > m_title
 
std::optional< std::set< std::string > > m_possibleHeaderTitle
 
CLabelGraphicsm_titleLabelOpt
 
CIndicatorsGraphicsm_indicatorsRef
 
iv::ui::graphicsComp::NotificationIndicatorGraphicsm_notificationIndicator
 
std::vector< AbstractComponentGraphics * > m_headerNavigableOptions
 
std::unique_ptr< CRectangleGraphicsm_headerBackground
 
std::unique_ptr< CRectangleGraphicsm_separatorLine
 
std::unique_ptr< CRectangleGraphicsm_separatorIndicatorsNotification
 
IAnimationm_animation
 
CTimerGraphics m_timer
 
bool m_fillHorizontal
 
bool m_fillVertical
 
CEnumComponentsGUI::EAlignmentHorizontal m_alignmentHorizontal
 
CEnumComponentsGUI::EAlignmentVertical m_alignmentVertical
 
CAttrColorCompm_attrColor
 
std::vector< IListenerClose * > m_rcpClose
 
bool m_isDistributed
 
double m_dx
 
double m_dy
 
double m_sizeXComp
 
double m_sizeYComp
 
double m_sizeXArea
 
double m_sizeYArea
 
double m_xGlobal
 
double m_yGlobal
 
iv::types::width m_sizeXMinimum
 
iv::types::height m_sizeYMinimum
 
iv::types::height m_sizeYMaximum
 
iv::types::width m_sizeXMaximum
 
bool m_isActivated
 
bool m_isCursorInside
 
bool m_isVisible
 
std::atomic_bool m_isVisibilityChanged {false}
 

Constructor & Destructor Documentation

◆ HeaderBarGraphics()

iv::ui::graphicsComp::HeaderBarGraphics::HeaderBarGraphics ( )

Member Function Documentation

◆ addClose()

void AbstractComponentGraphics::addClose ( IListenerClose * rcpClose)
inherited

◆ addTimer()

void AbstractComponentGraphics::addTimer ( uint64_t timeoutMillis,
bool destroyListener,
IListenerTimer * rcpTimers )
inherited

◆ calculatePosGlobal()

void iv::ui::graphicsComp::HeaderBarGraphics::calculatePosGlobal ( double xFather,
double yFather )
overridevirtual

◆ calculatePosGlobalComponent()

void AbstractComponentGraphics::calculatePosGlobalComponent ( double xFather,
double yFather )
inherited

◆ calculateSizeComponent()

void AbstractComponentGraphics::calculateSizeComponent ( IGraphics * graphics,
const CTheme * theme,
CLibraryImages * libraryImage )
inherited

◆ calculateSizeMin()

void iv::ui::graphicsComp::HeaderBarGraphics::calculateSizeMin ( IGraphics * graphics,
const CTheme * theme,
CLibraryImages * libraryImage,
double * sizeXComp,
double * sizeYComp )
overridevirtual

◆ closing()

void AbstractComponentGraphics::closing ( )
privatevirtualinherited

◆ distribute()

void iv::ui::graphicsComp::HeaderBarGraphics::distribute ( IGraphics * graphics,
double sizeXComp,
double sizeYComp )
overridevirtual

◆ distributeComponent()

void AbstractComponentGraphics::distributeComponent ( IGraphics * graphics,
double xOrg,
double yOrg,
double sizeX,
double sizeY )
inherited

◆ draw()

void AbstractComponentGraphics::draw ( IGraphics * graphics,
const CTheme * theme )
inherited

◆ drawComponent()

void iv::ui::graphicsComp::HeaderBarGraphics::drawComponent ( IGraphics * graphics,
const CTheme * theme )
overridevirtual

◆ getAttrColor()

CAttrColorComp * AbstractComponentGraphics::getAttrColor ( )
protectedinherited

◆ getAttrColorConst()

const CAttrColorComp * AbstractComponentGraphics::getAttrColorConst ( ) const
nodiscardprotectedinherited

◆ getNormalHeaderSize()

void iv::ui::graphicsComp::HeaderBarGraphics::getNormalHeaderSize ( double * sizeXOpt,
double * sizeYOpt ) const

◆ getPosGlobal()

void AbstractComponentGraphics::getPosGlobal ( double * xPosGlobal,
double * yPosGlobal ) const
inherited

◆ getSizeArea()

void AbstractComponentGraphics::getSizeArea ( double * sizeXOpt,
double * sizeYOpt ) const
inherited

◆ getSizeComp()

void AbstractComponentGraphics::getSizeComp ( double * sizeXOpt,
double * sizeYOpt ) const
inherited

◆ getVisible()

bool AbstractComponentGraphics::getVisible ( ) const
nodiscardinherited

◆ handleEvent()

void iv::ui::graphicsComp::HeaderBarGraphics::handleEvent ( CEventGraphics * event,
double xOrg,
double yOrg )
overridevirtual

◆ handleEventOut()

void iv::ui::graphicsComp::HeaderBarGraphics::handleEventOut ( CEventGraphics * event)
overridevirtual

Reimplemented from AbstractComponentGraphics.

◆ hasLongClick()

bool AbstractComponentGraphics::hasLongClick ( ) const
virtualinherited

Reimplemented in CLayoutBoxGraphics, and CListGraphics.

◆ isActivated()

bool AbstractComponentGraphics::isActivated ( ) const
nodiscardprotectedinherited

◆ isAnimating()

bool AbstractComponentGraphics::isAnimating ( ) const
nodiscardprotectedinherited

◆ isCursorInComponent()

bool AbstractComponentGraphics::isCursorInComponent ( ) const
nodiscardinherited

◆ nextFrameChildren()

void iv::ui::graphicsComp::HeaderBarGraphics::nextFrameChildren ( )
overridevirtual

◆ processClose()

void AbstractComponentGraphics::processClose ( )
inherited

◆ processEvent()

void AbstractComponentGraphics::processEvent ( CEventGraphics * event,
double xOrg,
double yOrg )
inherited

◆ processEventOut()

void AbstractComponentGraphics::processEventOut ( CEventGraphics * event)
inherited

◆ processNextFrame()

void AbstractComponentGraphics::processNextFrame ( )
inherited

◆ prvDraw()

void AbstractComponentGraphics::prvDraw ( IGraphics * graphics,
const CTheme * theme )
privateinherited

◆ removeObjectDraw()

void iv::ui::graphicsComp::HeaderBarGraphics::removeObjectDraw ( IGraphics * graphics)
overridevirtual

◆ resetComponent()

void AbstractComponentGraphics::resetComponent ( IGraphics * graphics)
inherited

◆ setActivated()

void AbstractComponentGraphics::setActivated ( bool isActivated)
inherited

◆ setAlignmentHorizontal()

void AbstractComponentGraphics::setAlignmentHorizontal ( CEnumComponentsGUI::EAlignmentHorizontal alignment)
inherited

◆ setAlignmentVertical()

void AbstractComponentGraphics::setAlignmentVertical ( CEnumComponentsGUI::EAlignmentVertical alignment)
inherited

◆ setAnimation()

void AbstractComponentGraphics::setAnimation ( IAnimation ** animation)
inherited

◆ setClip()

void AbstractComponentGraphics::setClip ( IGraphics * graphics) const
inherited

◆ setCompact()

void AbstractComponentGraphics::setCompact ( )
inherited

◆ setHeightMaximum()

void AbstractComponentGraphics::setHeightMaximum ( iv::types::height sizeYMaximum)
inherited

◆ setIndicators()

void iv::ui::graphicsComp::HeaderBarGraphics::setIndicators ( CIndicatorsGraphics * indicatorsRef)

◆ setMenuBar()

void iv::ui::graphicsComp::HeaderBarGraphics::setMenuBar ( CMenuBarGraphics * menuBarRef)

◆ setNavigableOptions()

void iv::ui::graphicsComp::HeaderBarGraphics::setNavigableOptions ( const iv::gui::HeaderNavigableOptions & navigableOptions)

◆ setNotificationIndicator()

void iv::ui::graphicsComp::HeaderBarGraphics::setNotificationIndicator ( iv::ui::graphicsComp::NotificationIndicatorGraphics * notificationIndicator)

◆ setPossibleTitles()

void iv::ui::graphicsComp::HeaderBarGraphics::setPossibleTitles ( const std::set< std::string > & possibleTitles)

◆ setSizeMinimum()

void AbstractComponentGraphics::setSizeMinimum ( iv::types::width sizeXMinimum,
iv::types::height sizeYMinimum )
inherited

◆ setTitle()

void iv::ui::graphicsComp::HeaderBarGraphics::setTitle ( const std::string & title)

◆ setVisible()

void AbstractComponentGraphics::setVisible ( bool isVisible)
inherited

◆ setWidthMaximum()

void AbstractComponentGraphics::setWidthMaximum ( iv::types::width sizeXMaximum)
inherited

◆ sizeChanged()

bool iv::ui::graphicsComp::HeaderBarGraphics::sizeChanged ( )
overridevirtual

◆ update()

void iv::ui::graphicsComp::HeaderBarGraphics::update ( IGraphics * graphics,
CLibraryImages * libraryImage )
overridevirtual

◆ updateColorAttr()

void AbstractComponentGraphics::updateColorAttr ( CAttrColorComp * attrColor)
inherited

◆ visibilityChanged()

bool AbstractComponentGraphics::visibilityChanged ( )
inherited

◆ visibilityOrSizeChanged()

bool AbstractComponentGraphics::visibilityOrSizeChanged ( )
inherited

Member Data Documentation

◆ m_alignmentHorizontal

CEnumComponentsGUI::EAlignmentHorizontal AbstractComponentGraphics::m_alignmentHorizontal
privateinherited

◆ m_alignmentVertical

CEnumComponentsGUI::EAlignmentVertical AbstractComponentGraphics::m_alignmentVertical
privateinherited

◆ m_animation

IAnimation* AbstractComponentGraphics::m_animation
privateinherited

◆ m_attrColor

CAttrColorComp* AbstractComponentGraphics::m_attrColor
privateinherited

◆ m_dx

double AbstractComponentGraphics::m_dx
privateinherited

◆ m_dy

double AbstractComponentGraphics::m_dy
privateinherited

◆ m_fillHorizontal

bool AbstractComponentGraphics::m_fillHorizontal
privateinherited

◆ m_fillVertical

bool AbstractComponentGraphics::m_fillVertical
privateinherited

◆ m_headerBackground

std::unique_ptr<CRectangleGraphics> iv::ui::graphicsComp::HeaderBarGraphics::m_headerBackground
private

◆ m_headerNavigableOptions

std::vector<AbstractComponentGraphics *> iv::ui::graphicsComp::HeaderBarGraphics::m_headerNavigableOptions
private

◆ m_indicatorsRef

CIndicatorsGraphics* iv::ui::graphicsComp::HeaderBarGraphics::m_indicatorsRef
private

◆ m_isActivated

bool AbstractComponentGraphics::m_isActivated
privateinherited

◆ m_isCursorInside

bool AbstractComponentGraphics::m_isCursorInside
privateinherited

◆ m_isDistributed

bool AbstractComponentGraphics::m_isDistributed
privateinherited

◆ m_isVisibilityChanged

std::atomic_bool AbstractComponentGraphics::m_isVisibilityChanged {false}
privateinherited

◆ m_isVisible

bool AbstractComponentGraphics::m_isVisible
privateinherited

◆ m_menuBarRef

CMenuBarGraphics* iv::ui::graphicsComp::HeaderBarGraphics::m_menuBarRef
private

◆ m_notificationIndicator

iv::ui::graphicsComp::NotificationIndicatorGraphics* iv::ui::graphicsComp::HeaderBarGraphics::m_notificationIndicator
private

◆ m_possibleHeaderTitle

std::optional<std::set<std::string> > iv::ui::graphicsComp::HeaderBarGraphics::m_possibleHeaderTitle
private

◆ m_rcpClose

std::vector<IListenerClose *> AbstractComponentGraphics::m_rcpClose
privateinherited

◆ m_separatorIndicatorsNotification

std::unique_ptr<CRectangleGraphics> iv::ui::graphicsComp::HeaderBarGraphics::m_separatorIndicatorsNotification
private

◆ m_separatorLine

std::unique_ptr<CRectangleGraphics> iv::ui::graphicsComp::HeaderBarGraphics::m_separatorLine
private

◆ m_sizeXArea

double AbstractComponentGraphics::m_sizeXArea
privateinherited

◆ m_sizeXComp

double AbstractComponentGraphics::m_sizeXComp
privateinherited

◆ m_sizeXMaximum

iv::types::width AbstractComponentGraphics::m_sizeXMaximum
privateinherited

◆ m_sizeXMinimum

iv::types::width AbstractComponentGraphics::m_sizeXMinimum
privateinherited

◆ m_sizeYArea

double AbstractComponentGraphics::m_sizeYArea
privateinherited

◆ m_sizeYComp

double AbstractComponentGraphics::m_sizeYComp
privateinherited

◆ m_sizeYMaximum

iv::types::height AbstractComponentGraphics::m_sizeYMaximum
privateinherited

◆ m_sizeYMinimum

iv::types::height AbstractComponentGraphics::m_sizeYMinimum
privateinherited

◆ m_timer

CTimerGraphics AbstractComponentGraphics::m_timer
privateinherited

◆ m_title

std::optional<std::string> iv::ui::graphicsComp::HeaderBarGraphics::m_title
private

◆ m_titleLabelOpt

CLabelGraphics* iv::ui::graphicsComp::HeaderBarGraphics::m_titleLabelOpt
private

◆ m_xGlobal

double AbstractComponentGraphics::m_xGlobal
privateinherited

◆ m_yGlobal

double AbstractComponentGraphics::m_yGlobal
privateinherited

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