Dali 3D User Interface Engine
Functions | Variables
anonymous_namespace{utc-Dali-TextField.cpp} Namespace Reference

Functions

static void TestTextChangedCallback (TextField control)
 
static void TestMaxLengthReachedCallback (TextField control)
 
Integration::TapGestureEvent GenerateTap (Gesture::State state, unsigned int numberOfTaps, unsigned int numberOfTouches, Vector2 point)
 
Integration::KeyEvent GenerateKey (const std::string &keyName, const std::string &keyString, int keyCode, int keyModifier, unsigned long timeStamp, const Integration::KeyEvent::State &keyState)
 

Variables

const char *const PROPERTY_NAME_RENDERING_BACKEND = "renderingBackend"
 
const char *const PROPERTY_NAME_TEXT = "text"
 
const char *const PROPERTY_NAME_PLACEHOLDER_TEXT = "placeholderText"
 
const char *const PROPERTY_NAME_PLACEHOLDER_TEXT_FOCUSED = "placeholderTextFocused"
 
const char *const PROPERTY_NAME_FONT_FAMILY = "fontFamily"
 
const char *const PROPERTY_NAME_FONT_STYLE = "fontStyle"
 
const char *const PROPERTY_NAME_POINT_SIZE = "pointSize"
 
const char *const PROPERTY_NAME_MAX_LENGTH = "maxLength"
 
const char *const PROPERTY_NAME_EXCEED_POLICY = "exceedPolicy"
 
const char *const PROPERTY_NAME_HORIZONTAL_ALIGNMENT = "horizontalAlignment"
 
const char *const PROPERTY_NAME_VERTICAL_ALIGNMENT = "verticalAlignment"
 
const char *const PROPERTY_NAME_TEXT_COLOR = "textColor"
 
const char *const PROPERTY_NAME_PLACEHOLDER_TEXT_COLOR = "placeholderTextColor"
 
const char *const PROPERTY_NAME_SHADOW_OFFSET = "shadowOffset"
 
const char *const PROPERTY_NAME_SHADOW_COLOR = "shadowColor"
 
const char *const PROPERTY_NAME_PRIMARY_CURSOR_COLOR = "primaryCursorColor"
 
const char *const PROPERTY_NAME_SECONDARY_CURSOR_COLOR = "secondaryCursorColor"
 
const char *const PROPERTY_NAME_ENABLE_CURSOR_BLINK = "enableCursorBlink"
 
const char *const PROPERTY_NAME_CURSOR_BLINK_INTERVAL = "cursorBlinkInterval"
 
const char *const PROPERTY_NAME_CURSOR_BLINK_DURATION = "cursorBlinkDuration"
 
const char *const PROPERTY_NAME_CURSOR_WIDTH = "cursorWidth"
 
const char *const PROPERTY_NAME_GRAB_HANDLE_IMAGE = "grabHandleImage"
 
const char *const PROPERTY_NAME_GRAB_HANDLE_PRESSED_IMAGE = "grabHandlePressedImage"
 
const char *const PROPERTY_NAME_SCROLL_THRESHOLD = "scrollThreshold"
 
const char *const PROPERTY_NAME_SCROLL_SPEED = "scrollSpeed"
 
const char *const PROPERTY_NAME_SELECTION_HANDLE_IMAGE_LEFT = "selectionHandleImageLeft"
 
const char *const PROPERTY_NAME_SELECTION_HANDLE_IMAGE_RIGHT = "selectionHandleImageRight"
 
const char *const PROPERTY_NAME_SELECTION_HANDLE_PRESSED_IMAGE_LEFT = "selectionHandlePressedImageLeft"
 
const char *const PROPERTY_NAME_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = "selectionHandlePressedImageRight"
 
const char *const PROPERTY_NAME_SELECTION_HANDLE_MARKER_IMAGE_LEFT = "selectionHandleMarkerImageLeft"
 
const char *const PROPERTY_NAME_SELECTION_HANDLE_MARKER_IMAGE_RIGHT = "selectionHandleMarkerImageRight"
 
const char *const PROPERTY_NAME_SELECTION_HIGHLIGHT_COLOR = "selectionHighlightColor"
 
const char *const PROPERTY_NAME_DECORATION_BOUNDING_BOX = "decorationBoundingBox"
 
const char *const PROPERTY_NAME_INPUT_METHOD_SETTINGS = "inputMethodSettings"
 
