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
2a519ed0
Commit
2a519ed0
authored
Feb 20, 2013
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xtt scaleable bitmaps for crossref read and write added
parent
e7f4427a
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
162 additions
and
12 deletions
+162
-12
xtt/exp/inc/src/xnav_bitmap_crrread10.h
xtt/exp/inc/src/xnav_bitmap_crrread10.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_crrread14.h
xtt/exp/inc/src/xnav_bitmap_crrread14.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_crrread16.h
xtt/exp/inc/src/xnav_bitmap_crrread16.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_crrread18.h
xtt/exp/inc/src/xnav_bitmap_crrread18.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_crrread20.h
xtt/exp/inc/src/xnav_bitmap_crrread20.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_crrread24.h
xtt/exp/inc/src/xnav_bitmap_crrread24.h
+9
-0
xtt/exp/inc/src/xnav_bitmap_crrread8.h
xtt/exp/inc/src/xnav_bitmap_crrread8.h
+4
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite10.h
xtt/exp/inc/src/xnav_bitmap_crrwrite10.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite14.h
xtt/exp/inc/src/xnav_bitmap_crrwrite14.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite16.h
xtt/exp/inc/src/xnav_bitmap_crrwrite16.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite18.h
xtt/exp/inc/src/xnav_bitmap_crrwrite18.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite20.h
xtt/exp/inc/src/xnav_bitmap_crrwrite20.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite24.h
xtt/exp/inc/src/xnav_bitmap_crrwrite24.h
+9
-0
xtt/exp/inc/src/xnav_bitmap_crrwrite8.h
xtt/exp/inc/src/xnav_bitmap_crrwrite8.h
+4
-0
xtt/lib/xtt/src/xtt_xnav_brow.cpp
xtt/lib/xtt/src/xtt_xnav_brow.cpp
+70
-12
No files found.
xtt/exp/inc/src/xnav_bitmap_crrread10.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread10_width 10
#define xnav_bitmap_crrread10_height 10
static
unsigned
char
xnav_bitmap_crrread10_bits
[]
=
{
0xcf
,
0x03
,
0x31
,
0x02
,
0x01
,
0x02
,
0x01
,
0x02
,
0x01
,
0x02
,
0x01
,
0x02
,
0x01
,
0x02
,
0xcf
,
0x03
,
0xfe
,
0x03
,
0x30
,
0x00
};
xtt/exp/inc/src/xnav_bitmap_crrread14.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread14_width 14
#define xnav_bitmap_crrread14_height 14
static
unsigned
char
xnav_bitmap_crrread14_bits
[]
=
{
0x1f
,
0x1f
,
0xa1
,
0x30
,
0x41
,
0x30
,
0x01
,
0x30
,
0x41
,
0x30
,
0x41
,
0x30
,
0x01
,
0x30
,
0x41
,
0x30
,
0x41
,
0x30
,
0x01
,
0x30
,
0x5f
,
0x3f
,
0xfe
,
0x3f
,
0xfc
,
0x3f
,
0xe0
,
0x01
};
xtt/exp/inc/src/xnav_bitmap_crrread16.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread16_width 16
#define xnav_bitmap_crrread16_height 16
static
unsigned
char
xnav_bitmap_crrread16_bits
[]
=
{
0x3f
,
0x7e
,
0x41
,
0xc1
,
0x81
,
0xc0
,
0x01
,
0xc0
,
0x81
,
0xc0
,
0x01
,
0xc0
,
0x81
,
0xc0
,
0x81
,
0xc0
,
0x01
,
0xc0
,
0x81
,
0xc0
,
0x81
,
0xc0
,
0x01
,
0xc0
,
0xbf
,
0xfe
,
0xfe
,
0xff
,
0xfc
,
0xff
,
0xc0
,
0x03
};
xtt/exp/inc/src/xnav_bitmap_crrread18.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread18_width 18
#define xnav_bitmap_crrread18_height 18
static
unsigned
char
xnav_bitmap_crrread18_bits
[]
=
{
0x7f
,
0xfc
,
0x01
,
0x81
,
0x02
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x00
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x00
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x00
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x01
,
0x03
,
0x01
,
0x00
,
0x03
,
0x7f
,
0xfd
,
0x03
,
0xfe
,
0xff
,
0x03
,
0xfc
,
0xff
,
0x03
,
0x80
,
0x07
,
0x00
};
xtt/exp/inc/src/xnav_bitmap_crrread20.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread20_width 20
#define xnav_bitmap_crrread20_height 20
static
unsigned
char
xnav_bitmap_crrread20_bits
[]
=
{
0xff
,
0xf8
,
0x07
,
0x01
,
0x05
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x00
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x00
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x00
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x00
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x02
,
0x0c
,
0x01
,
0x00
,
0x0c
,
0xff
,
0xfa
,
0x0f
,
0xfe
,
0xff
,
0x0f
,
0xfc
,
0xff
,
0x0f
,
0x00
,
0x0f
,
0x00
};
xtt/exp/inc/src/xnav_bitmap_crrread24.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread24_width 24
#define xnav_bitmap_crrread24_height 24
static
unsigned
char
xnav_bitmap_crrread24_bits
[]
=
{
0xff
,
0xc1
,
0x7f
,
0x01
,
0x36
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x00
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x00
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x00
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x00
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x00
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0x01
,
0x08
,
0xe0
,
0xff
,
0xc1
,
0xff
,
0xfe
,
0xeb
,
0xff
,
0xfc
,
0xff
,
0xff
,
0xf8
,
0xff
,
0xff
,
0x00
,
0x7c
,
0x00
};
xtt/exp/inc/src/xnav_bitmap_crrread8.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrread8_width 8
#define xnav_bitmap_crrread8_height 8
static
unsigned
char
xnav_bitmap_crrread8_bits
[]
=
{
0xe7
,
0x99
,
0x81
,
0x81
,
0x81
,
0x81
,
0xe7
,
0x18
};
xtt/exp/inc/src/xnav_bitmap_crrwrite10.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite10_width 10
#define xnav_bitmap_crrwrite10_height 10
static
unsigned
char
xnav_bitmap_crrwrite10_bits
[]
=
{
0xc0
,
0x00
,
0xa0
,
0x00
,
0x60
,
0x00
,
0x50
,
0x00
,
0x30
,
0x00
,
0x28
,
0x00
,
0x18
,
0x00
,
0x0c
,
0x00
,
0x04
,
0x00
,
0xfe
,
0x03
};
xtt/exp/inc/src/xnav_bitmap_crrwrite14.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite14_width 14
#define xnav_bitmap_crrwrite14_height 14
static
unsigned
char
xnav_bitmap_crrwrite14_bits
[]
=
{
0x80
,
0x01
,
0x40
,
0x03
,
0x40
,
0x03
,
0xa0
,
0x01
,
0xa0
,
0x01
,
0xd0
,
0x00
,
0xd0
,
0x00
,
0x68
,
0x00
,
0x68
,
0x00
,
0x34
,
0x00
,
0x34
,
0x00
,
0x1c
,
0x00
,
0x0c
,
0x00
,
0xfe
,
0x0f
};
xtt/exp/inc/src/xnav_bitmap_crrwrite16.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite16_width 16
#define xnav_bitmap_crrwrite16_height 16
static
unsigned
char
xnav_bitmap_crrwrite16_bits
[]
=
{
0x00
,
0x06
,
0x00
,
0x0d
,
0x00
,
0x0d
,
0x80
,
0x06
,
0x80
,
0x06
,
0x40
,
0x03
,
0x40
,
0x03
,
0xa0
,
0x01
,
0xa0
,
0x01
,
0xd0
,
0x00
,
0xd0
,
0x00
,
0x68
,
0x00
,
0x68
,
0x00
,
0x38
,
0x00
,
0x18
,
0x00
,
0xfc
,
0x3f
};
xtt/exp/inc/src/xnav_bitmap_crrwrite18.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite18_width 18
#define xnav_bitmap_crrwrite18_height 18
static
unsigned
char
xnav_bitmap_crrwrite18_bits
[]
=
{
0x00
,
0x0c
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x0d
,
0x00
,
0x00
,
0x0d
,
0x00
,
0x80
,
0x06
,
0x00
,
0x80
,
0x06
,
0x00
,
0x40
,
0x03
,
0x00
,
0x40
,
0x03
,
0x00
,
0xa0
,
0x01
,
0x00
,
0xa0
,
0x01
,
0x00
,
0xd0
,
0x00
,
0x00
,
0xd0
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x38
,
0x00
,
0x00
,
0x18
,
0x00
,
0x00
,
0xfc
,
0x7f
,
0x00
};
xtt/exp/inc/src/xnav_bitmap_crrwrite20.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite20_width 20
#define xnav_bitmap_crrwrite20_height 20
static
unsigned
char
xnav_bitmap_crrwrite20_bits
[]
=
{
0x00
,
0x18
,
0x00
,
0x00
,
0x34
,
0x00
,
0x00
,
0x34
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x0d
,
0x00
,
0x00
,
0x0d
,
0x00
,
0x80
,
0x06
,
0x00
,
0x80
,
0x06
,
0x00
,
0x40
,
0x03
,
0x00
,
0x40
,
0x03
,
0x00
,
0xa0
,
0x01
,
0x00
,
0xa0
,
0x01
,
0x00
,
0xd0
,
0x00
,
0x00
,
0xd0
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x38
,
0x00
,
0x00
,
0x18
,
0x00
,
0x00
,
0xfc
,
0xff
,
0x00
};
xtt/exp/inc/src/xnav_bitmap_crrwrite24.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite24_width 24
#define xnav_bitmap_crrwrite24_height 24
static
unsigned
char
xnav_bitmap_crrwrite24_bits
[]
=
{
0x00
,
0x60
,
0x00
,
0x00
,
0xd0
,
0x00
,
0x00
,
0xd0
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x34
,
0x00
,
0x00
,
0x34
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x1a
,
0x00
,
0x00
,
0x0d
,
0x00
,
0x00
,
0x0d
,
0x00
,
0x80
,
0x06
,
0x00
,
0x80
,
0x06
,
0x00
,
0x40
,
0x03
,
0x00
,
0x40
,
0x03
,
0x00
,
0xa0
,
0x01
,
0x00
,
0xa0
,
0x01
,
0x00
,
0xd0
,
0x00
,
0x00
,
0xd0
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x68
,
0x00
,
0x00
,
0x38
,
0x00
,
0x00
,
0x18
,
0x00
,
0x00
,
0xfc
,
0xff
,
0x1f
};
xtt/exp/inc/src/xnav_bitmap_crrwrite8.h
0 → 100644
View file @
2a519ed0
#define xnav_bitmap_crrwrite8_width 8
#define xnav_bitmap_crrwrite8_height 8
static
unsigned
char
xnav_bitmap_crrwrite8_bits
[]
=
{
0x60
,
0x30
,
0x30
,
0x18
,
0x18
,
0x0c
,
0x04
,
0xfe
};
xtt/lib/xtt/src/xtt_xnav_brow.cpp
View file @
2a519ed0
...
...
@@ -128,8 +128,22 @@
#include "xnav_bitmap_action18.h"
#include "xnav_bitmap_action20.h"
#include "xnav_bitmap_action24.h"
#include "xnav_bitmap_crrread8.h"
#include "xnav_bitmap_crrread10.h"
#include "xnav_bitmap_crrread12.h"
#include "xnav_bitmap_crrread14.h"
#include "xnav_bitmap_crrread16.h"
#include "xnav_bitmap_crrread18.h"
#include "xnav_bitmap_crrread20.h"
#include "xnav_bitmap_crrread24.h"
#include "xnav_bitmap_crrwrite8.h"
#include "xnav_bitmap_crrwrite10.h"
#include "xnav_bitmap_crrwrite12.h"
#include "xnav_bitmap_crrwrite14.h"
#include "xnav_bitmap_crrwrite16.h"
#include "xnav_bitmap_crrwrite18.h"
#include "xnav_bitmap_crrwrite20.h"
#include "xnav_bitmap_crrwrite24.h"
#include "xnav_bitmap_script12.h"
#include "xnav_bitmap_list12.h"
#include "xnav_bitmap_graph12.h"
...
...
@@ -618,21 +632,65 @@ void XNavBrow::allocate_pixmaps()
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_action
);
for
(
i
=
0
;
i
<
9
;
i
++
)
{
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread12_height
;
pixmap_data
[
i
].
bits
=
(
char
*
)
xnav_bitmap_crrread12_bits
;
}
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrread24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrread24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrread24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_crrread
);
for
(
i
=
0
;
i
<
9
;
i
++
)
{
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite12_height
;
pixmap_data
[
i
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite12_bits
;
}
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_crrwrite24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_crrwrite24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_crrwrite24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_crrwrite
);
...
...
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