eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_button.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_BTN_3D_SHIFT
 This is pixel count of 3D appearence button content shift. If not defined, it sets to 1 pixel as a default. More...
 
#define D4D_BTN_F_3D
 Enable 3D appearence for button. More...
 
#define D4D_BTN_F_CONT_RECT
 Enable content rectangle for button. More...
 
#define D4D_BTN_F_INVERT
 Enabel inverting button colours on keypress. More...
 
#define D4D_BTN_F_DEFAULT
 This is button init flags. If not defined, it sets to (D4D_OBJECT_F_VISIBLE | D4D_OBJECT_F_ENABLED | D4D_OBJECT_F_TABSTOP | D4D_OBJECT_F_TOUCHENABLE | D4D_OBJECT_F_MOUSE_NORMAL | D4D_OBJECT_F_BEVEL_RAISED | D4D_BTN_F_3D) as a default. More...
 
#define D4D_BTN_TXT_PRTY_DEFAULT
 This is button init text properties. If not defined, it sets to (D4D_ALIGN_H_CENTER_MASK | D4D_ALIGN_V_CENTER_MASK) as a default. More...
 
#define D4D_BTN_FNT_PRTY_DEFAULT
 This is button init font properties. If not defined, it sets to ( 0 ) as a default. More...
 
#define D4D_BUTTON_3D_FORE_INTENSITY
 This is button intesity of fore color in 3D appearence mode. If not defined, it sets to ( D4D_BEVEL_FORE_INTENSITY ) as a default. More...
 
#define D4D_BUTTON_3D_BCKG_INTENSITY
 This is button intesity of back color in 3D appearence mode. If not defined, it sets to ( D4D_BEVEL_BCKG_INTENSITY ) as a default. More...
 
#define D4D_BUTTON_STATUS_PRESSED_MASK
 
#define D4D_BUTTON_STATUS_1ST_TOUCH_MASK
 
#define D4D_BUTTON_STATUS_MOUSE_CLICK_MASK
 
#define D4D_GET_BUTTON(pObj)
 
#define D4D_GET_BUTTON_STATUS(pObj)
 
#define _D4D_DECLARE_BUTTON(type, name, text, x, y, cx, cy, radius, pMargin, pRelations, flags, pBmpN, pBmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)
 Macro that create the Button object structure in memory including all substructures. More...
 
#define D4D_DECLARE_BUTTON(name, text, x, y, cx, cy, flags, pBmpN, pBmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)
 Macro that create the Button object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_BUTTON(name, text, x, y, cx, cy, pBmpN, pBmpF, fontId, onclick)
 Macro that create the Button object structure in memory including all substructures with restricted count of parameters to simplify definition. The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_TXT_BUTTON(name, text, x, y, cx, cy, fontId, onclick)
 Macro that create the only text Button object structure in memory including all substructures with restricted count of parameters to simplify definition. The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_RBUTTON(name, text, x, y, cx, cy, radius, flags, pBmpN, pBmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)
 Macro that create the round Button object structure in memory including all substructures with restricted count of parameters to simplify definition. More...
 
#define D4D_DECLARE_STD_RBUTTON(name, text, x, y, cx, cy, radius, pBmpN, pBmpF, fontId, onclick)
 Macro that create the round Button object structure in memory including all substructures with restricted count of parameters to simplify definition. The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_TXT_RBUTTON(name, text, x, y, cx, cy, radius, fontId, onclick)
 Macro that create the only text round Button object structure in memory including all substructures with restricted count of parameters to simplify definition. The missing parameters are replaced by default values. More...
 
#define D4D_DECLARE_BUTTON_INRAM(name, text, x, y, cx, cy, flags, pBmpN, pBmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)
 Same as D4D_DECLARE_BUTTON, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_BUTTON_INRAM(name, text, x, y, cx, cy, bmpN, bmpF, fontId, onclick)
 Same as D4D_DECLARE_STD_BUTTON, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_TXT_BUTTON_INRAM(name, text, x, y, cx, cy, fontId, onclick)
 Same as D4D_DECLARE_TXT_BUTTON, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_RBUTTON_INRAM(name, text, x, y, cx, cy, radius, flags, pBmpN, pBmpF, pScheme, fontId, pUser, onclick, pOnUsrMsg)
 Same as D4D_DECLARE_RBUTTON, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_STD_RBUTTON_INRAM(name, text, x, y, cx, cy, radius, bmpN, bmpF, fontId, onclick)
 Same as D4D_DECLARE_STD_RBUTTON, but is created in RAM instead of the ROM memory. More...
 
#define D4D_DECLARE_TXT_RBUTTON_INRAM(name, text, x, y, cx, cy, radius, fontId, onclick)
 Same as D4D_DECLARE_TXT_RBUTTON, but is created in RAM instead of the ROM memory. More...
 
#define D4D_BtnSetText
 

Typedefs

typedef void(* D4D_BTN_ON_CLICK )(D4D_OBJECT *pThis)
 Type definition of button on click callback function. More...
 
typedef Byte D4D_BUTTON_STATUS
 

Variables

const D4D_OBJECT_SYS_FUNCTION d4d_btnSysFunc
 

Detailed Description

D4D Driver button object header file.

Author
Michal hanak, Petr Gargulak
Version
0.0.47.0
Date
Jan-14-2014

Definition in file d4d_button.h.

Macro Definition Documentation

#define D4D_BtnSetText

Definition at line 401 of file d4d_button.h.

#define D4D_BUTTON_STATUS_1ST_TOUCH_MASK

Definition at line 143 of file d4d_button.h.

#define D4D_BUTTON_STATUS_MOUSE_CLICK_MASK

Definition at line 144 of file d4d_button.h.

#define D4D_BUTTON_STATUS_PRESSED_MASK

Definition at line 142 of file d4d_button.h.

#define D4D_GET_BUTTON (   pObj)

Definition at line 162 of file d4d_button.h.

#define D4D_GET_BUTTON_STATUS (   pObj)

Definition at line 163 of file d4d_button.h.

Typedef Documentation

Definition at line 140 of file d4d_button.h.

Variable Documentation

const D4D_OBJECT_SYS_FUNCTION d4d_btnSysFunc

Definition at line 53 of file d4d_button.c.