diff --git a/lpub.h b/lpub.h
index e28896c..9a9ddff 100755
|
a
|
b
|
|
| 109 | 109 | * |
| 110 | 110 | * The cornerstone of this page oriented process is line by line parsing |
| 111 | 111 | * and recognition of the lines in your ldraw file. There are two functions |
| 112 | | * that do this parsing. findPage traverses the model higherarchy, counting |
| 113 | | * pages. One issue is that you do not know the page number at start of |
| 114 | | * step, because non-callout submodels result in pages. findPage is lightweight |
| | 112 | * that do this parsing. findPage traverses the model hierarchy, counting |
| | 113 | * pages. One issue is that you do not know the page number at the start of |
| | 114 | * a step, because non-callout submodels result in pages. findPage is a lightweight |
| 115 | 115 | * mechanism for scanning through the design, and finding the page of interest. |
| 116 | 116 | * at each page boundary, if the current page number is not the desired page |
| 117 | 117 | * and the current page is before the desired page, the state of the parse is |
| … |
… |
|
| 191 | 191 | * drawPage (not the detailed one findPage calls, but a highlevel one |
| 192 | 192 | * that takes no parameters. Draw page converts the LDraw file structure |
| 193 | 193 | * tree (ranges, range, step) and the configuration tree (Meta) into |
| 194 | | * graphical entities. drawPage is a member of LPub (therefore lpub.h, |
| | 194 | * graphical entities. drawPage is a member of LPub (therefore lpub.h), |
| 195 | 195 | * and implemented in traverse.cpp. |
| 196 | 196 | * |
| 197 | 197 | * The LDraw structure tree is composed of classes including: |
| … |
… |
|
| 279 | 279 | * placementdialog lets the user access LPub's placement concept of |
| 280 | 280 | * things placed relative to things with margins in between. |
| 281 | 281 | * |
| 282 | | * The can also use the mouse to drag things around on the page, to change |
| | 282 | * The user can also use the mouse to drag things around on the page, to change |
| 283 | 283 | * placement. The implementations of these movements and their backannotation |
| 284 | 284 | * into the ldraw files are implemented in *item.cpp |
| 285 | 285 | * |
| … |
… |
|
| 318 | 318 | * in conjuction with the undo redo facility. These commands are |
| 319 | 319 | * implemented in commands.(h,cpp). |
| 320 | 320 | * |
| 321 | | * This leaves only a few miscellanous files unexplained. commonmenis.(h,cpp) |
| | 321 | * This leaves only a few miscellanous files unexplained. commonmenus.(h,cpp) |
| 322 | 322 | * could just as easily been named metamenus.(h.cpp). These implement |
| 323 | 323 | * popup menu elements (and their help information) for commonly used |
| 324 | 324 | * meta commands. |
diff --git a/meta.cpp b/meta.cpp
index 031c16d..2e7ed0a 100755
|
a
|
b
|
|
| 21 | 21 | * all the meta-commands that LPub supports. Action metas such as STEP, |
| 22 | 22 | * ROTSTEP, CALLOUT BEGIN, etc. return special return codes. Configuration |
| 23 | 23 | * metas that imply no action, but specify data for later use, retain |
| 24 | | * the onfiguration information, and return a generic OK return code. |
| | 24 | * the configuration information, and return a generic OK return code. |
| 25 | 25 | * |
| 26 | 26 | * The top of tree is the Meta class that is the interface to the traverse |
| 27 | 27 | * function that walks the LDraw model higherarchy. Meta also tracks |