const char *const PROPERTY_NAME_INPUT_COLOR = "inputColor"
 
const char *const PROPERTY_NAME_ENABLE_MARKUP = "enableMarkup"
 
const char *const PROPERTY_NAME_INPUT_FONT_FAMILY = "inputFontFamily"
 
const char *const PROPERTY_NAME_INPUT_FONT_STYLE = "inputFontStyle"
 
const char *const PROPERTY_NAME_INPUT_POINT_SIZE = "inputPointSize"
 
const int DEFAULT_RENDERING_BACKEND = Dali::Toolkit::Text::DEFAULT_RENDERING_BACKEND
 
const Vector4 PLACEHOLDER_TEXT_COLOR (0.8f, 0.8f, 0.8f, 0.8f)
 
const Dali::Vector4 LIGHT_BLUE (0.75f, 0.96f, 1.f, 1.f)
 
const unsigned int CURSOR_BLINK_INTERVAL = 500u
 
const float TO_MILLISECONDS = 1000.f
 
const float TO_SECONDS = 1.f / TO_MILLISECONDS
 
const float SCROLL_THRESHOLD = 10.f
 
const float SCROLL_SPEED = 300.f
 
static bool gTextChangedCallBackCalled
 
static bool gMaxCharactersCallBackCalled
 

Function Documentation

Integration::KeyEvent anonymous_namespace{utc-Dali-TextField.cpp}::GenerateKey ( const std::string &  keyName,
const std::string &  keyString,
int  keyCode,
int  keyModifier,
unsigned long  timeStamp,
const Integration::KeyEvent::State &  keyState 
)

Definition at line 129 of file utc-Dali-TextField.cpp.

Integration::TapGestureEvent anonymous_namespace{utc-Dali-TextField.cpp}::GenerateTap ( Gesture::State  state,
unsigned int  numberOfTaps,
unsigned int  numberOfTouches,
Vector2  point 
)

Definition at line 113 of file utc-Dali-TextField.cpp.

static void anonymous_namespace{utc-Dali-TextField.cpp}::TestMaxLengthReachedCallback ( TextField  control)
static

Definition at line 105 of file utc-Dali-TextField.cpp.

References tet_infoline().

Referenced by utcDaliTextFieldMaxCharactersReachedN(), and utcDaliTextFieldMaxCharactersReachedP().

Here is the call graph for this function:

Here is the caller graph for this function:

static void anonymous_namespace{utc-Dali-TextField.cpp}::TestTextChangedCallback ( TextField  control)
static

Definition at line 98 of file utc-Dali-TextField.cpp.

References tet_infoline().

Here is the call graph for this function:

Variable Documentation

const unsigned int anonymous_namespace{utc-Dali-TextField.cpp}::CURSOR_BLINK_INTERVAL = 500u

Definition at line 88 of file utc-Dali-TextField.cpp.

const int anonymous_namespace{utc-Dali-TextField.cpp}::DEFAULT_RENDERING_BACKEND = Dali::Toolkit::Text::DEFAULT_RENDERING_BACKEND

Definition at line 83 of file utc-Dali-TextField.cpp.

bool anonymous_namespace{utc-Dali-TextField.cpp}::gMaxCharactersCallBackCalled
static
bool anonymous_namespace{utc-Dali-TextField.cpp}::gTextChangedCallBackCalled
static

Definition at line 95 of file utc-Dali-TextField.cpp.

const Dali::Vector4 anonymous_namespace{utc-Dali-TextField.cpp}::LIGHT_BLUE(0.75f, 0.96f, 1.f, 1.f)
const Vector4 anonymous_namespace{utc-Dali-TextField.cpp}::PLACEHOLDER_TEXT_COLOR(0.8f, 0.8f, 0.8f, 0.8f)
const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_CURSOR_BLINK_DURATION = "cursorBlinkDuration"

Definition at line 62 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_CURSOR_BLINK_INTERVAL = "cursorBlinkInterval"

Definition at line 61 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_CURSOR_WIDTH = "cursorWidth"

Definition at line 63 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_DECORATION_BOUNDING_BOX = "decorationBoundingBox"

Definition at line 75 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_ENABLE_CURSOR_BLINK = "enableCursorBlink"

Definition at line 60 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_ENABLE_MARKUP = "enableMarkup"

Definition at line 78 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_EXCEED_POLICY = "exceedPolicy"

