Commit 1dffe760 authored by claes's avatar claes

Casted attributes implemented

parent 73897c89
......@@ -365,6 +365,10 @@ typedef char pwr_tText1024 [1024]; //!< 1024 byte text type.
@aref url URL
*/
typedef char pwr_tURL [160]; //!< URL type.
/*_*
@aref castid CastId
*/
typedef pwr_tTypeId pwr_tCastId; //!< CastId type.
/*_*
@aref emergbreakselectenum EmergBreakSelectEnum
......@@ -451,6 +455,7 @@ static const pwr_tOix pwr_cNOix = 0; //!< Zero object index constant
static const pwr_tObjectIx pwr_cNObjectIx = 0; //!< Zero object index constant.
static const pwr_tClassId pwr_cNClassId = 0; //!< Zero class identity constant.
static const pwr_tTypeId pwr_cNTypeId = 0; //!< Zero type identity constant.
static const pwr_tCastId pwr_cNCastId = 0; //!< Zero cast identity constant.
static const pwr_tVolumeId pwr_cNVolumeId = 0; //!< Zero volume identity constant.
static const pwr_tNodeId pwr_cNNodeId = 0; //!< Zero node identity constant.
static const pwr_tCid pwr_cNCid = 0; //!< Zero class identity constant.
......
......@@ -125,6 +125,7 @@ typedef enum {
pwr_eTix_DeltaTime = 28, /* Basic type */
pwr_eTix_Status = 29, /* Basic type */
pwr_eTix_NetStatus = 30, /* Basic type */
pwr_eTix_CastId = 31, /* Basic type */
pwr_eTix_
} pwr_eTix;
......@@ -165,6 +166,7 @@ typedef enum {
pwr_eType_DeltaTime = pwr_TypeId(pwr_eTix_DeltaTime),
pwr_eType_Status = pwr_TypeId(pwr_eTix_Status),
pwr_eType_NetStatus = pwr_TypeId(pwr_eTix_NetStatus),
pwr_eType_CastId = pwr_TypeId(pwr_eTix_CastId),
pwr_eType_ = pwr_TypeId(pwr_eTix_)
} pwr_eType;
......@@ -463,7 +465,8 @@ union pwr_m_ClassDef {
pwr_Bits( Template , 1), /* object is a template object */
pwr_Bits( IO , 1), /* object is an IO object */
pwr_Bits( HasCallBack , 1), /* object has DbCallBack */
pwr_Bits( fill_0 , 3),,,
pwr_Bits( CastAttr , 1), /* object has casted attributes */
pwr_Bits( fill_0 , 2),,
pwr_Bits( fill_1 , 8),,,,,,,,
pwr_Bits( fill_2 , 8),,,,,,,
) b;
......@@ -481,6 +484,7 @@ union pwr_m_ClassDef {
#define pwr_mClassDef_Template pwr_Bit(10)
#define pwr_mClassDef_IO pwr_Bit(11)
#define pwr_mClassDef_HasCallBack pwr_Bit(12)
#define pwr_mClassDef_CastAttr pwr_Bit(13)
#define pwr_mClassDef_HasRef (pwr_mClassDef_ObjXRef|pwr_mClassDef_AttrXRef|\
pwr_mClassDef_ObjRef|pwr_mClassDef_AttrRef)
......@@ -611,7 +615,7 @@ union pwr_m_Adef {
pwr_Bits( pointer , 1),
pwr_Bits( array , 1),
pwr_Bits( backup , 1),
pwr_Bits( changelog , 1),
pwr_Bits( castattr , 1),
pwr_Bits( state , 1),
pwr_Bits( constant , 1),
pwr_Bits( rtvirtual , 1),
......@@ -640,7 +644,7 @@ union pwr_m_Adef {
#define pwr_mAdef_pointer pwr_Bit(0) /* 1 */
#define pwr_mAdef_array pwr_Bit(1) /* 2 */
#define pwr_mAdef_backup pwr_Bit(2) /* 4 */
#define pwr_mAdef_changelog pwr_Bit(3) /* 8 */
#define pwr_mAdef_castattr pwr_Bit(3) /* 8 */
#define pwr_mAdef_state pwr_Bit(4) /* 16 */
#define pwr_mAdef_const pwr_Bit(5) /* 32 */
#define pwr_mAdef_rtvirtual pwr_Bit(6) /* 64 */
......@@ -664,7 +668,7 @@ union pwr_m_Adef {
#define PWR_MASK_POINTER pwr_mAdef_pointer
#define PWR_MASK_ARRAY pwr_mAdef_array
#define PWR_MASK_BACKUP pwr_mAdef_backup
#define PWR_MASK_CHANGELOG pwr_mAdef_changelog
#define PWR_MASK_CASTATTR pwr_mAdef_castattr
#define PWR_MASK_STATE pwr_mAdef_state
#define PWR_MASK_CONST pwr_mAdef_const
#define PWR_MASK_RTVIRTUAL pwr_mAdef_rtvirtual
......
#define xnav_bitmap_castattr10_width 12
#define xnav_bitmap_castattr10_height 10
static unsigned char xnav_bitmap_castattr10_bits[] = {
0xff, 0x0f, 0x01, 0x08, 0xff, 0x0f, 0x01, 0x0e, 0x01, 0x09, 0xc1, 0x08,
0x31, 0x08, 0x09, 0x08, 0x07, 0x08, 0xff, 0x0f};
#define xnav_bitmap_castattr12_width 12
#define xnav_bitmap_castattr12_height 12
static unsigned char xnav_bitmap_castattr12_bits[] = {
0x00, 0x00, 0xff, 0x0f, 0x01, 0x08, 0xff, 0x0f, 0x01, 0x0e, 0x01, 0x09,
0x81, 0x08, 0x61, 0x08, 0x11, 0x08, 0x09, 0x08, 0x07, 0x08, 0xff, 0x0f};
#define xnav_bitmap_castattr14_width 16
#define xnav_bitmap_castattr14_height 14
static unsigned char xnav_bitmap_castattr14_bits[] = {
0x00, 0x00, 0xff, 0xff, 0x01, 0x80, 0xff, 0xff, 0x01, 0xe0, 0x01, 0x90,
0x01, 0x8c, 0x01, 0x82, 0x81, 0x81, 0x41, 0x80, 0x31, 0x80, 0x09, 0x80,
0x07, 0x80, 0xff, 0xff};
#define xnav_bitmap_castattr16_width 19
#define xnav_bitmap_castattr16_height 16
static unsigned char xnav_bitmap_castattr16_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x01, 0x00, 0x04, 0xff, 0xff, 0x07,
0x01, 0x00, 0x07, 0x01, 0x80, 0x04, 0x01, 0x60, 0x04, 0x01, 0x10, 0x04,
0x01, 0x0c, 0x04, 0x01, 0x02, 0x04, 0x81, 0x01, 0x04, 0x41, 0x00, 0x04,
0x31, 0x00, 0x04, 0x09, 0x00, 0x04, 0x07, 0x00, 0x04, 0xff, 0xff, 0x07};
#define xnav_bitmap_castattr18_width 22
#define xnav_bitmap_castattr18_height 18
static unsigned char xnav_bitmap_castattr18_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x01, 0x00, 0x20, 0xff, 0xff, 0x3f,
0x01, 0x00, 0x38, 0x01, 0x00, 0x26, 0x01, 0x00, 0x21, 0x01, 0xc0, 0x20,
0x01, 0x20, 0x20, 0x01, 0x18, 0x20, 0x01, 0x06, 0x20, 0x01, 0x01, 0x20,
0xc1, 0x00, 0x20, 0x21, 0x00, 0x20, 0x19, 0x00, 0x20, 0x07, 0x00, 0x20,
0xff, 0xff, 0x3f, 0x00, 0x00, 0x00};
#define xnav_bitmap_castattr20_width 24
#define xnav_bitmap_castattr20_height 20
static unsigned char xnav_bitmap_castattr20_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x01, 0x00, 0x80, 0xff, 0xff, 0xff,
0x01, 0x00, 0xe0, 0x01, 0x00, 0x90, 0x01, 0x00, 0x8c, 0x01, 0x00, 0x82,
0x01, 0x80, 0x81, 0x01, 0x40, 0x80, 0x01, 0x30, 0x80, 0x01, 0x0c, 0x80,
0x01, 0x02, 0x80, 0x81, 0x01, 0x80, 0x41, 0x00, 0x80, 0x31, 0x00, 0x80,
0x09, 0x00, 0x80, 0x07, 0x00, 0x80, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00};
#define xnav_bitmap_castattr24_width 28
#define xnav_bitmap_castattr24_height 24
static unsigned char xnav_bitmap_castattr24_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x0f, 0x01, 0x00, 0x00, 0x08,
0xff, 0xff, 0xff, 0x0f, 0x01, 0x00, 0x00, 0x0e, 0x01, 0x00, 0x00, 0x09,
0x01, 0x00, 0x80, 0x08, 0x01, 0x00, 0x60, 0x08, 0x01, 0x00, 0x10, 0x08,
0x01, 0x00, 0x0c, 0x08, 0x01, 0x00, 0x02, 0x08, 0x01, 0x80, 0x01, 0x08,
0x01, 0x40, 0x00, 0x08, 0x01, 0x20, 0x00, 0x08, 0x01, 0x18, 0x00, 0x08,
0x01, 0x04, 0x00, 0x08, 0x01, 0x03, 0x00, 0x08, 0x81, 0x00, 0x00, 0x08,
0x61, 0x00, 0x00, 0x08, 0x11, 0x00, 0x00, 0x08, 0x09, 0x00, 0x00, 0x08,
0x07, 0x00, 0x00, 0x08, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00};
#define xnav_bitmap_castattr8_width 9
#define xnav_bitmap_castattr8_height 8
static unsigned char xnav_bitmap_castattr8_bits[] = {
0xff, 0x01, 0x01, 0x01, 0xff, 0x01, 0xc1, 0x01, 0x21, 0x01, 0x19, 0x01,
0x07, 0x01, 0xff, 0x01};
#define xnav_bitmap_uncastattr10_width 12
#define xnav_bitmap_uncastattr10_height 10
static unsigned char xnav_bitmap_uncastattr10_bits[] = {
0xff, 0x0f, 0x01, 0x08, 0xff, 0x0f, 0x01, 0x0e, 0x01, 0x0f, 0xc1, 0x0f,
0xf1, 0x0f, 0xf9, 0x0f, 0xff, 0x0f, 0xff, 0x0f};
#define xnav_bitmap_uncastattr12_width 12
#define xnav_bitmap_uncastattr12_height 12
static unsigned char xnav_bitmap_uncastattr12_bits[] = {
0x00, 0x00, 0xff, 0x0f, 0x01, 0x08, 0xff, 0x0f, 0x01, 0x0e, 0x01, 0x0f,
0x81, 0x0f, 0xe1, 0x0f, 0xf1, 0x0f, 0xf9, 0x0f, 0xff, 0x0f, 0xff, 0x0f};
#define xnav_bitmap_uncastattr14_width 16
#define xnav_bitmap_uncastattr14_height 14
static unsigned char xnav_bitmap_uncastattr14_bits[] = {
0x00, 0x00, 0xff, 0xff, 0x01, 0x80, 0xff, 0xff, 0x01, 0xe0, 0x01, 0xf0,
0x01, 0xfc, 0x01, 0xfe, 0x81, 0xff, 0xc1, 0xff, 0xf1, 0xff, 0xf9, 0xff,
0xff, 0xff, 0xff, 0xff};
#define xnav_bitmap_uncastattr16_width 19
#define xnav_bitmap_uncastattr16_height 16
static unsigned char xnav_bitmap_uncastattr16_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0x07, 0x01, 0x00, 0x04, 0xff, 0xff, 0x07,
0x01, 0x00, 0x07, 0x01, 0x80, 0x07, 0x01, 0xe0, 0x07, 0x01, 0xf0, 0x07,
0x01, 0xfc, 0x07, 0x01, 0xfe, 0x07, 0x81, 0xff, 0x07, 0xc1, 0xff, 0x07,
0xf1, 0xff, 0x07, 0xf9, 0xff, 0x07, 0xff, 0xff, 0x07, 0xff, 0xff, 0x07};
#define xnav_bitmap_uncastattr18_width 22
#define xnav_bitmap_uncastattr18_height 18
static unsigned char xnav_bitmap_uncastattr18_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x01, 0x00, 0x20, 0xff, 0xff, 0x3f,
0x01, 0x00, 0x38, 0x01, 0x00, 0x3e, 0x01, 0x00, 0x3f, 0x01, 0xc0, 0x3f,
0x01, 0xe0, 0x3f, 0x01, 0xf8, 0x3f, 0x01, 0xfe, 0x3f, 0x01, 0xff, 0x3f,
0xc1, 0xff, 0x3f, 0xe1, 0xff, 0x3f, 0xf9, 0xff, 0x3f, 0xff, 0xff, 0x3f,
0xff, 0xff, 0x3f, 0x00, 0x00, 0x00};
#define xnav_bitmap_uncastattr20_width 24
#define xnav_bitmap_uncastattr20_height 20
static unsigned char xnav_bitmap_uncastattr20_bits[] = {
0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x01, 0x00, 0x80, 0xff, 0xff, 0xff,
0x01, 0x00, 0xe0, 0x01, 0x00, 0xf0, 0x01, 0x00, 0xfc, 0x01, 0x00, 0xfe,
0x01, 0x80, 0xff, 0x01, 0xc0, 0xff, 0x01, 0xf0, 0xff, 0x01, 0xfc, 0xff,
0x01, 0xfe, 0xff, 0x81, 0xff, 0xff, 0xc1, 0xff, 0xff, 0xf1, 0xff, 0xff,
0xf9, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00};
#define xnav_bitmap_uncastattr24_width 28
#define xnav_bitmap_uncastattr24_height 24
static unsigned char xnav_bitmap_uncastattr24_bits[] = {
0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x0f, 0x01, 0x00, 0x00, 0x08,
0xff, 0xff, 0xff, 0x0f, 0x01, 0x00, 0x00, 0x0e, 0x01, 0x00, 0x00, 0x0f,
0x01, 0x00, 0x80, 0x0f, 0x01, 0x00, 0xe0, 0x0f, 0x01, 0x00, 0xf0, 0x0f,
0x01, 0x00, 0xfc, 0x0f, 0x01, 0x00, 0xfe, 0x0f, 0x01, 0x80, 0xff, 0x0f,
0x01, 0xc0, 0xff, 0x0f, 0x01, 0xe0, 0xff, 0x0f, 0x01, 0xf8, 0xff, 0x0f,
0x01, 0xfc, 0xff, 0x0f, 0x01, 0xff, 0xff, 0x0f, 0x81, 0xff, 0xff, 0x0f,
0xe1, 0xff, 0xff, 0x0f, 0xf1, 0xff, 0xff, 0x0f, 0xf9, 0xff, 0xff, 0x0f,
0xff, 0xff, 0xff, 0x0f, 0xff, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00};
#define xnav_bitmap_uncastattr8_width 9
#define xnav_bitmap_uncastattr8_height 8
static unsigned char xnav_bitmap_uncastattr8_bits[] = {
0xff, 0x01, 0x01, 0x01, 0xff, 0x01, 0xc1, 0x01, 0xe1, 0x01, 0xf9, 0x01,
0xff, 0x01, 0xff, 0x01};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment