readme updates

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@541 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-02-15 20:52:38 +00:00
parent 2dbd75dd80
commit 620422d574
3 changed files with 44 additions and 3 deletions

View File

@ -1,6 +1,5 @@
Design Overview
---------------
The Register Object
-------------------
The register is an infrastructure for building
a modular spread-sheet/matrix/array of cells,
where each cell may have a unique/special
@ -10,6 +9,33 @@ be easy to extend, modular & easy to maintain,
and memory-efficient. It is intended to be used
for building financial apps and spread-sheets.
Features
--------
-- Supported cell types:
Date: display and/or edit of date, can
use accelerator keys to set date
Price/Value: display and or edit of numeric quantity
Text: arbitrary text string display and/or edit
Quickfill: autocompletes user's typed in entry
to match previous entries
Combo: pull-down menu of choices
Recncell: checkbox, click to cycle through values
-- Modular: cells/columns are thier own objects,
new cells & column types can be invented.
-- Easily configurable: layout of cells is programmatically
modifiable.
-- Tabbing order between cells is customizable
-- No assumptions made about source of data, no
predifined financial structure required or enforced.
-- Motif & C based
-- GUI code segregated, theorectially making port to
Qt, GTK easy.
Design Overview
---------------
The register is built of several components:
the "cell", the "cellblock", the "cursor", the
"table", and the "register".
@ -60,6 +86,15 @@ other GUI's (e.g. GTK, QT).
All Motif-specific code appears in the "table".
Apologies
---------
This is not the worlds most elegant design, its
ocasioanly a bit of a hack, occasionally over-complex,
but it more or less works, and should be quite extensible.
Its certainly light-years ahead of its predecessor.
-- Linas Vepstas
-- Feb 1998

View File

@ -18,6 +18,9 @@
#define XFRM_CELL_C 2
#define XFRM_CELL_R 0
#define XTO_CELL_C -1
#define XTO_CELL_R -1
#define XTO_CELL_C 2
#define XTO_CELL_R 1

View File

@ -41,9 +41,12 @@ typedef struct _BasicRegister {
BasicCell * recnCell;
PriceCell * creditCell;
PriceCell * debitCell;
PriceCell * shrsCell;
PriceCell * priceCell;
BasicCell * memoCell;
ComboCell * actionCell;
ComboCell * xfrmCell;
ComboCell * xtoCell;
PriceCell * balanceCell;