Fixed the counter values in audioEncoder and player overlayregion bound:N_SE-30756
authorrahul varna <rahul.varna@samsung.com>
Sat, 30 Mar 2013 01:18:22 +0000 (10:18 +0900)
committerrahul varna <rahul.varna@samsung.com>
Sat, 30 Mar 2013 01:18:22 +0000 (10:18 +0900)
Signed-off-by: rahul varna <rahul.varna@samsung.com>
project/src/Codec/AudioEncoderForm.cpp
project/src/Player/PlayerForm.cpp

index 51958aa..aa26a51 100644 (file)
@@ -241,6 +241,7 @@ AudioEncoderForm::OnInitializing(void)
 
        GetPathFromConfig();
        EditFileName(0, 0, 0, 0, 0);
+       SetHeaderSuffix("(%d/%d)", __configFileCount+1, count);
 
        __pProgressBar = static_cast< Progress* >(GetControl(L"IDC_PROGRESS1"));
        TryCatch(__pProgressBar != null, r = E_SYSTEM, "Error Occurred");
index d9f4893..b38d847 100644 (file)
@@ -154,6 +154,7 @@ PlayerForm::CreateOverlayRegion(void)
        if (modified)
        {
                AppLog("Bounds is modified to (%d,%d,%d,%d)", rect.x, rect.y, rect.width, rect.height);
+               GetControl(L"IDC_BUTTON1")->SetBounds(rect); //bounds of overlay region is depending on hardware spec
        }
 
        AppLog("Overlay region width = %d  height = %d", rect.width, rect.height);