/**
* @brief Drawable is a object class for drawing a vector primitive.
*/
-class CanvasRenderer::Drawable : public BaseHandle
+class DALI_ADAPTOR_API CanvasRenderer::Drawable : public BaseHandle
{
public:
/**
+++ /dev/null
-/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <dali/internal/canvas-renderer/common/canvas-renderer-factory.h>
-#include <dali/internal/canvas-renderer/common/canvas-renderer-impl.h>
-
-namespace Dali
-{
-namespace Internal
-{
-namespace Adaptor
-{
-namespace CanvasRendererFactory
-{
-__attribute__((weak)) Dali::Internal::Adaptor::CanvasRenderer* New(const Vector2& viewBox)
-{
- return new Internal::Adaptor::CanvasRenderer();
-}
-
-} // namespace CanvasRendererFactory
-
-} // namespace Adaptor
-
-} // namespace Internal
-
-} // namespace Dali
+++ /dev/null
-/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <dali/internal/canvas-renderer/common/drawable-factory.h>
-#include <dali/internal/canvas-renderer/common/drawable-impl.h>
-
-namespace Dali
-{
-namespace Internal
-{
-namespace Adaptor
-{
-namespace DrawableFactory
-{
-__attribute__((weak)) Dali::Internal::Adaptor::Drawable* New()
-{
- return new Internal::Adaptor::Drawable();
-}
-
-} // namespace DrawableFactory
-
-} // namespace Adaptor
-
-} // namespace Internal
-
-} // namespace Dali
+++ /dev/null
-/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <dali/internal/canvas-renderer/common/shape-factory.h>
-#include <dali/internal/canvas-renderer/common/shape-impl.h>
-
-namespace Dali
-{
-namespace Internal
-{
-namespace Adaptor
-{
-namespace ShapeFactory
-{
-__attribute__((weak)) Dali::Internal::Adaptor::Shape* New()
-{
- // default implementation returns 'dummy'.
- return new Internal::Adaptor::Shape();
-}
-
-} // namespace ShapeFactory
-
-} // namespace Adaptor
-
-} // namespace Internal
-
-} // namespace Dali
# module: canvas-renderer, backend: generic (android, macos, window)
SET( adaptor_canvas_renderer_generic_src_files
- ${adaptor_canvas_renderer_dir}/common/canvas-renderer-factory.cpp
${adaptor_canvas_renderer_dir}/common/canvas-renderer-impl.cpp
${adaptor_canvas_renderer_dir}/generic/canvas-renderer-factory-generic.cpp
${adaptor_canvas_renderer_dir}/generic/canvas-renderer-impl-generic.cpp
- ${adaptor_canvas_renderer_dir}/common/drawable-factory.cpp
${adaptor_canvas_renderer_dir}/common/drawable-impl.cpp
${adaptor_canvas_renderer_dir}/generic/drawable-factory-generic.cpp
${adaptor_canvas_renderer_dir}/generic/drawable-impl-generic.cpp
- ${adaptor_canvas_renderer_dir}/common/shape-factory.cpp
${adaptor_canvas_renderer_dir}/common/shape-impl.cpp
${adaptor_canvas_renderer_dir}/generic/shape-factory-generic.cpp
${adaptor_canvas_renderer_dir}/generic/shape-impl-generic.cpp
# module: canvas-renderer, backend: ubuntu
SET( adaptor_canvas_renderer_ubuntu_src_files
- ${adaptor_canvas_renderer_dir}/common/canvas-renderer-factory.cpp
${adaptor_canvas_renderer_dir}/common/canvas-renderer-impl.cpp
${adaptor_canvas_renderer_dir}/ubuntu/canvas-renderer-factory-ubuntu.cpp
${adaptor_canvas_renderer_dir}/ubuntu/canvas-renderer-impl-ubuntu.cpp
- ${adaptor_canvas_renderer_dir}/common/drawable-factory.cpp
${adaptor_canvas_renderer_dir}/common/drawable-impl.cpp
${adaptor_canvas_renderer_dir}/ubuntu/drawable-factory-ubuntu.cpp
${adaptor_canvas_renderer_dir}/ubuntu/drawable-impl-ubuntu.cpp
- ${adaptor_canvas_renderer_dir}/common/shape-factory.cpp
${adaptor_canvas_renderer_dir}/common/shape-impl.cpp
${adaptor_canvas_renderer_dir}/ubuntu/shape-factory-ubuntu.cpp
${adaptor_canvas_renderer_dir}/ubuntu/shape-impl-ubuntu.cpp
# module: canvas-renderer, backend: tizen (generic, ivi, mobile, tizen-post, tv, wearable)
SET( adaptor_canvas_renderer_tizen_src_files
- ${adaptor_canvas_renderer_dir}/common/canvas-renderer-factory.cpp
${adaptor_canvas_renderer_dir}/common/canvas-renderer-impl.cpp
${adaptor_canvas_renderer_dir}/tizen/canvas-renderer-factory-tizen.cpp
${adaptor_canvas_renderer_dir}/tizen/canvas-renderer-impl-tizen.cpp
- ${adaptor_canvas_renderer_dir}/common/drawable-factory.cpp
${adaptor_canvas_renderer_dir}/common/drawable-impl.cpp
${adaptor_canvas_renderer_dir}/tizen/drawable-factory-tizen.cpp
${adaptor_canvas_renderer_dir}/tizen/drawable-impl-tizen.cpp
- ${adaptor_canvas_renderer_dir}/common/shape-factory.cpp
${adaptor_canvas_renderer_dir}/common/shape-impl.cpp
${adaptor_canvas_renderer_dir}/tizen/shape-factory-tizen.cpp
${adaptor_canvas_renderer_dir}/tizen/shape-impl-tizen.cpp
*
* Temporarily holds the old GL abstractions whilst dali-core is migrated to the new API.
*/
-DALI_IMPORT_API class EglGraphicsController : public Graphics::Controller
+class EglGraphicsController : public Graphics::Controller
{
public:
/**
\r
// EXTERNAL INCLUDES\r
#include <Windows.h>\r
+\r
+// Need to undef the following constants as they are defined in one of the headers in Windows.h but used in DALi (via debug.h)\r
+#undef TRANSPARENT // Used in constants.h\r
+#undef CopyMemory // Used in dali-vector.h\r
+\r
#include <dali/integration-api/debug.h>\r
\r
// INTERNAL INCLUDES\r
// INTERNAL INCLUDES
#include <dali/internal/adaptor/common/application-impl.h>
-#include <dali/internal/system/common //widget-application-impl.h>
+#include <dali/internal/system/common/widget-application-impl.h>
#include <dali/public-api/adaptor-framework/widget-application.h>
namespace Dali