Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CCompAreaDrawingGTK.hpp
Go to the documentation of this file.
1#ifndef LIBS_GTK_CCOMPAREADRAWINGGTK_HPP_
2#define LIBS_GTK_CCOMPAREADRAWINGGTK_HPP_
3
7
8#include <gtk/gtk.h>
9
10class CCanvas;
11class CGraphicsCairo;
12
14{
15public:
17 CCompAreaDrawingGTK(GtkWidget *areaDrawing, CCanvas *canvasRef, iv::types::color colorRGBBackground);
18 ~CCompAreaDrawingGTK() override;
19
20 void draw(_cairo *cairo);
21 void prepare(int32_t sizeXComp, int32_t sizeYComp);
22 void removeObjects();
23 void runEventMotion(double xPixel, double yPixel, const iv::ui::StateKeysPressed &stateKeysPressed,
24 const iv::ui::MouseClickInfo &mouseClickInfo, bool isClickRelease);
25 void runEventKey(const iv::ui::KeysPressed &keysPressed);
26 void update();
27
28private:
30
31 GtkWidget *m_areaDrawingRef;
35};
36
37#endif /* LIBS_GTK_CCOMPAREADRAWINGGTK_HPP_ */
Definition CCanvas.hpp:15
Definition CCompAreaDrawingGTK.hpp:14
void draw(_cairo *cairo)
Definition CCompAreaDrawingGTK.cpp:45
~CCompAreaDrawingGTK() override
Definition CCompAreaDrawingGTK.cpp:37
void runEventMotion(double xPixel, double yPixel, const iv::ui::StateKeysPressed &stateKeysPressed, const iv::ui::MouseClickInfo &mouseClickInfo, bool isClickRelease)
Definition CCompAreaDrawingGTK.cpp:102
CCanvas * m_canvasRef
Definition CCompAreaDrawingGTK.hpp:32
CCompAreaDrawingGTK()
Definition CCompAreaDrawingGTK.cpp:17
CGraphicsCairo * m_graphicsMovement
Definition CCompAreaDrawingGTK.hpp:34
void removeObjects()
Definition CCompAreaDrawingGTK.cpp:92
void prepare(int32_t sizeXComp, int32_t sizeYComp)
Definition CCompAreaDrawingGTK.cpp:85
CGraphicsCairo * m_graphicsScreen
Definition CCompAreaDrawingGTK.hpp:33
GtkWidget * m_areaDrawingRef
Definition CCompAreaDrawingGTK.hpp:31
void update()
Definition CCompAreaDrawingGTK.cpp:186
void runEventKey(const iv::ui::KeysPressed &keysPressed)
Definition CCompAreaDrawingGTK.cpp:155
void prvIntegrityCompAreaDrawingGTK() const
Definition CCompAreaDrawingGTK.cpp:9
Definition CGraphicsCairo.hpp:16
Definition CWidgetGTK.hpp:12
uint32_t color
Definition types.hpp:12
Definition interactionsStructs.hpp:24
Definition interactionsStructs.hpp:8
Definition interactionsStructs.hpp:18