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
1fc2e4ce
Commit
1fc2e4ce
authored
Apr 21, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pixmap for attrref
parent
6e30e76f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
xtt/lib/xtt/src/xtt_xnav_brow.cpp
xtt/lib/xtt/src/xtt_xnav_brow.cpp
+40
-0
xtt/lib/xtt/src/xtt_xnav_brow.h
xtt/lib/xtt/src/xtt_xnav_brow.h
+1
-0
No files found.
xtt/lib/xtt/src/xtt_xnav_brow.cpp
View file @
1fc2e4ce
...
@@ -180,6 +180,14 @@ extern "C" {
...
@@ -180,6 +180,14 @@ extern "C" {
#include "xnav_bitmap_arrowright18.h"
#include "xnav_bitmap_arrowright18.h"
#include "xnav_bitmap_arrowright20.h"
#include "xnav_bitmap_arrowright20.h"
#include "xnav_bitmap_arrowright24.h"
#include "xnav_bitmap_arrowright24.h"
#include "xnav_bitmap_attrref8.h"
#include "xnav_bitmap_attrref10.h"
#include "xnav_bitmap_attrref12.h"
#include "xnav_bitmap_attrref14.h"
#include "xnav_bitmap_attrref16.h"
#include "xnav_bitmap_attrref18.h"
#include "xnav_bitmap_attrref20.h"
#include "xnav_bitmap_attrref24.h"
#if 0
#if 0
...
@@ -227,6 +235,7 @@ void XNavBrow::free_pixmaps()
...
@@ -227,6 +235,7 @@ void XNavBrow::free_pixmaps()
brow_FreeAnnotPixmap
(
ctx
,
pixmap_alarm2
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_alarm2
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_arrowdown
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_arrowdown
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_arrowright
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_arrowright
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_attrref
);
}
}
//
//
...
@@ -868,6 +877,37 @@ void XNavBrow::allocate_pixmaps()
...
@@ -868,6 +877,37 @@ void XNavBrow::allocate_pixmaps()
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_arrowright24_bits
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_arrowright24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_arrowright
);
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_arrowright
);
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref12_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attrref24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attrref24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attrref24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_attrref
);
}
}
//
//
...
...
xtt/lib/xtt/src/xtt_xnav_brow.h
View file @
1fc2e4ce
...
@@ -66,6 +66,7 @@ class XNavBrow {
...
@@ -66,6 +66,7 @@ class XNavBrow {
flow_sAnnotPixmap
*
pixmap_alarm2
;
flow_sAnnotPixmap
*
pixmap_alarm2
;
flow_sAnnotPixmap
*
pixmap_arrowdown
;
flow_sAnnotPixmap
*
pixmap_arrowdown
;
flow_sAnnotPixmap
*
pixmap_arrowright
;
flow_sAnnotPixmap
*
pixmap_arrowright
;
flow_sAnnotPixmap
*
pixmap_attrref
;
char
push_command
[
200
];
char
push_command
[
200
];
void
free_pixmaps
();
void
free_pixmaps
();
...
...
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