merge with master
[apps/osp/Internet.git] / inc / IntFontManager.h
index a4ac136..73bb351 100644 (file)
-//
-
-// Copyright (c) 2012 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.
-//
-
-//!Internet
-/*@file:    FontManager.h
- *@brief: This header file contains the declarations of the %FontManager class.
- */
-
-#ifndef _INT_FONT_MANAGER_H_
-#define _INT_FONT_MANAGER_H_
-
-#include <FBase.h>
-#include <FGraphics.h>
-
-
-/**
-* @enum        FontId
-*
-* Defines a ID for a different font size
-*
-*/
-enum FontId
-{
-       FONT_INVALID = -1,
-
-       FONT_GT34 = 0,
-       FONT_GT32,
-       FONT_GT30,
-       FONT_GT26,
-       FONT_GT20,
-       FONT_GT14,
-
-       FONT_GP40,
-       FONT_GP38,
-       FONT_GP36,
-       FONT_GP34,
-       FONT_GP30,
-       FONT_GP26,
-       FONT_GP24,
-       FONT_GP18,
-
-       FONT_GS30,
-       FONT_GS34,
-
-       MAX_FONT
-};
-
-/**
-* @struct FontTable
-*
-* Defines a table for text fontName, fontStyle and fontSize
-*
-*/
-struct FontTable
-{
-       Tizen::Graphics::Font* pInstance;
-       Tizen::Base::String fontName;
-       int fontStyle;
-       int fontSize;
-};
-
-/**
- * @class FontManager
- * @brief This class declares functions which can change text font properties
- */
-class FontManager
-{
-public:
-       /**
-        * Gets the font using fontValue
-        *
-        * @return      * This header file contains the declarations of the %FontManager class.
-        *
-        *  pointer to a font value
-        * @param[in]   fontValue       The ID of the font
-        * @remarks             To work properly, the existing fontValue has to be passed.
-        */
-       static Tizen::Graphics::Font* GetFont(FontId fontValue);
-
-       /**
-        * Release all the created fonts
-        *
-        * @return              no return value
-        * @param[in]   no input parameters
-        */
-       static void ReleaseFonts(void);
-
-private:
-       /**
-        * Creates a font using fontValue
-        *
-        * @return              no return value
-        * @param[in]   fontValue       The ID of the font
-        * @remarks             To work properly, the existing fontValue has to be passed.
-        */
-       static void CreateFont(FontId fontValue);
-
-};
-
-
-#endif //_INT_FONT_MANAGER_H_
+//\r
+\r
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
+//\r
+// Licensed under the Flora License, Version 1.0 (the License);\r
+// you may not use this file except in compliance with the License.\r
+// You may obtain a copy of the License at\r
+//\r
+//     http://floralicense.org/license/\r
+//\r
+// Unless required by applicable law or agreed to in writing, software\r
+// distributed under the License is distributed on an AS IS BASIS,\r
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+// See the License for the specific language governing permissions and\r
+// limitations under the License.\r
+//\r
+\r
+//!Internet\r
+/*@file:    FontManager.h\r
+ *@brief: This header file contains the declarations of the %FontManager class.\r
+ */\r
+\r
+#ifndef _INT_FONT_MANAGER_H_\r
+#define _INT_FONT_MANAGER_H_\r
+\r
+#include <FBase.h>\r
+#include <FGraphics.h>\r
+\r
+\r
+/**\r
+* @enum        FontId\r
+*\r
+* Defines a ID for a different font size\r
+*\r
+*/\r
+enum FontId\r
+{\r
+       FONT_INVALID = -1,\r
+\r
+       FONT_GT34 = 0,\r
+       FONT_GT32,\r
+       FONT_GT30,\r
+       FONT_GT26,\r
+       FONT_GT20,\r
+       FONT_GT14,\r
+\r
+       FONT_GP40,\r
+       FONT_GP38,\r
+       FONT_GP36,\r
+       FONT_GP34,\r
+       FONT_GP30,\r
+       FONT_GP26,\r
+       FONT_GP24,\r
+       FONT_GP18,\r
+\r
+       FONT_GS30,\r
+       FONT_GS34,\r
+\r
+       MAX_FONT\r
+};\r
+\r
+/**\r
+* @struct FontTable\r
+*\r
+* Defines a table for text fontName, fontStyle and fontSize\r
+*\r
+*/\r
+struct FontTable\r
+{\r
+       Tizen::Graphics::Font* pInstance;\r
+       Tizen::Base::String fontName;\r
+       int fontStyle;\r
+       int fontSize;\r
+};\r
+\r
+/**\r
+ * @class FontManager\r
+ * @brief This class declares functions which can change text font properties\r
+ */\r
+class FontManager\r
+{\r
+public:\r
+       /**\r
+        * Gets the font using fontValue\r
+        *\r
+        * @return      * This header file contains the declarations of the %FontManager class.\r
+        *\r
+        *  pointer to a font value\r
+        * @param[in]   fontValue       The ID of the font\r
+        * @remarks             To work properly, the existing fontValue has to be passed.\r
+        */\r
+       static Tizen::Graphics::Font* GetFont(FontId fontValue);\r
+\r
+       /**\r
+        * Release all the created fonts\r
+        *\r
+        * @return              no return value\r
+        * @param[in]   no input parameters\r
+        */\r
+       static void ReleaseFonts(void);\r
+\r
+private:\r
+       /**\r
+        * Creates a font using fontValue\r
+        *\r
+        * @return              no return value\r
+        * @param[in]   fontValue       The ID of the font\r
+        * @remarks             To work properly, the existing fontValue has to be passed.\r
+        */\r
+       static void CreateFont(FontId fontValue);\r
+\r
+};\r
+\r
+\r
+#endif //_INT_FONT_MANAGER_H_\r