Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <AbstractComponentGraphics.hpp>
Public Member Functions | |
AbstractComponentGraphics (bool fillHorizontal, bool fillVertical) | |
~AbstractComponentGraphics () 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 () |
virtual bool | sizeChanged ()=0 |
bool | visibilityOrSizeChanged () |
virtual void | update (IGraphics *graphics, CLibraryImages *libraryImage)=0 |
virtual void | handleEvent (CEventGraphics *event, double xOrg, double yOrg)=0 |
virtual bool | hasLongClick () const |
Protected Member Functions | |
CAttrColorComp * | getAttrColor () |
const CAttrColorComp * | getAttrColorConst () const |
bool | isActivated () const |
bool | isAnimating () const |
Private Member Functions | |
void | prvDraw (IGraphics *graphics, const CTheme *theme) |
virtual void | calculatePosGlobal (double xFather, double yFather)=0 |
virtual void | calculateSizeMin (IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage, double *sizeXComp, double *sizeYComp)=0 |
virtual void | nextFrameChildren ()=0 |
virtual void | removeObjectDraw (IGraphics *graphics)=0 |
virtual void | distribute (IGraphics *graphics, double sizeXComp, double sizeYComp)=0 |
virtual void | drawComponent (IGraphics *graphics, const CTheme *theme)=0 |
virtual void | closing () |
virtual void | handleEventOut (CEventGraphics *event) |
Private Attributes | |
IAnimation * | m_animation |
CTimerGraphics | m_timer |
bool | m_fillHorizontal |
bool | m_fillVertical |
CEnumComponentsGUI::EAlignmentHorizontal | m_alignmentHorizontal |
CEnumComponentsGUI::EAlignmentVertical | m_alignmentVertical |
CAttrColorComp * | m_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} |
AbstractComponentGraphics::AbstractComponentGraphics | ( | bool | fillHorizontal, |
bool | fillVertical ) |
|
override |
void AbstractComponentGraphics::addClose | ( | IListenerClose * | rcpClose | ) |
void AbstractComponentGraphics::addTimer | ( | uint64_t | timeoutMillis, |
bool | destroyListener, | ||
IListenerTimer * | rcpTimers ) |
|
privatepure virtual |
Implemented in AbstractCompWithFocusGraphics, CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
void AbstractComponentGraphics::calculatePosGlobalComponent | ( | double | xFather, |
double | yFather ) |
void AbstractComponentGraphics::calculateSizeComponent | ( | IGraphics * | graphics, |
const CTheme * | theme, | ||
CLibraryImages * | libraryImage ) |
|
privatepure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
|
privatevirtual |
Reimplemented in CContainerGraphics, CGroupButtonsGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CTabsGraphics, CViewGraphics, and CWorkspaceGraphics.
|
privatepure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
void AbstractComponentGraphics::distributeComponent | ( | IGraphics * | graphics, |
double | xOrg, | ||
double | yOrg, | ||
double | sizeX, | ||
double | sizeY ) |
|
privatepure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
|
protected |
|
nodiscardprotected |
void AbstractComponentGraphics::getPosGlobal | ( | double * | xPosGlobal, |
double * | yPosGlobal ) const |
void AbstractComponentGraphics::getSizeArea | ( | double * | sizeXOpt, |
double * | sizeYOpt ) const |
void AbstractComponentGraphics::getSizeComp | ( | double * | sizeXOpt, |
double * | sizeYOpt ) const |
|
nodiscard |
|
pure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
|
privatevirtual |
|
virtual |
Reimplemented in CLayoutBoxGraphics, and CListGraphics.
|
nodiscardprotected |
|
nodiscardprotected |
|
nodiscard |
|
privatepure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
void AbstractComponentGraphics::processClose | ( | ) |
void AbstractComponentGraphics::processEvent | ( | CEventGraphics * | event, |
double | xOrg, | ||
double | yOrg ) |
void AbstractComponentGraphics::processEventOut | ( | CEventGraphics * | event | ) |
void AbstractComponentGraphics::processNextFrame | ( | ) |
|
privatepure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
void AbstractComponentGraphics::resetComponent | ( | IGraphics * | graphics | ) |
void AbstractComponentGraphics::setActivated | ( | bool | isActivated | ) |
void AbstractComponentGraphics::setAlignmentHorizontal | ( | CEnumComponentsGUI::EAlignmentHorizontal | alignment | ) |
void AbstractComponentGraphics::setAlignmentVertical | ( | CEnumComponentsGUI::EAlignmentVertical | alignment | ) |
void AbstractComponentGraphics::setAnimation | ( | IAnimation ** | animation | ) |
void AbstractComponentGraphics::setClip | ( | IGraphics * | graphics | ) | const |
void AbstractComponentGraphics::setCompact | ( | ) |
void AbstractComponentGraphics::setHeightMaximum | ( | iv::types::height | sizeYMaximum | ) |
void AbstractComponentGraphics::setSizeMinimum | ( | iv::types::width | sizeXMinimum, |
iv::types::height | sizeYMinimum ) |
void AbstractComponentGraphics::setVisible | ( | bool | isVisible | ) |
void AbstractComponentGraphics::setWidthMaximum | ( | iv::types::width | sizeXMaximum | ) |
|
pure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
|
pure virtual |
Implemented in CButtonGraphics, CCanvasGraphics, CCheckButtonGraphics, CContainerGraphics, CEditGraphics, CGroupButtonsGraphics, CIlluminationGraphics, CIndicatorsGraphics, CLabelGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CLineSeparatorGraphics, CListGraphics, CMenuBarGraphics, CMenuContextGraphics, COptionsGraphics, CProgressGraphics, CScrollGraphics, CTabsGraphics, CViewGraphics, CWorkspaceGraphics, iv::ui::graphicsComp::CollapsibleMenuGraphics, iv::ui::graphicsComp::FooterBarGraphics, iv::ui::graphicsComp::HeaderBarGraphics, iv::ui::graphicsComp::NotificationIndicatorGraphics, and iv::ui::graphicsComp::SliderGraphics.
void AbstractComponentGraphics::updateColorAttr | ( | CAttrColorComp * | attrColor | ) |
bool AbstractComponentGraphics::visibilityChanged | ( | ) |
bool AbstractComponentGraphics::visibilityOrSizeChanged | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |