Graphviz 13.0.0~dev.20241222.1117
Loading...
Searching...
No Matches
glcompui.h File Reference
#include "smyrnadefs.h"
Include dependency graph for glcompui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

glCompSetglcreate_gl_topview_menu (void)
 
void switch2D3D (glCompObj *obj, float x, float y, glMouseButtonType t)
 
void menu_click_center (glCompObj *obj, float x, float y, glMouseButtonType t)
 
void menu_click_zoom_minus (glCompObj *obj, float x, float y, glMouseButtonType t)
 
void menu_click_zoom_plus (glCompObj *obj, float x, float y, glMouseButtonType t)
 
void menu_click_pan (glCompObj *obj, float x, float y, glMouseButtonType t)
 

Function Documentation

◆ glcreate_gl_topview_menu()

◆ menu_click_center()

void menu_click_center ( glCompObj obj,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 99 of file glcompui.c.

References _ViewInfo::active_camera, btnToolZoomFit_clicked(), _ViewInfo::cameras, NULL, _viewport_camera::r, SIZE_MAX, _viewport_camera::targetx, _viewport_camera::targety, and view.

Referenced by cb_keyboard(), and glcreate_gl_topview_menu().

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

◆ menu_click_pan()

void menu_click_pan ( glCompObj obj,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 38 of file glcompui.c.

References _ViewInfo::activeGraph, deselect_all(), _ViewInfo::g, and view.

Referenced by cb_keyboard(), and glcreate_gl_topview_menu().

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

◆ menu_click_zoom_minus()

void menu_click_zoom_minus ( glCompObj obj,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 47 of file glcompui.c.

References glmotion_zoom_inc().

Referenced by cb_keyboard(), and glcreate_gl_topview_menu().

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

◆ menu_click_zoom_plus()

void menu_click_zoom_plus ( glCompObj obj,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 58 of file glcompui.c.

References glmotion_zoom_inc().

Referenced by cb_keyboard(), and glcreate_gl_topview_menu().

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

◆ switch2D3D()

void switch2D3D ( glCompObj obj,
float  x,
float  y,
glMouseButtonType  t 
)

Definition at line 116 of file glcompui.c.

References _ViewInfo::active_camera, glCompImage::base, glCompButton::base, glCompCommon::callbacks, _ViewInfo::camera_count, glCompCallBacks::click, glCompObj_::common, glCompButtonHide(), glCompButtonShow(), glMouseLeftButton, img3D, menu_click_add_camera(), panBtn, SIZE_MAX, to2DBtn, to3DBtn, view, and glCompCommon::visible.

Referenced by cb_keyboard(), and glcreate_gl_topview_menu().

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