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 <hfiguiere@teaser.fr>:
>
> On 30/07/12 09:08 AM, cvs@abisource.com 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
>
Received on Tue Jul 31 04:52:43 2012
This archive was generated by hypermail 2.1.8 : Tue Jul 31 2012 - 04:52:43 CEST