Changeset 85 for trunk/src/helpers


Ignore:
Timestamp:
Jul 6, 2001, 6:57:59 PM (24 years ago)
Author:
umoeller
Message:

Misc changes.

Location:
trunk/src/helpers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/dialog.c

    r83 r85  
    212212 ********************************************************************/
    213213
    214 #define PM_GROUP_SPACING_X          20
    215 #define PM_GROUP_SPACING_TOP        30
     214#define PM_GROUP_SPACING_X          10
     215#define PM_GROUP_SPACING_TOP        20
    216216
    217217VOID ProcessTable(PTABLEDEF pTableDef,
  • trunk/src/helpers/textview.c

    r47 r85  
    12661266                            {
    12671267                                pWordThis->lX = flbuf.lXCurrent;
    1268                                 pWordThis->pvRectangle = (PVOID)pRect;
     1268                                pWordThis->pRectangle = pRect;
    12691269                                lstAppendItem(&pRect->llWords, pWordThis);
    12701270                                ulWordsInThisRect++;
     
    13101310
    13111311                                // store word in rectangle
    1312                                 pWordThis->pvRectangle = (PVOID)pRect;
     1312                                pWordThis->pRectangle = pRect;
    13131313                                lstAppendItem(&pRect->llWords, pWordThis);
    1314                                             // ### memory leak right here!!!
     1314                                            // @@todo memory leak right here!!!
    13151315                                ulWordsInThisRect++;
    13161316
     
    21382138    POINTL ptlStart;
    21392139    ULONG flOptions = pWordThis->flOptions;
    2140     PTXVRECTANGLE pLineRcl = (PTXVRECTANGLE)pWordThis->pvRectangle;
     2140    PTXVRECTANGLE pLineRcl = pWordThis->pRectangle;
    21412141
    21422142    RECTL           rclLine;
     
    30313031                    if (pWord)
    30323032                    {
    3033                         PTXVRECTANGLE pRect = (PTXVRECTANGLE)pWord->pvRectangle;
     3033                        PTXVRECTANGLE pRect = pWord->pRectangle;
    30343034                        ULONG ulWinCY = (ptxvd->rclViewText.yTop - ptxvd->rclViewText.yBottom);
    30353035
  • trunk/src/helpers/tree.c

    r83 r85  
    114114 *
    115115 *      -- Fully balanced trees can be quite expensive because on
    116  *         every insertion or deletion, the tree nodes must be reordered.
     116 *         every insertion or deletion, the tree nodes must be rotated.
    117117 *         By contrast, "Red-black" binary balanced trees contain
    118118 *         an additional bit in each node which marks the node as
    119119 *         either red or black. This bit is used only for efficient
    120120 *         rebalancing when inserting or deleting nodes.
    121  *
    122  *         The color of each node is instrumental in determining the
    123  *         balance of the tree. During insert and delete operations,
    124  *         nodes may be rotated to maintain tree balance.
    125121 *
    126122 *         I don't fully understand why this works, but if you really
  • trunk/src/helpers/winh.c

    r83 r85  
    258258 *
    259259 ********************************************************************/
     260
     261/*
     262 *@@ winhQueryWindowStyle:
     263 *
     264 *@@added V0.9.13 (2001-07-02) [umoeller]
     265 */
     266
     267ULONG winhQueryWindowStyle(HWND hwnd)
     268{
     269    return (WinQueryWindowULong(hwnd, QWL_STYLE));
     270}
    260271
    261272/*
Note: See TracChangeset for help on using the changeset viewer.