|
Graphviz 14.1.2~dev.20260118.1035
|
#include "config.h"#include "topviewfuncs.h"#include "topviewsettings.h"#include "gui.h"#include <common/colorprocs.h>#include <stdint.h>#include <util/itos.h>#include <util/startswith.h>#include "viewport.h"Go to the source code of this file.
Functions | |
| void | size_change_request (GtkWidget *widget, void *user_data) |
| void | on_settingsOKBtn_clicked (GtkWidget *widget, void *user_data) |
| void | on_settingsApplyBtn_clicked (GtkWidget *widget, void *user_data) |
| void | on_dlgSettings_close (GtkWidget *widget, void *user_data) |
| void | on_settingsCancelBtn_clicked (GtkWidget *widget, void *user_data) |
| static void | copy_attr (Agraph_t *destG, char *attrib, Agraph_t *g) |
| static void | set_color_button_widget (char *attrib, char *widget_name) |
| static void | get_color_button_widget_to_attribute (char *attrib, char *widget_name, Agraph_t *g) |
| static void | get_text_widget_to_attribute (char *attrib, char *widget_name, Agraph_t *g) |
| static void | set_text_widget (char *attrib, char *widget_name) |
| static void | set_checkbox_widget (char *attrib, char *widget_name) |
| static void | get_checkbox_widget_to_attribute (char *attrib, char *widget_name, Agraph_t *g) |
| static void | set_spinbtn_widget (char *attrib, char *widget_name) |
| static void | get_spinbtn_widget_to_attribute (char *attrib, char *widget_name, Agraph_t *g) |
| static void | get_scalebtn_widget_to_attribute (char *attrib, char *widget_name, Agraph_t *g) |
| static void | set_scalebtn_widget_to_attribute (char *attrib, char *widget_name) |
| static void | set_combobox_widget (char *attrib, char *widget_name) |
| static void | get_combobox_widget_to_attribute (char *attrib, char *widget_name, Agraph_t *g) |
| void | load_settings_from_graph (void) |
| void | update_graph_from_settings (Agraph_t *g) |
| void | show_settings_form (void) |
Definition at line 54 of file topviewsettings.c.
References agattr_text(), agget(), and AGRAPH.
Referenced by set_checkbox_widget(), set_color_button_widget(), set_combobox_widget(), set_scalebtn_widget_to_attribute(), set_spinbtn_widget(), and set_text_widget().
|
static |
Definition at line 145 of file topviewsettings.c.
References agattr_text(), AGRAPH, ITOS, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 82 of file topviewsettings.c.
References agattr_text(), AGRAPH, color(), and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 231 of file topviewsettings.c.
References agattr_text(), AGRAPH, ITOS, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 184 of file topviewsettings.c.
References agattr_text(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 172 of file topviewsettings.c.
References agattr_text(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 99 of file topviewsettings.c.
References agattr_text(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
| void load_settings_from_graph | ( | void | ) |
Definition at line 240 of file topviewsettings.c.
References agget(), agnxtattr(), AGRAPH, systemgraphs::attrs_widgets, Agsym_s::name, NULL, set_checkbox_widget(), set_color_button_widget(), set_combobox_widget(), set_scalebtn_widget_to_attribute(), set_spinbtn_widget(), set_text_widget(), startswith(), _ViewInfo::systemGraphs, and view.
Referenced by refreshViewport(), and show_settings_form().
| void on_dlgSettings_close | ( | GtkWidget * | widget, |
| void * | user_data | ||
| ) |
Definition at line 41 of file topviewsettings.c.
References xml.
| void on_settingsApplyBtn_clicked | ( | GtkWidget * | widget, |
| void * | user_data | ||
| ) |
Definition at line 32 of file topviewsettings.c.
References _ViewInfo::activeGraph, _ViewInfo::g, set_viewport_settings_from_template(), _ViewInfo::Topview, update_graph_from_settings(), updateSmGraph(), and view.
Referenced by on_settingsOKBtn_clicked().
| void on_settingsCancelBtn_clicked | ( | GtkWidget * | widget, |
| void * | user_data | ||
| ) |
Definition at line 48 of file topviewsettings.c.
References xml.
| void on_settingsOKBtn_clicked | ( | GtkWidget * | widget, |
| void * | user_data | ||
| ) |
Definition at line 27 of file topviewsettings.c.
References on_settingsApplyBtn_clicked(), and xml.
|
static |
Definition at line 124 of file topviewsettings.c.
References _ViewInfo::activeGraph, agget(), copy_attr(), systemgraphs::def_attrs, _ViewInfo::g, _ViewInfo::systemGraphs, view, and xml.
Referenced by load_settings_from_graph().
|
static |
Definition at line 60 of file topviewsettings.c.
References _ViewInfo::activeGraph, agget(), color(), colorxlate(), copy_attr(), systemgraphs::def_attrs, _ViewInfo::g, color_s::RGBA, RGBA_DOUBLE, _ViewInfo::systemGraphs, color_s::u, view, and xml.
Referenced by load_settings_from_graph().
|
static |
Definition at line 215 of file topviewsettings.c.
References _ViewInfo::activeGraph, agget(), copy_attr(), systemgraphs::def_attrs, _ViewInfo::g, _ViewInfo::systemGraphs, view, and xml.
Referenced by load_settings_from_graph().
|
static |
Definition at line 197 of file topviewsettings.c.
References _ViewInfo::activeGraph, agget(), copy_attr(), systemgraphs::def_attrs, _ViewInfo::g, _ViewInfo::systemGraphs, view, and xml.
Referenced by load_settings_from_graph().
|
static |
Definition at line 154 of file topviewsettings.c.
References _ViewInfo::activeGraph, agget(), copy_attr(), systemgraphs::def_attrs, _ViewInfo::g, _ViewInfo::systemGraphs, view, and xml.
Referenced by load_settings_from_graph().
|
static |
Definition at line 108 of file topviewsettings.c.
References _ViewInfo::activeGraph, agget(), copy_attr(), systemgraphs::def_attrs, _ViewInfo::g, _ViewInfo::systemGraphs, view, and xml.
Referenced by load_settings_from_graph().
| void show_settings_form | ( | void | ) |
Definition at line 296 of file topviewsettings.c.
References _ViewInfo::activeGraph, load_settings_from_graph(), NULL, view, and xml.
Referenced by mTopviewSettingsSlot().
| void size_change_request | ( | GtkWidget * | widget, |
| void * | user_data | ||
| ) |
Definition at line 22 of file topviewsettings.c.
| void update_graph_from_settings | ( | Agraph_t * | g | ) |
Definition at line 266 of file topviewsettings.c.
References agget(), agnxtattr(), AGRAPH, systemgraphs::attrs_widgets, get_checkbox_widget_to_attribute(), get_color_button_widget_to_attribute(), get_combobox_widget_to_attribute(), get_scalebtn_widget_to_attribute(), get_spinbtn_widget_to_attribute(), get_text_widget_to_attribute(), Agsym_s::name, NULL, startswith(), _ViewInfo::systemGraphs, and view.
Referenced by on_settingsApplyBtn_clicked(), refreshViewport(), and run_gvpr().