Change-Id: I63bdd6b2c9cbca2b13ebf4139756540731aa4c4e
Signed-off-by: Jaesung Ku <jaesung.ku@samsung.com>
}
}
+Bitmap*
+_AppResourceImpl::GetNonScalingBitmapN(const Tizen::Base::String& imagePath)
+{
+ _IAppResourceBitmap* pAppResourceBitmap = Tizen::App::_AppResourceImpl::Get_IAppResourceBitmapN(APP_RESOURCE_BITMAP);
+
+ if (pAppResourceBitmap != null)
+ {
+ return pAppResourceBitmap->GetBitmapN(imagePath, BITMAP_PIXEL_FORMAT_INVALID);
+ }
+ else
+ {
+ SysLog(NID_APP, "Getting pAppResourceBitmap instance is failed");
+ }
+}
} } // Tizen::App
{
APP_RESOURCE_DEFAULT,
APP_RESOURCE_BY_APP_ID,
- APP_RESOURCE_BY_LIBRARY_NAME
+ APP_RESOURCE_BY_LIBRARY_NAME,
+ APP_RESOURCE_BITMAP
};
class _AppResourceImpl
static void ReinitializeAll(void);
static result ReleaseInstance(const Tizen::Base::String& key);
+ static Tizen::Graphics::Bitmap* GetNonScalingBitmapN(const Tizen::Base::String& imagePath);
private:
/**
* This is the default constructor for this class.