Macros | |
#define | D4D_VERSION |
There is stored version number of eGUI in string format - DO NOT CHANGE To check release history - read the release_notes.txt file. More... | |
#define | D4D_MCU_TYPE |
This macro is used to select the running platform of eGUI code. If not defined, the Kinetis platform is used as a default. More... | |
#define | D4D_SCREEN_HISTORY |
This macro is used to set the screen buffer depth. If not defined, the 5 is used as a default. More... | |
#define | D4D_ROUND_CORNER_ENABLE |
This macro is used to enable the round corners feature. If not defined, the round corners are disabled as a default. More... | |
#define | D4D_FONT_TABLE_DISABLED |
This macro is used to enable the drawing fonts feature. If not defined, the fonts are disabled as a default. More... | |
#define | D4D_SCREEN_SIZE_LONGER_SIDE |
This macro is used to define the size of longer side of LCD. If not defined, the longer side is set to 320 as a default. More... | |
#define | D4D_SCREEN_SIZE_SHORTER_SIDE |
This macro is used to define the size of shorter side of LCD. If not defined, the shorter side is set to 240 as a default. More... | |
#define | D4D_MCU_BUS_CLOCK |
This macro is used to define the bus clock of MCU that's eGUI runs. If not defined, the 24MHz as a default. More... | |
#define | D4D_COLOR_SYSTEM_FORE |
This macro is used to define the system fore color (For example used in touch screen calibration). If not defined, the system fore color is sets D4D_COLOR_YELLOW as a default. More... | |
#define | D4D_COLOR_SYSTEM_BCKG |
This macro is used to define the system background color (For example used in touch screen calibration). If not defined, the system background color is sets D4D_COLOR_BLACK as a default. More... | |
#define | D4D_FONT_SYSTEM_DEFAULT |
This macro is used to define the system font index (For example used in touch screen calibration). If not defined, the system font index is sets 0 as a default. More... | |
#define | D4D_BMP_EXTSRC_SUPPORT_D4D |
This macro is used to enable external D4D bitmap support. If not defined, the external D4D bitmap support is disabled as a default. More... | |
#define | D4D_BMP_EXTSRC_SUPPORT_BMP |
This macro is used to enable external MicroSoft BMP bitmap support. If not defined, the external MicroSoft BMP bitmap support is disabled as a default. More... | |
#define | D4D_EXTSRC_TEXT_ENABLE |
This macro is used to enable external texts support. If not defined, the external texts support is disabled as a default. More... | |
#define | D4D_EXTSRC_FILE_ENABLE |
This macro is used to enable external files support. If not defined, the external external file support is enabled based on external texts and bitmap support. More... | |
#define | D4D_EXTSRC_BUFF_SIZE |
This macro is used to specify size of buffer that is using when external file support is enabled. If not defined, the external buffer size is set 64 as a default. More... | |
#define | D4D_LLD_FLUSH_ELEMENT |
This macro is used to enable calling flush output with drawing each elementary graphic element. If not defined, the flushing after each elementary part is disabled as a default. More... | |
#define | D4D_DEBUG |
This macro is used to enable some extra debug functionality. If not defined, the debug functionality is disabled as a default. More... | |
#define | D4D_ENDIAN_BIG |
Constant for Big Endianism. More... | |
#define | D4D_ENDIAN_LITTLE |
Constant for Little Endianism. More... | |
#define | D4D_ENDIAN |
This macro is used to specify current Endianim of CPU architecture. If not defined, the macro is defined by used CPU type as a default. More... | |
#define | D4D_ALIGN_MASK |
The aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_H_MASK |
The horizontal aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_H_LEFT_MASK |
The horizontal left aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_H_RIGHT_MASK |
The horizontal right aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_H_CENTER_MASK |
The horizontal center aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_V_MASK |
The vertical aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_V_TOP_MASK |
The vertical top aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_V_BOTTOM_MASK |
The vertical bottom aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_ALIGN_V_CENTER_MASK |
The vertical center aligment option mask (for texts and also bitmaps). More... | |
#define | D4D_KEY_UP |
This macro is used to specify Key UP in mask mode (obsolete). If not defined, it sets to 0x01 as a default. More... | |
#define | D4D_KEY_DOWN |
This macro is used to specify Key DOWN in mask mode (obsolete). If not defined, it sets to 0x02 as a default. More... | |
#define | D4D_KEY_LEFT |
This macro is used to specify Key LEFT in mask mode (obsolete). If not defined, it sets to 0x04 as a default. More... | |
#define | D4D_KEY_RIGHT |
This macro is used to specify Key RIGHT in mask mode (obsolete). If not defined, it sets to 0x08 as a default. More... | |
#define | D4D_KEY_ENTER |
This macro is used to specify Key ENTER in mask mode (obsolete). If not defined, it sets to 0x10 as a default. More... | |
#define | D4D_KEY_ESC |
This macro is used to specify Key ESC in mask mode (obsolete). If not defined, it sets to 0x20 as a default. More... | |
#define | D4D_KEY_SCANCODE_UP |
This macro is used to specify Key Scan Code UP. If not defined, it sets to 0x51 as a default. More... | |
#define | D4D_KEY_SCANCODE_DOWN |
This macro is used to specify Key Scan Code DOWN. If not defined, it sets to 0x50 as a default. More... | |
#define | D4D_KEY_SCANCODE_LEFT |
This macro is used to specify Key Scan Code LEFT. If not defined, it sets to 0x4B as a default. More... | |
#define | D4D_KEY_SCANCODE_RIGHT |
This macro is used to specify Key Scan Code RIGHT. If not defined, it sets to 0x4D as a default. More... | |
#define | D4D_KEY_SCANCODE_ENTER |
This macro is used to specify Key Scan Code ENTER. If not defined, it sets to 0x1C as a default. More... | |
#define | D4D_KEY_SCANCODE_ESC |
This macro is used to specify Key Scan Code ESC. If not defined, it sets to 0x01 as a default. More... | |
#define | D4D_KEY_SCANCODE_KEYMASK |
Mask of scan code for key index. Lower 7 bits of Byte. More... | |
#define | D4D_KEY_SCANCODE_RELEASEMASK |
Mask of scan code for key release. MSB bit of Byte. If this bit is clear, the goes down, if sets the key is released. More... | |
#define | D4D_KEY_FUNC_FOCUS_NEXT |
This macro is used to specify standard system function to to set focus to next object. If not defined, it sets to D4D_KEY_SCANCODE_DOWN as a default. More... | |
#define | D4D_KEY_FUNC_FOCUS_PREV |
This macro is used to specify standard system function to to set focus to previous object. If not defined, it sets to D4D_KEY_SCANCODE_UP as a default. More... | |
#define | D4D_KEYS_BUFF_LENGTH |
This macro is used to specify leght of keybord events buffer. If not defined, it sets to 4 events as a default. More... | |
#define | D4DTCH_CALIB_CROSS_OFFSET |
This macro is used in touch screen calibration to define offset of calibration points from edge of LCD. If not defined, it sets to 30 pixels as a default. More... | |
#define | D4D_OBJECT_DRAWFLAGS_COMPLETE |
Draw complete flag. More... | |
#define | D4D_OBJECT_DRAWFLAGS_FOCUSED |
Draw fosused state flag. More... | |
#define | D4D_OBJECT_DRAWFLAGS_CAPTURING |
Draw capturing state flag. More... | |
#define | D4D_OBJECT_DRAWFLAGS_STATE |
Draw just change of state flag. More... | |
#define | D4D_TCHSCR_STATUS_TOUCHED |
#define | D4D_TCHSCR_STATUS_RESERVED |
#define | D4D_TCHSCR_STATUS_NEWTOUCH |
#define | D4D_TCHSCR_STATUS_RESERVED1 |
#define | D4D_TCHSCR_STATUS_LOSTTOUCH |
#define | D4D_TCHSCR_STATUS_NEWRAWEVENT |
#define | D4D_TCHSCR_STATUS_NEWEVENT |
#define | D4D_TCHSCR_STATUS_CHECKTOUCH |
#define | D4D_TCHSCR_STATUS_EVENTS |
#define | D4D_SYSTEM_F_TIMETICK |
#define | D4D_SYSTEM_F_SYSTEM_KEYS_DISABLE |
#define | D4D_SWAP_WORD(x) |
Macro that swap bytes into 16-bit variable. More... | |
#define | D4D_LOG_EXOR(a, b) |
Macro that do logical EX-OR on the input variables. More... | |
#define | D4D_UNUSED(x) |
Macro used just for notify compiler that the input parameter is not used. More... | |
#define | D4D_TEXT_LEN(txt) |
Macro used to get count of chars in constant strings. More... | |
#define | D4D_CONST |
#define | D4D_NO_CONST |
#define | D4D_GetKeys() |
#define | D4D_GetTextBuffWidthTabAdj(text_buffer, pTab) |
Function gets the string width in pixels and counts with tabulator table. More... | |
#define | D4D_GetTextBuffWidth(text_buffer) |
Function gets the string width in pixels. More... | |
#define | D4D_SCRATCHPAD_SIZE |
Call back function raised by any new input event (touch, mouse, keys). More... | |
#define | D4D_ASSERT(cond) |
Typedefs | |
typedef Byte | D4D_OBJECT_DRAWFLAGS |
Drawing object flags type, handled to object in D4D_MSG_DRAW events. More... | |
typedef struct D4D_MESSAGE_S | D4D_MESSAGE |
D4D object messages structure. More... | |
typedef Byte | D4D_TOUCHSCREEN_STATUS |
typedef Byte | D4D_SYSTEM_FLAGS |
Enumerations | |
enum | D4D_MSGID { D4D_MSG_NONE, D4D_MSG_ONINIT, D4D_MSG_DRAW, D4D_MSG_DRAWDONE, D4D_MSG_SETFOCUS, D4D_MSG_KILLFOCUS, D4D_MSG_SETCAPTURE, D4D_MSG_KILLCAPTURE, D4D_MSG_KEYUP, D4D_MSG_KEYDOWN, D4D_MSG_TOUCHED, D4D_MSG_TOUCH_AUTO, D4D_MSG_TOUCH_LOST, D4D_MSG_UNTOUCHED, D4D_MSG_MOUSE_BTN_LEFT_DOWN, D4D_MSG_MOUSE_BTN_LEFT_UP, D4D_MSG_MOUSE_BTN_RIGHT_DOWN, D4D_MSG_MOUSE_BTN_RIGHT_UP, D4D_MSG_MOUSE_BTN_MIDDLE_DOWN, D4D_MSG_MOUSE_BTN_MIDDLE_UP, D4D_MSG_MOUSE_BTN_WHEEL_UP, D4D_MSG_MOUSE_BTN_WHEEL_DOWN, D4D_MSG_MOUSE_ENTER, D4D_MSG_MOUSE_LEAVE, D4D_MSG_TIMETICK } |
D4D object messages types enumeration. More... | |
enum | D4D_MSG_HANDLER_ACTION { D4D_MSG_NOSKIP, D4D_MSG_SKIP } |
enum | D4D_EVENTID { D4D_EVENT_ONCLICK, D4D_EVENT_ONDOUBLECLICK, D4D_EVENT_ONCHANGE, D4D_EVENT_ONCHANGEDONE, D4D_EVENT_ONRELOAD, D4D_EVENT_ONCLEAR, D4D_EVENT_CNT } |
D4D events that is handled by object callback functions. More... | |
Variables | |
Byte | d4d_scratchPad [D4D_SCRATCHPAD_SIZE] |
const D4D_MARGIN | d4d_marginDefault |
D4D Driver core and base functions header file.
Definition in file d4d_base.h.
#define D4D_ASSERT | ( | cond | ) |
Definition at line 583 of file d4d_base.h.
#define D4D_CONST |
Definition at line 520 of file d4d_base.h.
#define D4D_GetKeys | ( | ) |
Definition at line 523 of file d4d_base.h.
#define D4D_NO_CONST |
Definition at line 521 of file d4d_base.h.
#define D4D_SCRATCHPAD_SIZE |
Call back function raised by any new input event (touch, mouse, keys).
Definition at line 579 of file d4d_base.h.
#define D4D_SYSTEM_F_SYSTEM_KEYS_DISABLE |
Definition at line 473 of file d4d_base.h.
#define D4D_SYSTEM_F_TIMETICK |
Definition at line 472 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_CHECKTOUCH |
Definition at line 464 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_EVENTS |
Definition at line 466 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_LOSTTOUCH |
Definition at line 461 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_NEWEVENT |
Definition at line 463 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_NEWRAWEVENT |
Definition at line 462 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_NEWTOUCH |
Definition at line 459 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_RESERVED |
Definition at line 458 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_RESERVED1 |
Definition at line 460 of file d4d_base.h.
#define D4D_TCHSCR_STATUS_TOUCHED |
Definition at line 457 of file d4d_base.h.
typedef Byte D4D_SYSTEM_FLAGS |
Definition at line 469 of file d4d_base.h.
typedef Byte D4D_TOUCHSCREEN_STATUS |
Definition at line 455 of file d4d_base.h.
const D4D_MARGIN d4d_marginDefault |
Definition at line 77 of file d4d_base.c.
Byte d4d_scratchPad[D4D_SCRATCHPAD_SIZE] |
Global variables
Definition at line 56 of file d4d_base.c.