Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
NotificationIndicatorGraphics.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_UI_GRAPHICSCOMP_NOTIFICATIONINDICATORGRAPHICS_HPP_
2#define IV_SRC_UI_GRAPHICSCOMP_NOTIFICATIONINDICATORGRAPHICS_HPP_
3
4#include <utility>
5
8
10{
11
13{
14public:
16 const std::weak_ptr<iv::diamar::INotificationIndicator> &notificationIndicator,
17 IWidget *notificationPanelWidget);
18
19 bool sizeChanged() override;
20 void update(IGraphics *graphics, CLibraryImages *libraryImage) override;
21
22private:
23 void calculatePosGlobal(double xFather, double yFather) override;
24 void calculateSizeMin(IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage, double *sizeXComp,
25 double *sizeYComp) override;
26
27 void distribute(IGraphics *graphics, double sizeXComp, double sizeYComp) override;
28 void drawComponent(IGraphics *graphics, const CTheme *theme) override;
29 void handleEvent(CEventGraphics *event, double xOrg, double yOrg) override;
30
31 void nextFrameChildren() override;
32 void removeObjectDraw(IGraphics *graphics) override;
33
34 std::weak_ptr<iv::diamar::INotificationIndicator> m_notificationIndicator;
36};
37
38}// namespace iv::ui::graphicsComp
39
40#endif//IV_SRC_UI_GRAPHICSCOMP_NOTIFICATIONINDICATORGRAPHICS_HPP_
Definition AbstractComponentGraphics.hpp:21
Definition CEventGraphics.hpp:9
Definition CLibraryImages.hpp:11
Definition CTheme.hpp:10
Definition IGraphics.hpp:20
Definition IWidget.hpp:5
Definition NotificationIndicatorGraphics.hpp:13
NotificationIndicatorGraphics(const std::weak_ptr< iv::diamar::INotificationIndicator > &notificationIndicator, IWidget *notificationPanelWidget)
Definition NotificationIndicatorGraphics.cpp:8
std::weak_ptr< iv::diamar::INotificationIndicator > m_notificationIndicator
Definition NotificationIndicatorGraphics.hpp:34
void handleEvent(CEventGraphics *event, double xOrg, double yOrg) override
Definition NotificationIndicatorGraphics.cpp:50
void update(IGraphics *graphics, CLibraryImages *libraryImage) override
Definition NotificationIndicatorGraphics.cpp:22
void nextFrameChildren() override
Definition NotificationIndicatorGraphics.cpp:58
bool sizeChanged() override
Definition NotificationIndicatorGraphics.cpp:17
void drawComponent(IGraphics *graphics, const CTheme *theme) override
Definition NotificationIndicatorGraphics.cpp:45
void calculatePosGlobal(double xFather, double yFather) override
Definition NotificationIndicatorGraphics.cpp:27
void calculateSizeMin(IGraphics *graphics, const CTheme *theme, CLibraryImages *libraryImage, double *sizeXComp, double *sizeYComp) override
Definition NotificationIndicatorGraphics.cpp:32
void removeObjectDraw(IGraphics *graphics) override
Definition NotificationIndicatorGraphics.cpp:63
void distribute(IGraphics *graphics, double sizeXComp, double sizeYComp) override
Definition NotificationIndicatorGraphics.cpp:40
AbstractComponentGraphics * m_notificationPanelWidget
Definition NotificationIndicatorGraphics.hpp:35
Definition CollapsibleMenuGraphics.cpp:10