Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
CGraphicsGooCanvas.cpp File Reference
#include "CGraphicsGooCanvas.hpp"
#include "CGooCanvasItem.hpp"
#include "resources/ImageResource.hpp"
#include "third_party/goocanvas/goocanvas.h"
#include "ui/gtk/GooCanvasUtils.hpp"
#include "ui/gui/CEventCanvasButton.hpp"
#include <cstdarg>
Include dependency graph for CGraphicsGooCanvas.cpp:

Functions

static GooCanvasItem * prvGetCanvasItem (ICanvasItem *canvasItem)
 
static void getKeysAndClicks (GdkEventButton *event, bool &isShift, bool &isControl, bool &isLeftClick, bool &isRightClick, bool &isDoubleClick)
 
static gboolean onItemButtonPress (GooCanvasItem *item, GooCanvasItem *target, GdkEventButton *event, gpointer data)
 
static gboolean onItemButtonRelease (GooCanvasItem *item, GooCanvasItem *target, GdkEventButton *event, gpointer data)
 
static gboolean onItemMotionNotify (GooCanvasItem *item, GooCanvasItem *target, GdkEventButton *event, gpointer data)
 
static gboolean onItemConnectionPointEnterNotify (GooCanvasItem *item, GooCanvasItem *target, GdkEventCrossing *event, gpointer data)
 
static gboolean onItemConnectionPointLeaveNotify (GooCanvasItem *item, GooCanvasItem *target, GdkEventCrossing *event, gpointer data)
 

Variables

static const uint16_t kGTKButtonLeftClick = 1
 
static const uint16_t kGTKButtonRightClick = 3
 

Function Documentation

◆ getKeysAndClicks()

static void getKeysAndClicks ( GdkEventButton * event,
bool & isShift,
bool & isControl,
bool & isLeftClick,
bool & isRightClick,
bool & isDoubleClick )
static

◆ onItemButtonPress()

static gboolean onItemButtonPress ( GooCanvasItem * item,
GooCanvasItem * target,
GdkEventButton * event,
gpointer data )
static

◆ onItemButtonRelease()

static gboolean onItemButtonRelease ( GooCanvasItem * item,
GooCanvasItem * target,
GdkEventButton * event,
gpointer data )
static

◆ onItemConnectionPointEnterNotify()

static gboolean onItemConnectionPointEnterNotify ( GooCanvasItem * item,
GooCanvasItem * target,
GdkEventCrossing * event,
gpointer data )
static

◆ onItemConnectionPointLeaveNotify()

static gboolean onItemConnectionPointLeaveNotify ( GooCanvasItem * item,
GooCanvasItem * target,
GdkEventCrossing * event,
gpointer data )
static

◆ onItemMotionNotify()

static gboolean onItemMotionNotify ( GooCanvasItem * item,
GooCanvasItem * target,
GdkEventButton * event,
gpointer data )
static

◆ prvGetCanvasItem()

static GooCanvasItem * prvGetCanvasItem ( ICanvasItem * canvasItem)
static

Variable Documentation

◆ kGTKButtonLeftClick

const uint16_t kGTKButtonLeftClick = 1
static

◆ kGTKButtonRightClick

const uint16_t kGTKButtonRightClick = 3
static