Commit 2a519ed0 authored by Claes Sjofors's avatar Claes Sjofors

Xtt scaleable bitmaps for crossref read and write added

parent e7f4427a
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
#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};
......@@ -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++)
{
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;
}
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].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++)
{
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;
}
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].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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment