Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
1dffe760
Commit
1dffe760
authored
May 20, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Casted attributes implemented
parent
73897c89
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
123 additions
and
4 deletions
+123
-4
src/exp/inc/src/pwr.h
src/exp/inc/src/pwr.h
+5
-0
src/exp/inc/src/pwr_class.h
src/exp/inc/src/pwr_class.h
+8
-4
xtt/exp/inc/src/xnav_bitmap_castattr10.h
xtt/exp/inc/src/xnav_bitmap_castattr10.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_castattr12.h
xtt/exp/inc/src/xnav_bitmap_castattr12.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_castattr14.h
xtt/exp/inc/src/xnav_bitmap_castattr14.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_castattr16.h
xtt/exp/inc/src/xnav_bitmap_castattr16.h
+7
-0
xtt/exp/inc/src/xnav_bitmap_castattr18.h
xtt/exp/inc/src/xnav_bitmap_castattr18.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_castattr20.h
xtt/exp/inc/src/xnav_bitmap_castattr20.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_castattr24.h
xtt/exp/inc/src/xnav_bitmap_castattr24.h
+11
-0
xtt/exp/inc/src/xnav_bitmap_castattr8.h
xtt/exp/inc/src/xnav_bitmap_castattr8.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr10.h
xtt/exp/inc/src/xnav_bitmap_uncastattr10.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr12.h
xtt/exp/inc/src/xnav_bitmap_uncastattr12.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr14.h
xtt/exp/inc/src/xnav_bitmap_uncastattr14.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr16.h
xtt/exp/inc/src/xnav_bitmap_uncastattr16.h
+7
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr18.h
xtt/exp/inc/src/xnav_bitmap_uncastattr18.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr20.h
xtt/exp/inc/src/xnav_bitmap_uncastattr20.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr24.h
xtt/exp/inc/src/xnav_bitmap_uncastattr24.h
+11
-0
xtt/exp/inc/src/xnav_bitmap_uncastattr8.h
xtt/exp/inc/src/xnav_bitmap_uncastattr8.h
+5
-0
No files found.
src/exp/inc/src/pwr.h
View file @
1dffe760
...
...
@@ -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.
...
...
src/exp/inc/src/pwr_class.h
View file @
1dffe760
...
...
@@ -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
(
c
hangelog
,
1
),
pwr_Bits
(
c
astattr
,
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_c
hangelog
pwr_Bit(3)
/* 8 */
#define pwr_mAdef_c
astattr
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_C
HANGELOG pwr_mAdef_changelog
#define PWR_MASK_C
ASTATTR pwr_mAdef_castattr
#define PWR_MASK_STATE pwr_mAdef_state
#define PWR_MASK_CONST pwr_mAdef_const
#define PWR_MASK_RTVIRTUAL pwr_mAdef_rtvirtual
...
...
xtt/exp/inc/src/xnav_bitmap_castattr10.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr12.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr14.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr16.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr18.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr20.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr24.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_castattr8.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr10.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr12.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr14.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr16.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr18.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr20.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr24.h
0 → 100644
View file @
1dffe760
#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
};
xtt/exp/inc/src/xnav_bitmap_uncastattr8.h
0 → 100644
View file @
1dffe760
#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
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment