Graphviz 12.0.1~dev.20240716.0800
|
#include "topviewfuncs.h"
#include "topviewsettings.h"
#include "gui.h"
#include <cgraph/startswith.h>
#include <common/colorprocs.h>
#include "viewport.h"
Go to the source code of this file.
Functions | |
void | color_change_request (GtkWidget *widget, gpointer user_data) |
void | size_change_request (GtkWidget *widget, gpointer user_data) |
void | on_settingsOKBtn_clicked (GtkWidget *widget, gpointer user_data) |
void | on_settingsApplyBtn_clicked (GtkWidget *widget, gpointer user_data) |
void | on_dlgSettings_close (GtkWidget *widget, gpointer user_data) |
void | on_settingsCancelBtn_clicked (GtkWidget *widget, gpointer 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) |
void color_change_request | ( | GtkWidget * | widget, |
gpointer | user_data | ||
) |
Definition at line 18 of file topviewsettings.c.
References refresh_filter::color, _ViewInfo::refresh, and view.
Definition at line 61 of file topviewsettings.c.
References agattr(), 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 153 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 90 of file topviewsettings.c.
References agattr(), AGRAPH, color(), and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 243 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 196 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 184 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 107 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
void load_settings_from_graph | ( | void | ) |
Definition at line 257 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, |
gpointer | user_data | ||
) |
Definition at line 46 of file topviewsettings.c.
References xml.
void on_settingsApplyBtn_clicked | ( | GtkWidget * | widget, |
gpointer | user_data | ||
) |
Definition at line 37 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, |
gpointer | user_data | ||
) |
Definition at line 54 of file topviewsettings.c.
References xml.
void on_settingsOKBtn_clicked | ( | GtkWidget * | widget, |
gpointer | user_data | ||
) |
Definition at line 31 of file topviewsettings.c.
References on_settingsApplyBtn_clicked(), and xml.
|
static |
Definition at line 132 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 67 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 227 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 209 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 166 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 116 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 313 of file topviewsettings.c.
References _ViewInfo::activeGraph, load_settings_from_graph(), NULL, view, and xml.
Referenced by mTopviewSettingsSlot().
void size_change_request | ( | GtkWidget * | widget, |
gpointer | user_data | ||
) |
Definition at line 25 of file topviewsettings.c.
void update_graph_from_settings | ( | Agraph_t * | g | ) |
Definition at line 283 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().