X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-test-application.h;h=8722ab33d8e3170a47ba1501ef4185b089931d44;hb=03c2c6f58b8812f93b2a396a22a26817aec2ad71;hp=a90881c87661f4cb5f8b848b0e2e77d773d836be;hpb=fa6279fb2830427d5ab569ca14e6ade1557ef2fa;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h index a90881c..8722ab3 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-test-application.h @@ -1,26 +1,26 @@ #ifndef __DALI_TOOLKIT_TEST_APPLICATION_H__ #define __DALI_TOOLKIT_TEST_APPLICATION_H__ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.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://floralicense.org/license/ -// -// 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. -// +/* + * Copyright (c) 2014 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. + * + */ // INTERNAL INCLUDES #include -#include "toolkit-adaptor.h" #include "toolkit-orientation.h" namespace Dali @@ -49,18 +49,12 @@ public: mCore = NULL; } - inline ToolkitAdaptor& GetAdaptor() - { - return mAdaptor; - } - //ToolkitOrientation& GetOrientation() //{ //return mOrientation; //} private: - ToolkitAdaptor mAdaptor; //ToolkitOrientation mOrientation; }; @@ -68,7 +62,7 @@ private: inline ImageActor CreateSolidColorImageActor(ToolkitTestApplication& application, const Vector4& color, int width, int height) { - ImageActor actor = ImageActor::New(CreateBitmapImage(width, height, color)); + ImageActor actor = ImageActor::New(CreateBufferImage(width, height, color)); application.SendNotification(); application.Render(); return actor;