Diff of /ooDialog/trunk/ooDialog/oodResizableDialog.cpp [r8778] .. [r8779] Maximize Restore

  Switch to unified view

a/ooDialog/trunk/ooDialog/oodResizableDialog.cpp b/ooDialog/trunk/ooDialog/oodResizableDialog.cpp
...
...
808
 * @param prid
808
 * @param prid
809
 * @param ric
809
 * @param ric
810
 */
810
 */
811
static void recalcSizePosition(pResizeInfoDlg prid, pResizeInfoCtrl ric)
811
static void recalcSizePosition(pResizeInfoDlg prid, pResizeInfoCtrl ric)
812
{
812
{
813
    pEdge edge = &ric->edges.left;
814
    ric->currentRect.left = newLeft(prid, ric, edge);
813
    ric->currentRect.left = newLeft(prid, ric, &ric->edges.left);
815
814
816
    edge = &ric->edges.top;
817
    ric->currentRect.top = newTop(prid, ric, edge);
815
    ric->currentRect.top = newTop(prid, ric, &ric->edges.top);
818
816
819
    edge = &ric->edges.right;
820
    ric->currentRect.right = newRight(prid, ric, edge);
817
    ric->currentRect.right = newRight(prid, ric, &ric->edges.right);
821
818
822
    edge = &ric->edges.bottom;
823
    ric->currentRect.bottom = newBottom(prid, ric, edge);
819
    ric->currentRect.bottom = newBottom(prid, ric, &ric->edges.bottom);
824
}
820
}
825
821
826
/**
822
/**
827
 * Resizes and repositions the specified dialog control to its new size and
823
 * Resizes and repositions the specified dialog control to its new size and
828
 * position, using DeferWindowPos(), if the control window is visible.
824
 * position, using DeferWindowPos(), if the control window is visible.