Definition at line 51 of file utc-Dali-TextField.cpp.

Referenced by UtcDaliTextFieldGetPropertyP().

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_FONT_FAMILY = "fontFamily"

Definition at line 47 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_FONT_STYLE = "fontStyle"

Definition at line 48 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_GRAB_HANDLE_IMAGE = "grabHandleImage"

Definition at line 64 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_GRAB_HANDLE_PRESSED_IMAGE = "grabHandlePressedImage"

Definition at line 65 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_HORIZONTAL_ALIGNMENT = "horizontalAlignment"

Definition at line 52 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_INPUT_COLOR = "inputColor"

Definition at line 77 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_INPUT_FONT_FAMILY = "inputFontFamily"

Definition at line 79 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_INPUT_FONT_STYLE = "inputFontStyle"

Definition at line 80 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_INPUT_METHOD_SETTINGS = "inputMethodSettings"

Definition at line 76 of file utc-Dali-TextField.cpp.

Referenced by UtcDaliTextFieldGetPropertyP().

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_INPUT_POINT_SIZE = "inputPointSize"

Definition at line 81 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_MAX_LENGTH = "maxLength"

Definition at line 50 of file utc-Dali-TextField.cpp.

Referenced by UtcDaliTextFieldGetPropertyP().

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_PLACEHOLDER_TEXT = "placeholderText"

Definition at line 45 of file utc-Dali-TextField.cpp.

Referenced by UtcDaliTextFieldGetPropertyP().

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_PLACEHOLDER_TEXT_COLOR = "placeholderTextColor"

Definition at line 55 of file utc-Dali-TextField.cpp.

Referenced by UtcDaliTextFieldGetPropertyP().

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_PLACEHOLDER_TEXT_FOCUSED = "placeholderTextFocused"

Definition at line 46 of file utc-Dali-TextField.cpp.

Referenced by UtcDaliTextFieldGetPropertyP().

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_POINT_SIZE = "pointSize"

Definition at line 49 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_PRIMARY_CURSOR_COLOR = "primaryCursorColor"

Definition at line 58 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_RENDERING_BACKEND = "renderingBackend"

Definition at line 43 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SCROLL_SPEED = "scrollSpeed"

Definition at line 67 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SCROLL_THRESHOLD = "scrollThreshold"

Definition at line 66 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SECONDARY_CURSOR_COLOR = "secondaryCursorColor"

Definition at line 59 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HANDLE_IMAGE_LEFT = "selectionHandleImageLeft"

Definition at line 68 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HANDLE_IMAGE_RIGHT = "selectionHandleImageRight"

Definition at line 69 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HANDLE_MARKER_IMAGE_LEFT = "selectionHandleMarkerImageLeft"

Definition at line 72 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HANDLE_MARKER_IMAGE_RIGHT = "selectionHandleMarkerImageRight"

Definition at line 73 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HANDLE_PRESSED_IMAGE_LEFT = "selectionHandlePressedImageLeft"

Definition at line 70 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = "selectionHandlePressedImageRight"

Definition at line 71 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SELECTION_HIGHLIGHT_COLOR = "selectionHighlightColor"

Definition at line 74 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SHADOW_COLOR = "shadowColor"
const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_SHADOW_OFFSET = "shadowOffset"
const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_TEXT = "text"

Definition at line 44 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_TEXT_COLOR = "textColor"

Definition at line 54 of file utc-Dali-TextField.cpp.

const char* const anonymous_namespace{utc-Dali-TextField.cpp}::PROPERTY_NAME_VERTICAL_ALIGNMENT = "verticalAlignment"
const float anonymous_namespace{utc-Dali-TextField.cpp}::SCROLL_SPEED = 300.f

Definition at line 93 of file utc-Dali-TextField.cpp.

const float anonymous_namespace{utc-Dali-TextField.cpp}::SCROLL_THRESHOLD = 10.f

Definition at line 92 of file utc-Dali-TextField.cpp.

const float anonymous_namespace{utc-Dali-TextField.cpp}::TO_MILLISECONDS = 1000.f

Definition at line 89 of file utc-Dali-TextField.cpp.

const float anonymous_namespace{utc-Dali-TextField.cpp}::TO_SECONDS = 1.f / TO_MILLISECONDS

Definition at line 90 of file utc-Dali-TextField.cpp.

Dali Docs Home
Read more about Dali