UF_UNDO_misc_cb_e (view source)
 
Defined in: uf_undo.h
 
Also known as:
 
Overview
These are the miscellaneous callback types


Data Members

UF_UNDO_misc_cb_set_pre = 0
To call func just before any
mark is set. Definition: the passed
mark_id is the mark id we pass to
the callback when we call it. It is
not the mark_id given here when you
register the callback. In the case of
the current cb_type, the passed mark_id
is is not useful.

UF_UNDO_misc_cb_set_post
to call func just after any mark is set
but before UF_UNDO returns back to the
application that set the mark. The passed
mark_id is the mark id of the mark just set.

UF_UNDO_misc_cb_undo_pre
to call func just before UF_UNDO performs
an undo to mark. The passed mark_id is the
mark id of the mark we are about to undo to.

UF_UNDO_misc_cb_undo_post
to call func just after UF_UNDO performs
an undo to mark but before UF_UNDO returns
to the application that requested the undo.
The passed mark_id is the mark id of the mark
we just undid to.

UF_UNDO_misc_cb_chg_vis
to call func just after a mark has its
visibility changed. The passed mark_id is
the mark id of the mark whose visibility
just changed.

UF_UNDO_misc_cb_type_2_big


 


 
UF_UNDO_misc_cb_ret_e (view source)
 
Defined in: uf_undo.h
 
Also known as:
 
Overview
Miscellaneous Callbacks type; see UF_UNDO_register_misc_cb() for details.
This is the value returned by your miscellaneous callback. It is used by the
PRE and POST callbacks to stop either the setting of a mark or the undoing
of a mark. Extreme caution should be used if using UF_UNDO_misc_cb_stop with
POST (and CHG_VIS) callbacks as the operation will be largely complete and
stopping the operation could cause a corruption of the session.


Data Members

UF_UNDO_misc_cb_continue
Allow the operation

UF_UNDO_misc_cb_stop
Don't allow the operation

UF_UNDO_misc_cb_2_big


 


 
UF_UNDO_user_visibility_e (view source)
 
Defined in: uf_undo.h
 
Also known as:
 
Overview
UF_UNDO_user_visibility_t - this feature allows for applications to
distinguish between two types of marks:
1) UF_UNDO_visible - those the user can get to when
they select the UNDO option, and
2) UF_UNDO_invisible - those that were set by an application for
algorithmic purposes but do NOT represent a state that
the application wants the user going to when they select the
UNDO option. The application will probably request to go to this
mark as part of an algorithm.


Data Members

UF_UNDO_visible
Only perform function on visible marks.

UF_UNDO_invisible
Only perform function on invisible marks.

UF_UNDO_any_vis
Perform function regardless of the visibility
of the mark.

UF_UNDO_visibility_2_big
Must be last. Only used for testing
purpose