libgeda

i_vars.c File Reference

#include <config.h>
#include <stdio.h>
#include "libgeda_priv.h"
Include dependency graph for i_vars.c:

Go to the source code of this file.

Defines

#define INIT_STR(w, name, str)
#define DEFAULT_UNTITLED_NAME   "untitled"
#define DEFAULT_BITMAP_DIRECTORY   "../lib/bitmaps"
#define DEFAULT_BUS_RIPPER_SYMNAME   "busripper-1.sym"
#define DEFAULT_POSTSCRIPT_PROLOG   "prolog.ps"

Functions

void i_vars_libgeda_set (TOPLEVEL *toplevel)
 Initialize variables in TOPLEVEL object.
void i_vars_libgeda_freenames ()
 Free default names.

Variables

int default_init_right = WIDTH_C
int default_init_bottom = HEIGHT_C
char * default_untitled_name = NULL
char * default_bitmap_directory = NULL
char * default_bus_ripper_symname = NULL
char * default_postscript_prolog = NULL
GList * default_always_promote_attributes = NULL
int default_attribute_promotion = TRUE
int default_promote_invisible = FALSE
int default_keep_invisible = TRUE
int default_make_backup_files = TRUE

Define Documentation

#define INIT_STR (   w,
  name,
  str 
)
Value:
{                                        \
        g_free((w)->name);                                              \
        (w)->name = g_strdup(((default_ ## name) != NULL) ?             \
                             (default_ ## name) : (str));               \
}

Definition at line 30 of file i_vars.c.

#define DEFAULT_UNTITLED_NAME   "untitled"

Definition at line 40 of file i_vars.c.

#define DEFAULT_BITMAP_DIRECTORY   "../lib/bitmaps"

Definition at line 41 of file i_vars.c.

#define DEFAULT_BUS_RIPPER_SYMNAME   "busripper-1.sym"

Definition at line 42 of file i_vars.c.

#define DEFAULT_POSTSCRIPT_PROLOG   "prolog.ps"

Definition at line 43 of file i_vars.c.


Function Documentation

void i_vars_libgeda_set ( TOPLEVEL toplevel)
Function Description
This function will initialize variables to default values.
Parameters:
[out]toplevelThe TOPLEVEL object to be updated.

Definition at line 66 of file i_vars.c.

void i_vars_libgeda_freenames ( )
Function Description
This function will free all of the default variables for libgeda.

Definition at line 101 of file i_vars.c.


Variable Documentation

int default_init_right = WIDTH_C

Definition at line 45 of file i_vars.c.

int default_init_bottom = HEIGHT_C

Definition at line 46 of file i_vars.c.

char* default_untitled_name = NULL

Definition at line 47 of file i_vars.c.

Definition at line 48 of file i_vars.c.

Definition at line 49 of file i_vars.c.

Definition at line 50 of file i_vars.c.

Definition at line 51 of file i_vars.c.

Definition at line 53 of file i_vars.c.

Definition at line 54 of file i_vars.c.

Definition at line 55 of file i_vars.c.

Definition at line 57 of file i_vars.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines