Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
glmotion.h File Reference
#include "viewport.h"
Include dependency graph for glmotion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void glmotion_zoom (void)
 
void glmotion_pan (ViewInfo *v)
 
void glmotion_zoom_inc (int zoomin)
 

Function Documentation

◆ glmotion_pan()

void glmotion_pan ( ViewInfo v)

Definition at line 70 of file glmotion.c.

References _ViewInfo::active_camera, _ViewInfo::cameras, glCompMouse::dragX, glCompMouse::dragY, GetOGLDistance(), _ViewInfo::mouse, _ViewInfo::panx, _ViewInfo::pany, _viewport_camera::r, SIZE_MAX, _viewport_camera::targetx, _viewport_camera::targety, _viewport_camera::x, _viewport_camera::y, and _ViewInfo::zoom.

Referenced by apply_actions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glmotion_zoom()

void glmotion_zoom ( void  )

Definition at line 54 of file glmotion.c.

References _ViewInfo::active_camera, _ViewInfo::cameras, glCompMouse::dragX, graph_zoom(), _ViewInfo::mouse, _viewport_camera::r, SIZE_MAX, view, and _ViewInfo::zoom.

Referenced by scroll_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ glmotion_zoom_inc()

void glmotion_zoom_inc ( int  zoomin)

Definition at line 44 of file glmotion.c.

References glexpose(), graph_zoom(), view, and _ViewInfo::zoom.

Referenced by btnToolZoomOut_clicked(), menu_click_zoom_minus(), and menu_click_zoom_plus().

Here is the call graph for this function:
Here is the caller graph for this function: