gschem

o_undo.c File Reference

#include <config.h>
#include <stdio.h>
#include <math.h>
#include "gschem.h"
Include dependency graph for o_undo.c:

Go to the source code of this file.

Defines

#define UNDO_PADDING   5

Functions

void o_undo_init (void)
void o_undo_savestate (GSCHEM_TOPLEVEL *w_current, int flag)
char * o_undo_find_prev_filename (UNDO *start)
GList * o_undo_find_prev_object_head (UNDO *start)
void o_undo_callback (GSCHEM_TOPLEVEL *w_current, int type)
void o_undo_cleanup (void)
void o_undo_remove_last_undo (GSCHEM_TOPLEVEL *w_current)

Variables

static int undo_file_index = 0
static int prog_pid = 0
static char * tmp_path = NULL

Define Documentation

#define UNDO_PADDING   5

Definition at line 45 of file o_undo.c.


Function Documentation

void o_undo_init ( void  )
Todo:
Finish function documentation!!!
Function Description

Definition at line 52 of file o_undo.c.

void o_undo_savestate ( GSCHEM_TOPLEVEL w_current,
int  flag 
)
Todo:
Finish function documentation!!!
Function Description

flag can be one of the following values:

*
UNDO_ALL
*
UNDO_VIEWPORT_ONLY

Definition at line 76 of file o_undo.c.

Here is the call graph for this function:

char* o_undo_find_prev_filename ( UNDO *  start)
Todo:
Finish function documentation!!!
Function Description

Definition at line 246 of file o_undo.c.

GList* o_undo_find_prev_object_head ( UNDO *  start)
Todo:
Finish function documentation!!!
Function Description

Definition at line 267 of file o_undo.c.

void o_undo_callback ( GSCHEM_TOPLEVEL w_current,
int  type 
)
Todo:
Finish function documentation!!!
Function Description

type can be one of the following values:

*
UNDO_ACTION
*
REDO_ACTION

Definition at line 293 of file o_undo.c.

Here is the call graph for this function:

void o_undo_cleanup ( void  )
Todo:
Finish function documentation!!!
Function Description

Definition at line 459 of file o_undo.c.

void o_undo_remove_last_undo ( GSCHEM_TOPLEVEL w_current)
Todo:
Finish function documentation!!!
Function Description

Definition at line 480 of file o_undo.c.


Variable Documentation

int undo_file_index = 0 [static]

Definition at line 37 of file o_undo.c.

int prog_pid = 0 [static]

Definition at line 38 of file o_undo.c.

char* tmp_path = NULL [static]

Definition at line 40 of file o_undo.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines