Graphviz 13.0.0~dev.20241222.1117
|
#include "topviewfuncs.h"
#include "topviewsettings.h"
#include "gui.h"
#include <common/colorprocs.h>
#include <stdint.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 51 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 142 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 79 of file topviewsettings.c.
References agattr(), AGRAPH, color(), and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 232 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 185 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 173 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
|
static |
Definition at line 96 of file topviewsettings.c.
References agattr(), AGRAPH, and xml.
Referenced by update_graph_from_settings().
void load_settings_from_graph | ( | void | ) |
Definition at line 246 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 38 of file topviewsettings.c.
References xml.
void on_settingsApplyBtn_clicked | ( | GtkWidget * | widget, |
void * | user_data | ||
) |
Definition at line 29 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 45 of file topviewsettings.c.
References xml.
void on_settingsOKBtn_clicked | ( | GtkWidget * | widget, |
void * | user_data | ||
) |
Definition at line 24 of file topviewsettings.c.
References on_settingsApplyBtn_clicked(), and xml.
|
static |
Definition at line 121 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 57 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 216 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 198 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 155 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 105 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 302 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 19 of file topviewsettings.c.
void update_graph_from_settings | ( | Agraph_t * | g | ) |
Definition at line 272 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().