Graphviz 13.0.0~dev.20241220.2304
|
#include "builddate.h"
#include "config.h"
#include "frmobjectui.h"
#include "gltemplate.h"
#include "gui.h"
#include "gvprpipe.h"
#include "menucallbacks.h"
#include "support.h"
#include "viewport.h"
#include <glade/glade.h>
#include <gtk/gtk.h>
#include <gtk/gtkgl.h>
#include "glexpose.h"
#include "glutrender.h"
#include <assert.h>
#include <getopt.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <util/alloc.h>
#include <util/exit.h>
#include <unistd.h>
Go to the source code of this file.
Functions | |
char * | smyrnaPath (char *suffix) |
static void | usage (int v) |
static char * | parseArgs (int argc, char *argv[], ViewInfo *viewinfo) |
static void | windowedMode (int argc, char *argv[]) |
static char * | readln (const char *path) |
readlink -alike but dynamically allocates | |
static char * | find_me (void) |
find an absolute path to the current executable | |
static char * | find_share (void) |
find an absolute path to where Smyrna auxiliary files are stored | |
int | main (int argc, char *argv[]) |
Variables | |
static char * | smyrnaDir |
static char * | smyrnaGlade |
static char * | useString |
static char * | Info [] |
|
static |
Definition at line 215 of file main.c.
References free(), graphviz_exit(), gv_alloc(), gv_realloc(), NULL, and readln().
Referenced by find_share().
|
static |
Definition at line 314 of file main.c.
References find_me(), free(), graphviz_exit(), gv_alloc(), and NULL.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 354 of file main.c.
References bindtextdomain, cb_glutinit(), find_share(), graphviz_exit(), GUI_FULLSCREEN, _ViewInfo::guiMode, gv_alloc(), init_viewport(), _ViewInfo::initFile, _ViewInfo::initFileName, NULL, _ViewInfo::optArg, parseArgs(), smyrnaDir, textdomain, view, and windowedMode().
|
static |
Definition at line 103 of file main.c.
References _ViewInfo::drawSplines, graphviz_exit(), GUI_FULLSCREEN, _ViewInfo::guiMode, Info, NULL, _ViewInfo::optArg, and usage.
Referenced by main().
|
static |
char * smyrnaPath | ( | char * | suffix | ) |
Definition at line 68 of file main.c.
References gv_calloc(), len(), smyrnaDir, and suffix.
Referenced by get_data_dir(), glcreate_gl_topview_menu(), init_viewport(), load_attr_list(), load_mouse_actions(), and windowedMode().
|
static |
Definition at line 92 of file main.c.
References graphviz_exit(), and useString.
|
static |
Definition at line 139 of file main.c.
References change_cursor(), configure_gl(), create_window(), _ViewInfo::graphComboBox, GUI_FULLSCREEN, _ViewInfo::guiMode, mQuitSlot(), NULL, smyrnaGlade, smyrnaPath(), view, and xml.
Referenced by main().
|
static |
Definition at line 97 of file main.c.
Referenced by parseArgs().
|
static |
Definition at line 56 of file main.c.
Referenced by main(), and smyrnaPath().
|
static |
Definition at line 57 of file main.c.
Referenced by windowedMode().