1 #ifndef DALI_TOOLKIT_TEXT_CONTROLLER_INPUT_FONT_HANDLER_H
2 #define DALI_TOOLKIT_TEXT_CONTROLLER_INPUT_FONT_HANDLER_H
5 * Copyright (c) 2022 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
25 #include <dali-toolkit/internal/text/controller/text-controller.h>
26 #include <dali-toolkit/internal/text/text-definitions.h>
34 struct Controller::InputFontHandler
36 static void SetInputFontFamily(Controller& controller, const std::string& fontFamily);
37 static std::string GetInputFontFamily(const Controller& controller);
38 static void SetInputFontWeight(const Controller& controller, FontWeight weight);
39 static bool IsInputFontWeightDefined(const Controller& controller);
40 static FontWeight GetInputFontWeight(const Controller& controller);
41 static void SetInputFontWidth(Controller& controller, FontWidth width);
42 static bool IsInputFontWidthDefined(const Controller& controller);
43 static FontWidth GetInputFontWidth(const Controller& controller);
44 static void SetInputFontSlant(Controller& controller, FontSlant slant);
45 static bool IsInputFontSlantDefined(const Controller& controller);
46 static FontSlant GetInputFontSlant(const Controller& controller);
47 static void SetInputFontPointSize(Controller& controller, float size);
48 static float GetInputFontPointSize(const Controller& controller);
53 } // namespace Toolkit
57 #endif // DALI_TOOLKIT_TEXT_CONTROLLER_INPUT_FONT_HANDLER_H