X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Ftext%2Ffont-wrapper.h;fp=plugins%2Fdali-script-v8%2Fsrc%2Ftext%2Ffont-wrapper.h;h=0000000000000000000000000000000000000000;hp=328416a4cb7dcd72896d9248c7f7a5570a1eb7bb;hb=3e17d9f63dedb5d669409301f8d9a3d8c393f979;hpb=428bd47c26043ccaabab1a64cbc7cbd7ce3c7427 diff --git a/plugins/dali-script-v8/src/text/font-wrapper.h b/plugins/dali-script-v8/src/text/font-wrapper.h deleted file mode 100644 index 328416a..0000000 --- a/plugins/dali-script-v8/src/text/font-wrapper.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef __DALI_V8PLUGIN_FONT_WRAPPER_H__ -#define __DALI_V8PLUGIN_FONT_WRAPPER_H__ - -/* - * Copyright (c) 2015 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. - * - */ - -// EXTERNAL INCLUDES -#include -#include - -// INTERNAL INCLUDES -#include - -namespace Dali -{ - -namespace V8Plugin -{ - - -/** - * An Font wrapper. - * Provides access to Font specific functionality and V8 memory handling. - */ -class FontWrapper : public BaseWrappedObject -{ - -public: - - FontWrapper( const Font& font, - GarbageCollectorInterface& gc ); - - virtual ~FontWrapper() - { - }; - - /** - * @brief Creates a new Font wrapped inside a Javascript Object. - * @note: the actor type ie 'FontFont' is expected to be the name of the callee function. - * @param[in] args v8 function call arguments interpreted - */ - static void NewFont( const v8::FunctionCallbackInfo< v8::Value >& args); - - /** - * Wraps a font - */ - static v8::Handle WrapFont(v8::Isolate* isolate, const Dali::Font& ); - - Font GetFont(); - - static v8::Handle GetStaticFontObject(v8::Isolate* isolate); - -private: - - Font mFont; - static v8::Handle MakeFontTemplate( v8::Isolate* isolate ); - -}; - -} // namespace V8Plugin - -} // namespace Dali - -#endif // __DALI_V8PLUGIN_FONT_WRAPPER_H__