Blog: LPub4 for Linux, 4th iteration: lpub4-1-dev-doc-fixes.patch

File lpub4-1-dev-doc-fixes.patch, 3.0 KB (added by retracile, 10 years ago)
  • lpub.h

    diff --git a/lpub.h b/lpub.h
    index e28896c..9a9ddff 100755
    a b  
    109109 *
    110110 *   The cornerstone of this page oriented process is line by line parsing
    111111 *   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
    115115 *   mechanism for scanning through the design, and finding the page of interest.
    116116 *   at each page boundary, if the current page number is not the desired page
    117117 *   and the current page is before the desired page, the state of the parse is
     
    191191 *   drawPage (not the detailed one findPage calls, but a highlevel one
    192192 *   that takes no parameters.  Draw page converts the LDraw file structure
    193193 *   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),
    195195 *   and implemented in traverse.cpp.
    196196 *
    197197 *   The LDraw structure tree is composed of classes including:
     
    279279 *   placementdialog lets the user access LPub's placement concept of
    280280 *   things placed relative to things with margins in between.
    281281 *
    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
    283283 *   placement.  The implementations of these movements and their backannotation
    284284 *   into the ldraw files are implemented in *item.cpp
    285285 *
     
    318318 *   in conjuction with the undo redo facility.  These commands are
    319319 *   implemented in commands.(h,cpp).
    320320 *
    321  *   This leaves only a few miscellanous files unexplained.  commonmenis.(h,cpp)
     321 *   This leaves only a few miscellanous files unexplained.  commonmenus.(h,cpp)
    322322 *   could just as easily been named metamenus.(h.cpp).  These implement
    323323 *   popup menu elements (and their help information) for commonly used
    324324 *   meta commands.
  • meta.cpp

    diff --git a/meta.cpp b/meta.cpp
    index 031c16d..2e7ed0a 100755
    a b  
    2121 * all the meta-commands that LPub supports.  Action metas such as STEP,
    2222 * ROTSTEP, CALLOUT BEGIN, etc. return special return codes.  Configuration
    2323 * 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.
    2525 *
    2626 * The top of tree is the Meta class that is the interface to the traverse
    2727 * function that walks the LDraw model higherarchy.  Meta also tracks