Commit 4778b81c authored by Claes Sjofors's avatar Claes Sjofors

Wb configure pixmap only displayed in edit mode

parent 937ae7eb
......@@ -464,7 +464,7 @@ WItemObject::WItemObject( WNav *wnav, pwr_tObjid item_objid,
}
}
}
if ( item_check_configure_method( wnav->ldhses, objid))
if ( wnav->editmode && item_check_configure_method( wnav->ldhses, objid))
brow_SetAnnotPixmap( node, 1, wnav->brow->pixmap_confcomp);
}
......@@ -492,7 +492,7 @@ int WItemBaseObject::open_children( WNav *wnav, double x, double y)
brow_RemoveAnnotPixmap( node, 1);
if ( brow_IsOpen( node) & wnav_mOpen_Children)
brow_SetAnnotPixmap( node, 0, wnav->brow->pixmap_map);
if ( item_check_configure_method( wnav->ldhses, objid))
if ( wnav->editmode && item_check_configure_method( wnav->ldhses, objid))
brow_SetAnnotPixmap( node, 1, wnav->brow->pixmap_confcomp);
brow_ResetOpen( node, wnav_mOpen_All);
brow_ResetNodraw( wnav->brow->ctx);
......@@ -542,7 +542,7 @@ int WItemBaseObject::open_attributes( WNav *wnav, double x, double y)
brow_CloseNode( wnav->brow->ctx, node);
brow_ResetOpen( node, wnav_mOpen_Attributes);
brow_RemoveAnnotPixmap( node, 1);
if ( item_check_configure_method( wnav->ldhses, objid))
if ( wnav->editmode && item_check_configure_method( wnav->ldhses, objid))
brow_SetAnnotPixmap( node, 1, wnav->brow->pixmap_confcomp);
brow_ResetNodraw( wnav->brow->ctx);
brow_Redraw( wnav->brow->ctx, node_y);
......@@ -829,12 +829,12 @@ int WItemBaseObject::open_crossref( WNav *wnav, double x, double y)
brow_CloseNode( wnav->brow->ctx, node);
if ( brow_IsOpen( node) & wnav_mOpen_Attributes) {
brow_RemoveAnnotPixmap( node, 1);
if ( item_check_configure_method( wnav->ldhses, objid))
if ( wnav->editmode && item_check_configure_method( wnav->ldhses, objid))
brow_SetAnnotPixmap( node, 1, wnav->brow->pixmap_confcomp);
}
if ( brow_IsOpen( node) & wnav_mOpen_Children) {
brow_SetAnnotPixmap( node, 0, wnav->brow->pixmap_map);
if ( item_check_configure_method( wnav->ldhses, objid))
if ( wnav->editmode && item_check_configure_method( wnav->ldhses, objid))
brow_SetAnnotPixmap( node, 1, wnav->brow->pixmap_confcomp);
}
brow_ResetOpen( node, wnav_mOpen_All);
......@@ -904,7 +904,7 @@ int WItemBaseObject::close( WNav *wnav, double x, double y)
brow_RemoveAnnotPixmap( node, 1);
if ( brow_IsOpen( node) & wnav_mOpen_Children)
brow_SetAnnotPixmap( node, 0, wnav->brow->pixmap_map);
if ( item_check_configure_method( wnav->ldhses, objid))
if ( wnav->editmode && item_check_configure_method( wnav->ldhses, objid))
brow_SetAnnotPixmap( node, 1, wnav->brow->pixmap_confcomp);
brow_ResetOpen( node, wnav_mOpen_All);
brow_ResetNodraw( wnav->brow->ctx);
......
#define xnav_bitmap_confcomp10_width 12
#define xnav_bitmap_confcomp10_height 10
static unsigned char xnav_bitmap_confcomp10_bits[] = {
0x20, 0x00, 0x74, 0x01, 0x88, 0x00, 0x04, 0x01, 0x06, 0x03, 0x04, 0x01,
0x88, 0x00, 0x74, 0x01, 0x20, 0x00, 0x00, 0x00};
0x60, 0x00, 0x64, 0x02, 0x98, 0x01, 0x08, 0x01, 0x06, 0x06, 0x06, 0x06,
0x08, 0x01, 0x98, 0x01, 0x64, 0x02, 0x60, 0x00};
#define xnav_bitmap_confcomp12_width 12
#define xnav_bitmap_confcomp12_height 12
static unsigned char xnav_bitmap_confcomp12_bits[] = {
0x00, 0x00, 0x20, 0x00, 0x74, 0x01, 0x88, 0x00, 0x04, 0x01, 0x06, 0x03,
0x04, 0x01, 0x88, 0x00, 0x74, 0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00};
0x00, 0x00, 0x60, 0x00, 0x64, 0x01, 0x8e, 0x03, 0x04, 0x01, 0x00, 0x00,
0x03, 0x06, 0x03, 0x06, 0x04, 0x01, 0x8e, 0x03, 0x34, 0x01, 0x30, 0x00};
#define xnav_bitmap_confcomp14_width 16
#define xnav_bitmap_confcomp14_height 14
static unsigned char xnav_bitmap_confcomp14_bits[] = {
0x00, 0x00, 0xa0, 0x02, 0xe8, 0x01, 0x10, 0x0a, 0x0a, 0x04, 0x04, 0x18,
0x06, 0x08, 0x04, 0x18, 0x06, 0x08, 0x08, 0x14, 0x14, 0x02, 0xe0, 0x05,
0x50, 0x01, 0x00, 0x00};
0xc0, 0x00, 0xc0, 0x00, 0xc8, 0x04, 0x1c, 0x0e, 0x08, 0x04, 0x00, 0x00,
0x07, 0x38, 0x07, 0x38, 0x00, 0x00, 0x08, 0x04, 0x1c, 0x0e, 0xc8, 0x04,
0xc0, 0x00, 0xc0, 0x00};
#define xnav_bitmap_confcomp16_width 19
#define xnav_bitmap_confcomp16_height 16
static unsigned char xnav_bitmap_confcomp16_bits[] = {
0x00, 0x09, 0x00, 0xa0, 0x2f, 0x00, 0x40, 0x10, 0x00, 0x28, 0xa0, 0x00,
0x10, 0x40, 0x00, 0x08, 0x80, 0x00, 0x0c, 0x80, 0x01, 0x08, 0x80, 0x00,
0x0c, 0x80, 0x01, 0x08, 0x80, 0x00, 0x10, 0x40, 0x00, 0x28, 0xa0, 0x00,
0x40, 0x10, 0x00, 0xa0, 0x2f, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00};
0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x80, 0x03, 0x00, 0x98, 0x33, 0x00,
0x3c, 0x78, 0x00, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, 0x0e, 0xe0, 0x00,
0x0e, 0xe0, 0x00, 0x0e, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x18, 0x30, 0x00,
0x3c, 0x78, 0x00, 0x98, 0x33, 0x00, 0x80, 0x03, 0x00, 0x80, 0x03, 0x00};
#define xnav_bitmap_confcomp18_width 22
#define xnav_bitmap_confcomp18_height 18
static unsigned char xnav_bitmap_confcomp18_bits[] = {
0x00, 0x04, 0x00, 0x40, 0x4e, 0x00, 0x80, 0x31, 0x00, 0x60, 0xc0, 0x00,
0x28, 0x80, 0x02, 0x10, 0x00, 0x01, 0x10, 0x00, 0x01, 0x08, 0x00, 0x02,
0x0c, 0x00, 0x06, 0x08, 0x00, 0x02, 0x10, 0x00, 0x01, 0x10, 0x00, 0x01,
0x28, 0x80, 0x02, 0x60, 0xc0, 0x00, 0x80, 0x31, 0x00, 0x40, 0x4e, 0x00,
0x00, 0x04, 0x00, 0x00, 0x00, 0x00};
0x00, 0x0e, 0x00, 0x00, 0x0e, 0x00, 0x60, 0xce, 0x00, 0xf0, 0xe0, 0x01,
0x70, 0xc0, 0x01, 0x20, 0x80, 0x00, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x07,
0x1c, 0x00, 0x07, 0x1c, 0x00, 0x07, 0x00, 0x00, 0x00, 0x20, 0x80, 0x00,
0x70, 0xc0, 0x01, 0xf0, 0xe0, 0x01, 0x60, 0xce, 0x00, 0x00, 0x0e, 0x00,
0x00, 0x0e, 0x00, 0x00, 0x00, 0x00};
#define xnav_bitmap_confcomp20_width 24
#define xnav_bitmap_confcomp20_height 20
static unsigned char xnav_bitmap_confcomp20_bits[] = {
0x00, 0x12, 0x00, 0x00, 0x12, 0x00, 0x20, 0x1c, 0x02, 0x40, 0x63, 0x01,
0x88, 0x80, 0x08, 0x50, 0x00, 0x05, 0x20, 0x00, 0x02, 0x20, 0x00, 0x02,
0x1c, 0x00, 0x1c, 0x10, 0x00, 0x04, 0x10, 0x00, 0x04, 0x2c, 0x00, 0x1a,
0x20, 0x00, 0x02, 0x50, 0x00, 0x01, 0x88, 0x80, 0x02, 0x40, 0x63, 0x04,
0x20, 0x9c, 0x00, 0x00, 0x12, 0x01, 0x00, 0x12, 0x00, 0x00, 0x00, 0x00};
0x00, 0x1e, 0x00, 0x00, 0x1e, 0x00, 0x20, 0x1e, 0x02, 0x70, 0x00, 0x07,
0xf8, 0x80, 0x0f, 0x70, 0x00, 0x07, 0x20, 0x00, 0x02, 0x00, 0x00, 0x00,
0x1c, 0x00, 0x1c, 0x1c, 0x00, 0x1c, 0x1c, 0x00, 0x1c, 0x1c, 0x00, 0x1c,
0x20, 0x00, 0x00, 0x70, 0x00, 0x01, 0xf8, 0x80, 0x03, 0x70, 0xc0, 0x07,
0x20, 0x9e, 0x03, 0x00, 0x1e, 0x01, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x00};
#define xnav_bitmap_confcomp24_width 28
#define xnav_bitmap_confcomp24_height 24
static unsigned char xnav_bitmap_confcomp24_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x24, 0x01, 0x00, 0x80, 0x24, 0x09, 0x00,
0x00, 0xf9, 0x04, 0x00, 0x20, 0x06, 0x23, 0x00, 0xc0, 0x01, 0x1c, 0x00,
0x48, 0x00, 0x90, 0x00, 0x50, 0x00, 0x50, 0x00, 0x20, 0x00, 0x20, 0x00,
0x2c, 0x00, 0xa0, 0x01, 0x10, 0x00, 0x40, 0x00, 0x10, 0x00, 0x40, 0x00,
0x1c, 0x00, 0xc0, 0x01, 0x10, 0x00, 0x40, 0x00, 0x10, 0x00, 0x40, 0x00,
0x2c, 0x00, 0xa0, 0x01, 0x20, 0x00, 0x20, 0x00, 0x50, 0x00, 0x50, 0x00,
0x48, 0x00, 0x90, 0x00, 0xc0, 0x01, 0x1c, 0x00, 0x20, 0x06, 0x23, 0x00,
0x00, 0xf9, 0x04, 0x00, 0x80, 0x24, 0x09, 0x00, 0x00, 0x24, 0x01, 0x00};
0x00, 0x78, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x40, 0x78, 0x10, 0x00,
0xe0, 0x78, 0x38, 0x00, 0xf0, 0x01, 0x7c, 0x00, 0xe0, 0x00, 0x38, 0x00,
0x40, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x3c, 0x00, 0x00, 0x00, 0x3c, 0x00, 0xe0, 0x01, 0x3c, 0x00, 0xe0, 0x01,
0x3c, 0x00, 0xe0, 0x01, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x10, 0x00, 0xe0, 0x00, 0x38, 0x00,
0xf0, 0x01, 0x7c, 0x00, 0xe0, 0xf0, 0x38, 0x00, 0x40, 0xf0, 0x10, 0x00,
0x00, 0xf0, 0x00, 0x00, 0x00, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
#define xnav_bitmap_confcomp8_width 9
#define xnav_bitmap_confcomp8_height 8
static unsigned char xnav_bitmap_confcomp8_bits[] = {
0x10, 0x00, 0x5a, 0x00, 0x24, 0x00, 0x43, 0x00, 0xc2, 0x00, 0x24, 0x00,
0x5a, 0x00, 0x10, 0x00};
0x18, 0x00, 0x18, 0x00, 0x24, 0x00, 0xc3, 0x00, 0xc3, 0x00, 0x24, 0x00,
0x18, 0x00, 0x18, 0x00};
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