Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
glcompmouse.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#include <glcomp/glcompdefs.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19/*events*/
20 extern void glCompMouseInit(glCompMouse * m);
21void glCompClick(glCompObj *o, float x, float y, glMouseButtonType t);
22void glCompDoubleClick(glCompObj *obj, float x, float y, glMouseButtonType t);
23void glCompMouseDown(glCompObj *obj, float x, float y, glMouseButtonType t);
24void glCompMouseIn(glCompObj *obj, float x, float y);
25void glCompMouseOut(glCompObj *obj, float x, float y);
26void glCompMouseOver(glCompObj *obj, float x, float y);
27void glCompMouseUp(glCompObj *obj, float x, float y, glMouseButtonType t);
28void glCompMouseDrag(glCompObj *obj, float dx, float dy, glMouseButtonType t);
29
30#ifdef __cplusplus
31}
32#endif
static float dy
Definition draw.c:38
static float dx
Definition draw.c:37
glMouseButtonType
Definition glcompdefs.h:67
void glCompClick(glCompObj *o, float x, float y, glMouseButtonType t)
Definition glcompmouse.c:43
void glCompMouseIn(glCompObj *obj, float x, float y)
Definition glcompmouse.c:64
void glCompMouseOut(glCompObj *obj, float x, float y)
Definition glcompmouse.c:70
void glCompMouseOver(glCompObj *obj, float x, float y)
Definition glcompmouse.c:76
void glCompDoubleClick(glCompObj *obj, float x, float y, glMouseButtonType t)
Definition glcompmouse.c:50
void glCompMouseDrag(glCompObj *obj, float dx, float dy, glMouseButtonType t)
Definition glcompmouse.c:89
void glCompMouseDown(glCompObj *obj, float x, float y, glMouseButtonType t)
Definition glcompmouse.c:57
void glCompMouseInit(glCompMouse *m)
Definition glcompmouse.c:16
void glCompMouseUp(glCompObj *obj, float x, float y, glMouseButtonType t)
Definition glcompmouse.c:82
object prototype
Definition glcompdefs.h:199