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
ab87999a
Commit
ab87999a
authored
Dec 09, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help window: new icon for web link
parent
fa384bc6
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
104 additions
and
3 deletions
+104
-3
xtt/exp/inc/src/xnav_bitmap_weblink10.h
xtt/exp/inc/src/xnav_bitmap_weblink10.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_weblink12.h
xtt/exp/inc/src/xnav_bitmap_weblink12.h
+5
-0
xtt/exp/inc/src/xnav_bitmap_weblink14.h
xtt/exp/inc/src/xnav_bitmap_weblink14.h
+6
-0
xtt/exp/inc/src/xnav_bitmap_weblink16.h
xtt/exp/inc/src/xnav_bitmap_weblink16.h
+7
-0
xtt/exp/inc/src/xnav_bitmap_weblink18.h
xtt/exp/inc/src/xnav_bitmap_weblink18.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_weblink20.h
xtt/exp/inc/src/xnav_bitmap_weblink20.h
+8
-0
xtt/exp/inc/src/xnav_bitmap_weblink24.h
xtt/exp/inc/src/xnav_bitmap_weblink24.h
+11
-0
xtt/exp/inc/src/xnav_bitmap_weblink8.h
xtt/exp/inc/src/xnav_bitmap_weblink8.h
+4
-0
xtt/lib/cow/src/cow_xhelpnav.cpp
xtt/lib/cow/src/cow_xhelpnav.cpp
+49
-3
xtt/lib/cow/src/cow_xhelpnav.h
xtt/lib/cow/src/cow_xhelpnav.h
+1
-0
No files found.
xtt/exp/inc/src/xnav_bitmap_weblink10.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink10_width 12
#define xnav_bitmap_weblink10_height 10
static
unsigned
char
xnav_bitmap_weblink10_bits
[]
=
{
0x80
,
0x0f
,
0x82
,
0x0f
,
0x86
,
0x08
,
0x8e
,
0x08
,
0x9e
,
0x08
,
0xbe
,
0x08
,
0x9e
,
0x08
,
0x8e
,
0x08
,
0x86
,
0x08
,
0x82
,
0x0f
};
xtt/exp/inc/src/xnav_bitmap_weblink12.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink12_width 14
#define xnav_bitmap_weblink12_height 12
static
unsigned
char
xnav_bitmap_weblink12_bits
[]
=
{
0x80
,
0x3f
,
0x80
,
0x3f
,
0x82
,
0x20
,
0x86
,
0x20
,
0x8e
,
0x20
,
0x9e
,
0x20
,
0xbe
,
0x20
,
0x9e
,
0x20
,
0x8e
,
0x20
,
0x86
,
0x20
,
0x82
,
0x20
,
0x80
,
0x3f
};
xtt/exp/inc/src/xnav_bitmap_weblink14.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink14_width 16
#define xnav_bitmap_weblink14_height 14
static
unsigned
char
xnav_bitmap_weblink14_bits
[]
=
{
0x00
,
0xff
,
0x00
,
0xff
,
0x02
,
0x81
,
0x06
,
0x81
,
0x0e
,
0x81
,
0x1e
,
0x81
,
0x3e
,
0x81
,
0x7e
,
0x81
,
0x3e
,
0x81
,
0x1e
,
0x81
,
0x0e
,
0x81
,
0x06
,
0x81
,
0x02
,
0x81
,
0x00
,
0xff
};
xtt/exp/inc/src/xnav_bitmap_weblink16.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink16_width 19
#define xnav_bitmap_weblink16_height 16
static
unsigned
char
xnav_bitmap_weblink16_bits
[]
=
{
0x00
,
0xfe
,
0x07
,
0x00
,
0xfe
,
0x07
,
0x02
,
0x02
,
0x04
,
0x06
,
0x02
,
0x04
,
0x0e
,
0x02
,
0x04
,
0x1e
,
0x02
,
0x04
,
0x3e
,
0x02
,
0x04
,
0x7e
,
0x02
,
0x04
,
0xfe
,
0x02
,
0x04
,
0x7e
,
0x02
,
0x04
,
0x3e
,
0x02
,
0x04
,
0x1e
,
0x02
,
0x04
,
0x0e
,
0x02
,
0x04
,
0x06
,
0x02
,
0x04
,
0x02
,
0x02
,
0x04
,
0x00
,
0xfe
,
0x07
};
xtt/exp/inc/src/xnav_bitmap_weblink18.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink18_width 22
#define xnav_bitmap_weblink18_height 18
static
unsigned
char
xnav_bitmap_weblink18_bits
[]
=
{
0x00
,
0xfc
,
0x3f
,
0x00
,
0xfc
,
0x3f
,
0x02
,
0x04
,
0x20
,
0x06
,
0x04
,
0x20
,
0x0e
,
0x04
,
0x20
,
0x1e
,
0x04
,
0x20
,
0x3e
,
0x04
,
0x20
,
0x7e
,
0x04
,
0x20
,
0xfe
,
0x04
,
0x20
,
0xfe
,
0x05
,
0x20
,
0xfe
,
0x04
,
0x20
,
0x7e
,
0x04
,
0x20
,
0x3e
,
0x04
,
0x20
,
0x1e
,
0x04
,
0x20
,
0x0e
,
0x04
,
0x20
,
0x06
,
0x04
,
0x20
,
0x02
,
0x04
,
0x20
,
0x00
,
0xfc
,
0x3f
};
xtt/exp/inc/src/xnav_bitmap_weblink20.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink20_width 24
#define xnav_bitmap_weblink20_height 20
static
unsigned
char
xnav_bitmap_weblink20_bits
[]
=
{
0x00
,
0xf8
,
0xff
,
0x00
,
0xf8
,
0xff
,
0x02
,
0xf8
,
0xff
,
0x06
,
0x08
,
0x80
,
0x0e
,
0x08
,
0x80
,
0x1e
,
0x08
,
0x80
,
0x3e
,
0x08
,
0x80
,
0x7e
,
0x08
,
0x80
,
0xfe
,
0x08
,
0x80
,
0xfe
,
0x09
,
0x80
,
0xfe
,
0x0b
,
0x80
,
0xfe
,
0x09
,
0x80
,
0xfe
,
0x08
,
0x80
,
0x7e
,
0x08
,
0x80
,
0x3e
,
0x08
,
0x80
,
0x1e
,
0x08
,
0x80
,
0x0e
,
0x08
,
0x80
,
0x06
,
0x08
,
0x80
,
0x02
,
0x08
,
0x80
,
0x00
,
0xf8
,
0xff
};
xtt/exp/inc/src/xnav_bitmap_weblink24.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink24_width 30
#define xnav_bitmap_weblink24_height 24
static
unsigned
char
xnav_bitmap_weblink24_bits
[]
=
{
0x00
,
0xe0
,
0xff
,
0x3f
,
0x00
,
0xe0
,
0xff
,
0x3f
,
0x02
,
0xe0
,
0xff
,
0x3f
,
0x06
,
0x20
,
0x00
,
0x20
,
0x0e
,
0x20
,
0x00
,
0x20
,
0x1e
,
0x20
,
0x00
,
0x20
,
0x3e
,
0x20
,
0x00
,
0x20
,
0x7e
,
0x20
,
0x00
,
0x20
,
0xfe
,
0x20
,
0x00
,
0x20
,
0xfe
,
0x21
,
0x00
,
0x20
,
0xfe
,
0x23
,
0x00
,
0x20
,
0xfe
,
0x27
,
0x00
,
0x20
,
0xfe
,
0x2f
,
0x00
,
0x20
,
0xfe
,
0x27
,
0x00
,
0x20
,
0xfe
,
0x23
,
0x00
,
0x20
,
0xfe
,
0x21
,
0x00
,
0x20
,
0xfe
,
0x20
,
0x00
,
0x20
,
0x7e
,
0x20
,
0x00
,
0x20
,
0x3e
,
0x20
,
0x00
,
0x20
,
0x1e
,
0x20
,
0x00
,
0x20
,
0x0e
,
0x20
,
0x00
,
0x20
,
0x06
,
0x20
,
0x00
,
0x20
,
0x02
,
0x20
,
0x00
,
0x20
,
0x00
,
0xe0
,
0xff
,
0x3f
};
xtt/exp/inc/src/xnav_bitmap_weblink8.h
0 → 100644
View file @
ab87999a
#define xnav_bitmap_weblink8_width 8
#define xnav_bitmap_weblink8_height 9
static
unsigned
char
xnav_bitmap_weblink8_bits
[]
=
{
0xe0
,
0xe2
,
0xa6
,
0xae
,
0xbe
,
0xae
,
0xa6
,
0xa2
,
0xe0
};
xtt/lib/cow/src/cow_xhelpnav.cpp
View file @
ab87999a
...
...
@@ -50,6 +50,14 @@
#include "xnav_bitmap_closehelp18.h"
#include "xnav_bitmap_closehelp20.h"
#include "xnav_bitmap_closehelp24.h"
#include "xnav_bitmap_weblink8.h"
#include "xnav_bitmap_weblink10.h"
#include "xnav_bitmap_weblink12.h"
#include "xnav_bitmap_weblink14.h"
#include "xnav_bitmap_weblink16.h"
#include "xnav_bitmap_weblink18.h"
#include "xnav_bitmap_weblink20.h"
#include "xnav_bitmap_weblink24.h"
#define max(Dragon,Eagle) ((Dragon) > (Eagle) ? (Dragon) : (Eagle))
#define min(Dragon,Eagle) ((Dragon) < (Eagle) ? (Dragon) : (Eagle))
...
...
@@ -69,6 +77,7 @@ void CoXHelpNavBrow::free_pixmaps()
{
brow_FreeAnnotPixmap
(
ctx
,
pixmap_morehelp
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_closehelp
);
brow_FreeAnnotPixmap
(
ctx
,
pixmap_weblink
);
}
//
...
...
@@ -140,6 +149,37 @@ void CoXHelpNavBrow::allocate_pixmaps()
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_closehelp24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_closehelp
);
i
=
0
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink8_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink8_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink8_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink10_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink10_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink10_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink12_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink12_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink12_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink14_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink14_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink14_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink16_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink16_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink16_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink18_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink18_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink18_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink20_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink20_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink20_bits
;
pixmap_data
[
i
].
width
=
xnav_bitmap_weblink24_width
;
pixmap_data
[
i
].
height
=
xnav_bitmap_weblink24_height
;
pixmap_data
[
i
++
].
bits
=
(
char
*
)
xnav_bitmap_weblink24_bits
;
brow_AllocAnnotPixmap
(
ctx
,
&
pixmap_data
,
&
pixmap_weblink
);
}
//
...
...
@@ -763,7 +803,9 @@ HItemHelpImage::HItemHelpImage( CoXHelpNavBrow *brow, const char *item_name, bro
brow_CreateNode
(
brow
->
ctx
,
"image"
,
nc
,
dest
,
dest_code
,
(
void
*
)
this
,
1
,
&
node
);
if
(
link
[
0
]
!=
0
)
if
(
strncmp
(
link
,
"$web"
,
4
)
==
0
)
brow_SetAnnotPixmap
(
node
,
0
,
brow
->
pixmap_weblink
);
else
if
(
link
[
0
]
!=
0
)
brow_SetAnnotPixmap
(
node
,
0
,
brow
->
pixmap_morehelp
);
}
...
...
@@ -870,7 +912,9 @@ HItemHelp::HItemHelp( CoXHelpNavBrow *brow, const char *item_name, const char *t
brow_SetAnnotation
(
node
,
1
,
text2
,
strlen
(
text2
));
if
(
text3
[
0
]
!=
0
)
brow_SetAnnotation
(
node
,
2
,
text3
,
strlen
(
text3
));
if
(
link
[
0
]
!=
0
||
index
)
if
(
strncmp
(
link
,
"$web"
,
4
)
==
0
)
brow_SetAnnotPixmap
(
node
,
0
,
brow
->
pixmap_weblink
);
else
if
(
link
[
0
]
!=
0
||
index
)
brow_SetAnnotPixmap
(
node
,
0
,
brow
->
pixmap_morehelp
);
}
...
...
@@ -943,7 +987,9 @@ HItemHelpBold::HItemHelpBold( CoXHelpNavBrow *brow, const char *item_name, const
brow_SetAnnotation
(
node
,
1
,
text2
,
strlen
(
text2
));
if
(
text3
[
0
]
!=
0
)
brow_SetAnnotation
(
node
,
2
,
text3
,
strlen
(
text3
));
if
(
link
[
0
]
!=
0
||
index
)
if
(
strncmp
(
link
,
"$web"
,
4
)
==
0
)
brow_SetAnnotPixmap
(
node
,
0
,
brow
->
pixmap_weblink
);
else
if
(
link
[
0
]
!=
0
||
index
)
brow_SetAnnotPixmap
(
node
,
0
,
brow
->
pixmap_morehelp
);
}
...
...
xtt/lib/cow/src/cow_xhelpnav.h
View file @
ab87999a
...
...
@@ -86,6 +86,7 @@ class CoXHelpNavBrow {
brow_tNodeClass
nc_line
;
flow_sAnnotPixmap
*
pixmap_morehelp
;
flow_sAnnotPixmap
*
pixmap_closehelp
;
flow_sAnnotPixmap
*
pixmap_weblink
;
navh_eHelpFile
current_filetype
;
char
current_key
[
200
];
pwr_tFileName
current_filename
;
...
...
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