Re: vincent - r31608 - abiword/branches/gsoc2012dialogs/src/wp/ap/xp
Vincent Kang <[email protected]>
| Newsgroups | gmane.editors.abiword.devel |
|---|---|
| Message-ID | <CAKhPGz=nybJ+sZ5UqoffFgaxPr+jT=ozQEj6FDotO87s59PwVQ@mail.gmail.com> |
Hi Hub, Thanks for remind me. the variable 'm_OldWidth' & 'm_OldHeight' is used to remember the Frame Height & Width in last setting scenario. when user change height and width in UI (drag and drop), we will update height and width in FrameFormatDialog correspondingly. Vincent 2012/7/31 Hubert Figuière <[email protected]>: > > On 30/07/12 09:08 AM, [email protected] wrote: >> Modified: abiword/branches/gsoc2012dialogs/src/wp/ap/xp/ap_Dialog_FormatFrame.cpp >> =================================================================== >> --- abiword/branches/gsoc2012dialogs/src/wp/ap/xp/ap_Dialog_FormatFrame.cpp 2012-07-30 16:05:34 UTC (rev 31607) >> +++ abiword/branches/gsoc2012dialogs/src/wp/ap/xp/ap_Dialog_FormatFrame.cpp 2012-07-30 16:08:46 UTC (rev 31608) >> @@ -129,8 +129,8 @@ >> m_height(1.0f), >> m_sWidth("0.00pt"), >> m_sHeight("0.00pt"), >> - m_sOldWidth("0.00pt"), >> - m_sOldHeight("0.00pt") >> + m_OldWidth(1.0f), >> + m_OldHeight(1.0f) > > > You initialize with float value a member variable defined as UT_sint32. > What gives? > > > Hub >