X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Futility%2Fnpatch-helper.h;h=da1f55a3fbf6c99a737aeff7a4164fc944628190;hb=HEAD;hp=7a198fed4d28073d91bba380c4746f13809a7cf7;hpb=34a12208b79153fd97e8d1572baf6c25dda1f4f0;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/utility/npatch-helper.h b/dali-toolkit/devel-api/utility/npatch-helper.h index 7a198fe..da1f55a 100644 --- a/dali-toolkit/devel-api/utility/npatch-helper.h +++ b/dali-toolkit/devel-api/utility/npatch-helper.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_NPATCH_HELPER_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -19,25 +19,25 @@ */ // EXTERNAL INCLUDES +#include #include #include -#include // INTERNAL INCLUDES +#include #include -#include namespace Dali { namespace Toolkit { -namespace NPatchHelper +namespace Internal { -/** - * The list that includes stretch pixel ranges - */ -using StretchRanges = Dali::Vector; +class NPatchData; +} +namespace NPatchHelper +{ /** * @brief Creates a Npatch Geometry object * @@ -69,7 +69,6 @@ DALI_TOOLKIT_API Geometry CreateGridGeometry(Uint16Pair gridSize); */ DALI_TOOLKIT_API Geometry CreateBorderGeometry(Uint16Pair gridSize); - /** * @brief Registers a properties for Stretch Ranges * @@ -88,7 +87,7 @@ void RegisterStretchProperties(Renderer& renderer, const char* uniformName, cons */ void ApplyTextureAndUniforms(Renderer& renderer, const Internal::NPatchData* data); -} // namespace NPatchUtility +} // namespace NPatchHelper } // namespace Toolkit