xa_undo.c File Reference


Detailed Description

Undo-Window-Funktions UI_undo_.

=====================================================
Liste_Funktionen_Beginn:

UI_undo_undo        Ctrl Z clicked (< UI_EdKeyPress)
UI_undo_redo        Ctrl Y clicked (< UI_EdKeyPress)
UI_undo_add2        neu generierte Zeile in die Undo-Liste zufuegen
   < UI_EdKeyCR IE_cad_OK ED_Run

UI_undo_sel         Eine Zeile der Undo-Liste wurde selektiert.
UI_undo_work        change (delete/activate) a line in UndoList
  < UI_EdKeyPress UI_undo_group 

UI_undo_add1        Zeile Nr lNr in die Undo-Liste zufuegen
UI_undo_group       undo nach zB delete object with its children
UI_undo_insert      add (prepend) item to UndoList
UI_undo_clear       clear (delete) UndoList
  < AP_src_new AP_APT_clean UI_save__ UI_expMockup Mod_cre_CB Mod_m2s_CB ..

UI_undo_Win         create UndoList

UI_undo_set_ustat   set uStat    UNUSED

UI_undo_get_ustat   get uStat    UNUSED
UI_undo_ck_lNr      recNr von Line lNr (< AP_obj_del2)
UI_undo_ck_rec      LineNr von  recNr   UNUSED

Liste_Funktionen_Ende:
=====================================================

#include "MS_Def0.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_txfil.h"
#include "../gtk/ut_gtk.h"
#include "../gr/ut_UI.h"
#include "xa.h"
#include "xa_ui.h"
#include "xa_undo.h"
#include "ut_ui_TX.h"

Defines

#define UNDO_RESTORE   0
#define UNDO_DELETE   1

Functions

int UI_undo_clear ()
 ====================================================================
int UI_undo_add_ (int lNr, char *cbuf)
 ====================================================================
int UI_undo_lNr (int lNr, int iNr)
 ================================================================
int UI_undo_do (int mode)
 ================================================================
int UI_undo_lmod ()
 ====================================================================
int UI_undo_Win (GtkWidget *parent)
 ====================================================================

Variables

AP_STAT AP_stat
 progress of Start
static int undo_lNr = 0
static int undo_lTab [100]
static int undo_lact = -1
static GtkWidget * wUndo


Define Documentation

#define UNDO_RESTORE   0

#define UNDO_DELETE   1


Function Documentation

int UI_undo_clear (  ) 

====================================================================

====================================================================

int UI_undo_add_ ( int  lNr,
char *  cbuf 
)

====================================================================

==================================================================== neu generierte Zeile in die Undo-Liste zufuegen

int UI_undo_lNr ( int  lNr,
int  iNr 
)

================================================================

================================================================ delete Line Nr lNr wird nur von AP_SMD_del gerufen ..

int UI_undo_do ( int  mode  ) 

================================================================

================================================================ UI_undo_do Ctrl-Z or Ctrl-Y clicked mode: 0=Restore; 1=Delete restore must use the last deleted obj.

int UI_undo_lmod (  ) 

====================================================================

==================================================================== display Label

int UI_undo_Win ( GtkWidget *  parent  ) 

====================================================================

==================================================================== create Liste


Variable Documentation

progress of Start

   1 starting
   2 voll initialisert.
  65 Batch, else interaktiv.

int undo_lNr = 0 [static]

int undo_lTab[100] [static]

int undo_lact = -1 [static]

GtkWidget* wUndo [static]


Generated on Sat May 30 09:31:57 2009 for gCAD3D by  doxygen 1.5.6