Graphviz 12.1.0~dev.20240716.0947
Loading...
Searching...
No Matches
toolboxcallbacks.c File Reference
#include "toolboxcallbacks.h"
#include "viewport.h"
#include "gltemplate.h"
#include <glcomp/glutils.h>
#include "glmotion.h"
#include <stdint.h>
Include dependency graph for toolboxcallbacks.c:

Go to the source code of this file.

Functions

void btnToolZoomOut_clicked (GtkWidget *widget, gpointer user_data)
 
void btnToolZoomFit_clicked (GtkWidget *widget, gpointer user_data)
 
void btnToolFit_clicked (GtkWidget *widget, gpointer user_data)
 
void on_btnActivateGraph_clicked (GtkWidget *widget, gpointer user_data)
 

Function Documentation

◆ btnToolFit_clicked()

void btnToolFit_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 58 of file toolboxcallbacks.c.

References _ViewInfo::active_camera, _ViewInfo::bdxLeft, _ViewInfo::bdxRight, _ViewInfo::bdyBottom, _ViewInfo::bdyTop, _ViewInfo::cameras, _ViewInfo::clipX1, _ViewInfo::clipX2, _ViewInfo::clipY1, _ViewInfo::clipY2, topview::fitin_zoom, glexpose(), _ViewInfo::panx, _ViewInfo::pany, _viewport_camera::r, SIZE_MAX, _viewport_camera::targetx, _viewport_camera::targety, _ViewInfo::Topview, view, z, and _ViewInfo::zoom.

Referenced by btnToolZoomFit_clicked().

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

◆ btnToolZoomFit_clicked()

void btnToolZoomFit_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 27 of file toolboxcallbacks.c.

References _ViewInfo::active_camera, _ViewInfo::bdxLeft, _ViewInfo::bdxRight, _ViewInfo::bdyBottom, _ViewInfo::bdyTop, btnToolFit_clicked(), _ViewInfo::cameras, _ViewInfo::clipX1, _ViewInfo::clipX2, _ViewInfo::clipY1, _ViewInfo::clipY2, NULL, _viewport_camera::r, SIZE_MAX, view, z, and _ViewInfo::zoom.

Referenced by glexpose_main(), and menu_click_center().

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

◆ btnToolZoomOut_clicked()

void btnToolZoomOut_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 19 of file toolboxcallbacks.c.

References glmotion_zoom_inc().

Here is the call graph for this function:

◆ on_btnActivateGraph_clicked()

void on_btnActivateGraph_clicked ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 86 of file toolboxcallbacks.c.

References _ViewInfo::graphComboBox, switch_graph(), and view.

Here is the call graph for this function: