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
c32afde8
Commit
c32afde8
authored
Oct 09, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More gcc 4.9
parent
c053a9c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
36 deletions
+36
-36
profibus/exe/profinet_viewer/src/pn_viewernav.cpp
profibus/exe/profinet_viewer/src/pn_viewernav.cpp
+36
-36
No files found.
profibus/exe/profinet_viewer/src/pn_viewernav.cpp
View file @
c32afde8
...
@@ -111,93 +111,93 @@ void PnViewerNavBrow::allocate_pixmaps()
...
@@ -111,93 +111,93 @@ void PnViewerNavBrow::allocate_pixmaps()
i
=
0
;
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map8_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map8_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map8_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map10_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map10_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map10_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map12_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map12_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map12_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map12_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map14_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map14_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map14_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map16_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map16_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map16_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map18_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map18_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map18_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map24_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_map24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map24_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_map24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_map24_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_map24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_map
);
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_map
);
i
=
0
;
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap8_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap8_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap8_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap10_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap10_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap10_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap12_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap12_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap12_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap12_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap14_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap14_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap14_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap16_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap16_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap16_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap18_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap18_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap18_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap24_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_openmap24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap24_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_openmap24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_openmap24_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_openmap24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_openmap
);
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_openmap
);
i
=
0
;
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr8_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr8_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr8_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr10_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr10_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr10_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr12_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr12_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr12_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr12_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr14_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr14_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr14_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr16_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr16_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr16_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr18_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr18_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr18_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr24_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_attr24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr24_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_attr24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_attr24_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_attr24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_attr
);
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_attr
);
...
@@ -205,31 +205,31 @@ void PnViewerNavBrow::allocate_pixmaps()
...
@@ -205,31 +205,31 @@ void PnViewerNavBrow::allocate_pixmaps()
i
=
0
;
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp8_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp8_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp8_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp10_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp10_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp10_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp12_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp12_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp12_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp12_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp14_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp14_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp14_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp16_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp16_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp16_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp18_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp18_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp18_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp20_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp20_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp20_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp24_width
;
pixmap_data
[
i
].
width
=
xnav_bitmap_morehelp24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp24_height
;
pixmap_data
[
i
].
height
=
xnav_bitmap_morehelp24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_morehelp24_bits
;
pixmap_data
[
i
++
].
bits
=
xnav_bitmap_morehelp24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_edit
);
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_edit
);
}
}
...
...
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