Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <CMenuContextGraphics.hpp>
Public Member Functions | |
CMenuContextGraphics (const std::string &titleMenu) | |
~CMenuContextGraphics () override | |
void | addMessageState (const CTxtColor &txtColor) |
void | addOption (const std::string &textOption, uint32_t argbColorBackground, const std::string &nameOptionOpt, AbstractClickComponentGUI *componentOptionRef) |
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 | nextFrameChildren () override |
void | removeObjectDraw (IGraphics *graphics) override |
bool | sizeChanged () override |
void | update (IGraphics *graphics, CLibraryImages *libraryImage) 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 | |
CAttrColorComp * | getAttrColor () |
const CAttrColorComp * | getAttrColorConst () const |
bool | isActivated () const |
bool | isAnimating () const |
Private Member Functions | |
void | prvDraw (IGraphics *graphics, const CTheme *theme) |
virtual void | closing () |
virtual void | handleEventOut (CEventGraphics *event) |
Private Attributes | |
CCircleGraphics * | m_circleCentreOpt |
std::vector< SPrvOptionMenuContextGraphics > | m_optionsMenuContextGraphics |
std::vector< CTxtColor > | m_msgState |
CDrawText * | m_titleMenu |
CRectangleGraphics * | m_rectangleTitleOpt |
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} |
|
explicit |
|
override |
|
inherited |
void CMenuContextGraphics::addMessageState | ( | const CTxtColor & | txtColor | ) |
void CMenuContextGraphics::addOption | ( | const std::string & | textOption, |
uint32_t | argbColorBackground, | ||
const std::string & | nameOptionOpt, | ||
AbstractClickComponentGUI * | componentOptionRef ) |
|
inherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
privatevirtualinherited |
Reimplemented in CContainerGraphics, CGroupButtonsGraphics, CLayoutBoxGraphics, CLayoutGridGraphics, CTabsGraphics, CViewGraphics, and CWorkspaceGraphics.
|
overridevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
protectedinherited |
|
nodiscardprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
nodiscardinherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
privatevirtualinherited |
|
virtualinherited |
Reimplemented in CLayoutBoxGraphics, and CListGraphics.
|
nodiscardprotectedinherited |
|
nodiscardprotectedinherited |
|
nodiscardinherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
privateinherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
overridevirtual |
Implements AbstractComponentGraphics.
|
overridevirtual |
Implements AbstractComponentGraphics.
|
inherited |
|
inherited |
|
inherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
private |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
|
privateinherited |
|
privateinherited |