About Flip History Strategy Guide
This guide is a serie of guides indented for flip developers to assist into different strategies to provide History/Undo/Redo features.
How to Use This Document
If you want to add flip undo/redo support to your application, first read Flip Programming Guide to have a taste of the features that flip can add to your application.
You don't necesseraly need to read each chapter of this manual. Chapters are separated in very specific tasks, for a very specific need.
Prerequisites
You should be familiar with C++ programming, especially templates. You should be also familiar with basic C++ design patterns such as the Singleton or Delegate pattern.
You should be familiar with the MVC design pattern. In a flip managed application, flip acts as the Model part of the MVC design pattern.
See Also
See Flip Framework Reference for details on Flip classes.
Content
This guide presents the following content in a didactic order.
- The chapter Setting up the History exposes the basic setup of the History object
- The chapter Handling a Simple Modification shows a first simple case to record an undo step
- The chapter Handling a Gesture shows how to record history when the modifications span over time
- The chapter Handling a Non-deterministic Gesture shows how to record history when the modifications span over time with a more complex scenario
This guide is intended to be read in its natural chapter order. The first chapter, Setting up the History will guide you through the task of setting up an history to be used with a document.