Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CCompAreaDrawingGooCanvas.hpp
Go to the documentation of this file.
1#ifndef LIBS_GTK_CCOMPAREADRAWINGGOOCANVAS_HPP_
2#define LIBS_GTK_CCOMPAREADRAWINGGOOCANVAS_HPP_
3
4#include <gtk/gtk.h>
5
6//#include "ui/gui/CEventMotion.hpp"
7#include "CWidgetGTK.hpp"
8
9class CGooCanvas;
11
13{
14public:
15 CCompAreaDrawingGooCanvas(GtkWidget *areaDrawing, CGooCanvas *canvasRef, iv::types::color colorRGBBackground);
16 ~CCompAreaDrawingGooCanvas() override = default;
17
23
24 void draw(_cairo *cairo);
25
26 // TODO: son necesarias estas señales/gestores de señales para GooCanvas?
27// void prepare(int32_t sizeXComp, int32_t sizeYComp);
28// void removeObjects();
29// void runEventMotion(CEventMotion::EButtonMotion bto, double xPixel, double yPixel,
30// bool isShift, bool isControl);
31// void update();
32
33private:
34 GtkWidget *m_areaDrawingRef;
37// CGraphicsCairo *m_graphicsMoviment;
38};
39
40#endif /* LIBS_GTK_CCOMPAREADRAWINGGOOCANVAS_HPP_ */
Definition CCompAreaDrawingGooCanvas.hpp:13
~CCompAreaDrawingGooCanvas() override=default
CCompAreaDrawingGooCanvas & operator=(const CCompAreaDrawingGooCanvas &other)=delete
CCompAreaDrawingGooCanvas(CCompAreaDrawingGooCanvas &&other)=delete
void draw(_cairo *cairo)
Definition CCompAreaDrawingGooCanvas.cpp:21
CGraphicsGooCanvas * m_graphics
Definition CCompAreaDrawingGooCanvas.hpp:36
CCompAreaDrawingGooCanvas & operator=(CCompAreaDrawingGooCanvas &&other)=delete
CCompAreaDrawingGooCanvas(const CCompAreaDrawingGooCanvas &other)=delete
CGooCanvas * m_canvasRef
Definition CCompAreaDrawingGooCanvas.hpp:35
GtkWidget * m_areaDrawingRef
Definition CCompAreaDrawingGooCanvas.hpp:34
Definition CGooCanvas.hpp:19
Definition CGraphicsGooCanvas.hpp:17
Definition CWidgetGTK.hpp:12
uint32_t color
Definition types.hpp:12