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

Functions

static void TestTextChangedCallback (TextEditor 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_TEXT_COLOR = "textColor"
 
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_HORIZONTAL_ALIGNMENT = "horizontalAlignment"
 
const char *const PROPERTY_NAME_SCROLL_THRESHOLD = "scrollThreshold"
 
const char *const PROPERTY_NAME_SCROLL_SPEED = "scrollSpeed"
 
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_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_ENABLE_MARKUP = "enableMarkup"
 
const char *const PROPERTY_NAME_INPUT_COLOR = "inputColor"
 
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 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
 

Function Documentation

Integration::KeyEvent anonymous_namespace{utc-Dali-TextEditor.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 112 of file utc-Dali-TextEditor.cpp.

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

Definition at line 96 of file utc-Dali-TextEditor.cpp.

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

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

References tet_infoline().

Referenced by utcDaliTextEditorTextChangedP(), utcDaliTextFieldTextChangedN(), and utcDaliTextFieldTextChangedP().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

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

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

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

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

bool anonymous_namespace{utc-Dali-TextEditor.cpp}::gTextChangedCallBackCalled
static
const Dali::Vector4 anonymous_namespace{utc-Dali-TextEditor.cpp}::LIGHT_BLUE(0.75f, 0.96f, 1.f, 1.f)
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_CURSOR_BLINK_DURATION = "cursorBlinkDuration"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_CURSOR_BLINK_INTERVAL = "cursorBlinkInterval"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_CURSOR_WIDTH = "cursorWidth"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_DECORATION_BOUNDING_BOX = "decorationBoundingBox"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_ENABLE_CURSOR_BLINK = "enableCursorBlink"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_ENABLE_MARKUP = "enableMarkup"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_FONT_FAMILY = "fontFamily"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_FONT_STYLE = "fontStyle"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_GRAB_HANDLE_IMAGE = "grabHandleImage"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_GRAB_HANDLE_PRESSED_IMAGE = "grabHandlePressedImage"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_HORIZONTAL_ALIGNMENT = "horizontalAlignment"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_INPUT_COLOR = "inputColor"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_INPUT_FONT_FAMILY = "inputFontFamily"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_INPUT_FONT_STYLE = "inputFontStyle"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_INPUT_POINT_SIZE = "inputPointSize"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_POINT_SIZE = "pointSize"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_PRIMARY_CURSOR_COLOR = "primaryCursorColor"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_RENDERING_BACKEND = "renderingBackend"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SCROLL_SPEED = "scrollSpeed"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SCROLL_THRESHOLD = "scrollThreshold"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SECONDARY_CURSOR_COLOR = "secondaryCursorColor"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HANDLE_IMAGE_LEFT = "selectionHandleImageLeft"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HANDLE_IMAGE_RIGHT = "selectionHandleImageRight"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HANDLE_MARKER_IMAGE_LEFT = "selectionHandleMarkerImageLeft"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HANDLE_MARKER_IMAGE_RIGHT = "selectionHandleMarkerImageRight"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HANDLE_PRESSED_IMAGE_LEFT = "selectionHandlePressedImageLeft"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HANDLE_PRESSED_IMAGE_RIGHT = "selectionHandlePressedImageRight"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_SELECTION_HIGHLIGHT_COLOR = "selectionHighlightColor"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_TEXT = "text"
const char* const anonymous_namespace{utc-Dali-TextEditor.cpp}::PROPERTY_NAME_TEXT_COLOR = "textColor"
const float anonymous_namespace{utc-Dali-TextEditor.cpp}::SCROLL_SPEED = 300.f

Definition at line 84 of file utc-Dali-TextEditor.cpp.

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

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

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

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

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

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

Dali Docs Home
Read more about Dali